Function at 0x1004ed60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1009887c
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
mov eax, dword [0x100dbd3c]
xor eax, esp
mov dword [esp + 0x1f0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100dbd3c]
xor eax, esp
push eax
lea eax, [esp + 0x208]
mov dword fs:[0], eax
mov edx, edx
mov ebx, 1
mov dword [0x100c8294], ebx
test cl, cl
mov edi, dword [0x100f2fd0]
sub edi, dword [0x100f2fcc]
sar edi, 2
mov dword [esp + 0xe8], edi
test eax, 0x1f63
xor esi, esi
mov dword [esp + 0x48], esi
test eax, 0x6b4e
mov eax, dword [0x100f2fd0]
sub eax, dword [0x100f2fcc]
sar eax, 2
test bl, bl
mov ch, ch
xor ecx, ecx
cmp eax, esi
jle 0x1004ee07
mov edx, dword [0x100f2fcc]
mov edi, edi
cmp dword [edx + ecx*4], 0x717be386
je 0x1004ee01
add ecx, ebx
cmp ecx, eax
jl 0x1004edf0
jmp 0x1004ee07
mov dword [esp + 0x48], ebx
test ah, ah
mov dword [esp + 0x4c], esi
mov bl, bl
mov eax, dword [0x100f2fd0]
sub eax, dword [0x100f2fcc]
sar eax, 2
test bl, bl
mov ch, ch
xor ecx, ecx
cmp eax, esi
jle 0x1004ee47
mov edx, dword [0x100f2fcc]
jmp 0x1004ee30
cmp dword [edx + ecx*4], 0x317aa725
je 0x1004ee41
add ecx, ebx
cmp ecx, eax
jl 0x1004ee30
jmp 0x1004ee47
mov dword [esp + 0x4c], ebx
test cl, cl
mov dword [esp + 0x44], esi
mov edi, edi
mov eax, dword [0x100f2fd0]
sub eax, dword [0x100f2fcc]
sar eax, 2
test bl, bl
mov ch, ch
xor ecx, ecx
cmp eax, esi
jle 0x1004ee87
mov edx, dword [0x100f2fcc]
jmp 0x1004ee70
cmp dword [edx + ecx*4], 0x14dbb7d6
je 0x1004ee81
add ecx, ebx
cmp ecx, eax
jl 0x1004ee70
jmp 0x1004ee87
mov dword [esp + 0x44], ebx
push ecx
pop ecx
test dh, dh
xor ebx, ebx
cmp edi, esi
mov dword [esp + 0x40], ebx
jle 0x1004f927
test dl, dl
mov al, al
mov eax, dword [0x100c92b4]
mov dword [esp + 0x8c], eax
push edx
pop edx
xor ebp, ebp
cmp eax, esi
jle 0x1004f082
mov dword [esp + 0x14], 0x100c92c0
jmp 0x1004eec0
test bl, bl
test ah, ah
mov ecx, dword [esp + 0x14]
mov edi, dword [0x100f2fcc]
xor edx, edx
add ecx, 0x14
mov eax, dword [ecx]
cmp eax, esi
je 0x1004f06d
cmp dword [edi + ebx*4], eax
je 0x1004eef2
add edx, 1
add ecx, 4
cmp edx, 4
jl 0x1004eed3
jmp 0x1004f06d
cmp dword [esp + 0x218], esi
je 0x1004efa3
mov eax, dword [esp + 0x14]
cmp dword [eax], 1
jne 0x1004efa3
mov ecx, eax
cmp dword [ecx + 4], 1
jne 0x1004efa3
call fcn.10063ea0
test esi, esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
mov dword [esp + 0x210], 1
mov esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100643d0
test dl, dl
push ebx
pop ebx
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
push edx
mov eax, ebp
mov edx, 0x100c92b8
call fcn.1004cea0
add esp, 4
mov esi, esi
call fcn.100649b0
mov esi, esi
lea eax, [esp + 0xc0]
push eax
call fcn.1004d500
add esp, 4
mov ah, ah
mov dword [esp + 0x210], 0xffffffff
lea ecx, [esp + 0xc0]
call fcn.1003c460
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
cmp dword [ecx], esi
jne 0x1004f06d
call fcn.10063ea0
mov cl, cl
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x210], 3
mov dh, dh
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100643d0
test dl, dl
push edx
pop edx
mov dword [esp + 0x3c], esi
test edx, edx
mov dword [esp + 0x38], esi
mov edi, edi
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push edx
push eax
push ecx
lea edi, [esp + 0x44]
lea ebx, [esp + 0x48]
mov eax, ebp
mov edx, 0x100c92b8
call fcn.1004cd60
add esp, 0xc
mov edi, edi
call fcn.100649b0
mov ah, ah
nop
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
sub edx, eax
xor edi, edi
sar edx, 2
je 0x1004f053
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [eax + edi*4]
test eax, 0x1a25
push eax
call ebx
push ebx
pop ebx
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
sub ecx, eax
add edi, 1
sar ecx, 2
cmp edi, ecx
jb 0x1004f032
mov edi, edi
mov dword [esp + 0x210], 0xffffffff
lea ecx, [esp + 0x74]
call fcn.1003c460
mov ebx, dword [esp + 0x40]
add dword [esp + 0x14], 0x44
add ebp, 1
cmp ebp, dword [esp + 0x8c]
jl 0x1004eec0
mov eax, dword [0x100c907c]
mov dword [esp + 0x8c], eax
mov ebx, ebx
xor ebp, ebp
cmp eax, esi
jle 0x1004f2a3
mov dword [esp + 0x14], 0x100c9088
mov cl, cl
test ebx, ebx
mov ecx, dword [esp + 0x14]
mov edi, dword [0x100f2fcc]
xor edx, edx
add ecx, 0x14
mov eax, dword [ecx]
cmp eax, esi
je 0x1004f28e
cmp dword [edi + ebx*4], eax
je 0x1004f0d4
add edx, 1
add ecx, 4
cmp edx, 4
jl 0x1004f0b5
jmp 0x1004f28e
cmp dword [esp + 0x218], esi
je 0x1004f1c4
mov eax, dword [esp + 0x14]
cmp dword [eax], 1
jne 0x1004f1c4
cmp dword [eax + 4], 1
jne 0x1004f1c4
call fcn.10063ea0
mov ebx, ebx
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0x210], 5
mov eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100643d0
test dl, dl
test eax, 0x7a22
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
push edx
mov eax, ebp
mov edx, 0x100c9080
call fcn.1004cea0
add esp, 4
test eax, 0x594d
call fcn.100649b0
mov ebp, ebp
nop
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
sub ecx, eax
xor edi, edi
sar ecx, 2
je 0x1004f1a7
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ebx, [ebx]
mov eax, dword [eax + edi*4]
test eax, 0x1a25
push eax
call ebx
push ebx
pop ebx
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
sub edx, eax
add edi, 1
sar edx, 2
cmp edi, edx
jb 0x1004f180
mov esi, esi
mov dword [esp + 0x210], 0xffffffff
lea ecx, [esp + 0x9c]
call fcn.1003c460
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
cmp dword [eax], esi
jne 0x1004f28e
call fcn.10063ea0
test bl, bl
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x210], 7
mov dh, dh
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100643d0
test dl, dl
test ch, ch
mov dword [esp + 0x30], esi
mov bl, bl
mov dword [esp + 0x20], esi
mov eax, eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push ecx
push edx
push eax
lea edi, [esp + 0x2c]
lea ebx, [esp + 0x3c]
mov eax, ebp
mov edx, 0x100c9080
call fcn.1004cd60
add esp, 0xc
mov dl, dl
call fcn.100649b0
test bh, bh
nop
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
sub ecx, eax
xor edi, edi
sar ecx, 2
je 0x1004f274
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [eax + edi*4]
test eax, 0x1a25
push eax
call ebx
push ebx
pop ebx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
sub edx, eax
add edi, 1
sar edx, 2
cmp edi, edx
jb 0x1004f253
mov ecx, ecx
mov dword [esp + 0x210], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.1003c460
mov ebx, dword [esp + 0x40]
add dword [esp + 0x14], 0x44
add ebp, 1
cmp ebp, dword [esp + 0x8c]
jl 0x1004f0a2
mov eax, dword [0x100c9304]
mov dword [esp + 0x8c], eax
mov ebp, ebp
xor ebp, ebp
cmp eax, esi
jle 0x1004f4d0
mov dword [esp + 0x14], 0x100c9310
test esi, esi
mov bl, bl
mov ecx, dword [esp + 0x14]
mov edi, dword [0x100f2fcc]
xor edx, edx
add ecx, 0x14
mov eax, dword [ecx]
cmp eax, esi
je 0x1004f4bb
cmp dword [edi + ebx*4], eax
je 0x1004f2f5
add edx, 1
add ecx, 4
cmp edx, 4
jl 0x1004f2d6
jmp 0x1004f4bb
cmp dword [esp + 0x218], esi
je 0x1004f3d9
mov eax, dword [esp + 0x14]
cmp dword [eax], 1
jne 0x1004f3d9
cmp dword [eax + 4], 1
jne 0x1004f3d9
call fcn.10063ea0
test ah, ah
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x210], 9
test ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100643d0
test dl, dl
mov ebp, ebp
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
push eax
mov eax, ebp
mov edx, 0x100c9308
call fcn.1004cea0
add esp, 4
test al, al
call fcn.100649b0
push eax
pop eax
nop
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
sub ecx, eax
xor edi, edi
sar ecx, 2
je 0x1004f3bc
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [eax + edi*4]
test eax, 0x1a25
push eax
call ebx
push ebx
pop ebx
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
sub edx, eax
add edi, 1
sar edx, 2
cmp edi, edx
jb 0x1004f395
mov ebx, ebx
mov dword [esp + 0x210], 0xffffffff
lea ecx, [esp + 0x90]
call fcn.1003c460
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
cmp dword [eax], esi
jne 0x1004f4bb
call fcn.10063ea0
mov esi, esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x210], 0xb
test al, al
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100643d0
test dl, dl
test ah, ah
mov dword [esp + 0x18], esi
test bh, bh
mov dword [esp + 0x28], esi
test ecx, ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push ecx
push edx
push eax
lea edi, [esp + 0x34]
lea ebx, [esp + 0x24]
mov eax, ebp
mov edx, 0x100c9308
call fcn.1004cd60
add esp, 0xc
mov bl, bl
call fcn.100649b0
mov al, al
nop
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
sub ecx, eax
xor edi, edi
sar ecx, 2
je 0x1004f49e
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [eax + edi*4]
test eax, 0x1a25
push eax
call ebx
push ebx
pop ebx
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
sub edx, eax
add edi, 1
sar edx, 2
cmp edi, edx
jb 0x1004f477
mov dl, dl
mov dword [esp + 0x210], 0xffffffff
lea ecx, [esp + 0x80]
call fcn.1003c460
mov ebx, dword [esp + 0x40]
add dword [esp + 0x14], 0x44
add ebp, 1
cmp ebp, dword [esp + 0x8c]
jl 0x1004f2c3
mov eax, dword [0x100c8a08]
mov dword [esp + 0x8c], eax
test eax, 0x58c4
xor ebp, ebp
cmp eax, esi
jle 0x1004f6f3
mov dword [esp + 0x14], 0x100c82a0
test esi, esi
test eax, 0x6dfc
mov ecx, dword [esp + 0x14]
mov edi, dword [0x100f2fcc]
xor edx, edx
add ecx, 0x14
mov eax, dword [ecx]
cmp eax, esi
je 0x1004f6de
cmp dword [edi + ebx*4], eax
je 0x1004f528
add edx, 1
add ecx, 4
cmp edx, 4
jl 0x1004f509
jmp 0x1004f6de
cmp dword [esp + 0x218], esi
je 0x1004f60c
mov eax, dword [esp + 0x14]
cmp dword [eax], 1
jne 0x1004f60c
cmp dword [eax + 4], 1
jne 0x1004f60c
call fcn.10063ea0
push eax
pop eax
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0x210], 0xd
mov ch, ch
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100643d0
test dl, dl
test esi, esi
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
push eax
mov eax, ebp
mov edx, 0x100c8298
call fcn.1004cea0
add esp, 4
test ebx, ebx
call fcn.100649b0
test esi, esi
nop
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
sub ecx, eax
xor edi, edi
sar ecx, 2
je 0x1004f5ef
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [eax + edi*4]
test eax, 0x1a25
push eax
call ebx
push ebx
pop ebx
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
sub edx, eax
add edi, 1
sar edx, 2
cmp edi, edx
jb 0x1004f5c8
mov ebp, ebp
mov dword [esp + 0x210], 0xffffffff
lea ecx, [esp + 0xa8]
call fcn.1003c460
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
cmp dword [eax], esi
jne 0x1004f6de
call fcn.10063ea0
test edx, edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x210], 0xf
test eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100643d0
test dl, dl
mov edi, edi
mov dword [esp + 0x24], esi
mov ebp, ebp
mov dword [esp + 0x1c], esi
mov dl, dl
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push ecx
push edx
push eax
lea edi, [esp + 0x28]
lea ebx, [esp + 0x30]
mov eax, ebp
mov edx, 0x100c8298
call fcn.1004cd60
add esp, 0xc
mov al, al
call fcn.100649b0
test ebx, ebx
nop
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
sub ecx, eax
xor edi, edi
sar ecx, 2
je 0x1004f6c1
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1004f6a0
mov eax, dword [eax + edi*4]
test eax, 0x1a25
push eax
call ebx
push ebx
pop ebx
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
sub edx, eax
add edi, 1
sar edx, 2
cmp edi, edx
jb 0x1004f6a0
test eax, 0x54b4
mov dword [esp + 0x210], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.1003c460
mov ebx, dword [esp + 0x40]
add dword [esp + 0x14], 0x44
add ebp, 1
cmp ebp, dword [esp + 0x8c]
jl 0x1004f4f3
mov eax, dword [0x100c9394]
mov dword [esp + 0x8c], eax
test ebx, ebx
xor ebp, ebp
cmp eax, esi
jle 0x1004f913
mov dword [esp + 0x14], 0x100c93a0
mov dl, dl
test bl, bl
mov ecx, dword [esp + 0x14]
mov edi, dword [0x100f2fcc]
xor edx, edx
add ecx, 0x14
mov eax, dword [ecx]
cmp eax, esi
je 0x1004f8fe
cmp dword [edi + ebx*4], eax
je 0x1004f745
add edx, 1
add ecx, 4
cmp edx, 4
jl 0x1004f726
jmp 0x1004f8fe
cmp dword [esp + 0x218], esi
je 0x1004f82c
mov eax, dword [esp + 0x14]
cmp dword [eax], 1
jne 0x1004f82c
cmp dword [eax + 4], 1
jne 0x1004f82c
call fcn.10063ea0
test bh, bh
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0x210], 0x11
mov eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100643d0
test dl, dl
test ecx, ecx
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
push eax
mov eax, ebp
mov edx, 0x100c9398
call fcn.1004cea0
add esp, 4
test edi, edi
call fcn.100649b0
mov ebp, ebp
nop
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
sub ecx, eax
xor edi, edi
sar ecx, 2
je 0x1004f80c
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [eax + edi*4]
test eax, 0x1a25
push eax
call ebx
push ebx
pop ebx
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
sub edx, eax
add edi, 1
sar edx, 2
cmp edi, edx
jb 0x1004f7e5
test eax, 0x2653
mov dword [esp + 0x210], 0xffffffff
lea ecx, [esp + 0xb4]
call fcn.1003c460
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
cmp dword [eax], esi
jne 0x1004f8fe
call fcn.10063ea0
mov edi, edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x210], 0x13
test edx, edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100643d0
test dl, dl
mov ch, ch
mov dword [esp + 0x34], esi
mov ch, ch
mov dword [esp + 0x2c], esi
mov ebp, ebp
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push ecx
push edx
push eax
lea edi, [esp + 0x38]
lea ebx, [esp + 0x40]
mov eax, ebp
mov edx, 0x100c9398
call fcn.1004cd60
add esp, 0xc
test ch, ch
call fcn.100649b0
mov esi, esi
nop
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
sub ecx, eax
xor edi, edi
sar ecx, 2
je 0x1004f8e1
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1004f8c0
mov eax, dword [eax + edi*4]
test eax, 0x1a25
push eax
call ebx
push ebx
pop ebx
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
sub edx, eax
add edi, 1
sar edx, 2
cmp edi, edx
jb 0x1004f8c0
test eax, 0x4dd0
mov dword [esp + 0x210], 0xffffffff
lea ecx, [esp + 0x68]
call fcn.1003c460
mov ebx, dword [esp + 0x40]
add dword [esp + 0x14], 0x44
add ebp, 1
cmp ebp, dword [esp + 0x8c]
jl 0x1004f713
add ebx, 1
cmp ebx, dword [esp + 0xe8]
mov dword [esp + 0x40], ebx
jl 0x1004ee97
push edx
pop edx
mov eax, 1
mov ecx, dword [esp + 0x208]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1f0]
xor ecx, esp
call fcn.10074da4
add esp, 0x200
ret