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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61036c
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x67f864]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x67f864]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x78], 0
je 0x4f7490
call fcn.00573afe
test dword [eax + 0x34], 0x200
je 0x4f7483
mov ecx, esi
call fcn.00573afe
mov eax, dword [eax + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4f7463
sub eax, edx
sar eax, 1
mov ecx, esi
mov edi, eax
call fcn.00573afe
movzx eax, word [eax + 0x38]
cmp eax, edi
ja 0x4f7490
mov ecx, esi
call fcn.00573afe
cmp dword [eax + 0x3c], 0
je 0x4f749c
mov ecx, esi
call fcn.00573b28
jmp 0x4f784c
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.005742db
lea edx, [esp + 0x24]
push edx
mov ecx, esi
mov dword [esp + 0x28c], 0
call fcn.00573afe
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
or ebx, 0xffffffff
cmp eax, ebx
je 0x4f74ed
mov dword [esp + 0x288], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jmp 0x4f783e
mov ecx, dword [esp + 0x14]
push 0x2e
push ecx
call fcn.005d38b8
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x4f7508
mov edi, ebx
jmp 0x4f750e
sub eax, ecx
sar eax, 1
mov edi, eax
push 0x5c
push ecx
call fcn.005d38b8
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x4f7525
mov eax, ebx
jmp 0x4f7529
sub eax, ecx
sar eax, 1
cmp edi, eax
jle 0x4f7557
lea eax, [ecx - 0x10]
mov dword [esp + 0x288], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x4f754d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4f784c
call fcn.00572ee2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4f7571
push 0x80004005
call fcn.0044a870
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x288], 1
call fcn.00572ee2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4f75a3
push 0x80004005
call fcn.0044a870
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0
mov ecx, esi
mov byte [esp + 0x28c], 2
call fcn.00573afe
mov ecx, dword [eax + 0x18]
lea edx, [ecx + ecx - 1]
push edx
mov ecx, esi
call fcn.00573afe
mov eax, dword [eax + 0xc]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.0057860e
mov edx, dword [esp + 0x20]
push 0x3b
xor ebx, ebx
push ebx
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0057860e
test eax, eax
je 0x4f76d2
lea ecx, [ecx]
mov ecx, dword [esp + 0x18]
add ecx, 2
push 0x2a
push ecx
call fcn.005d38b8
add esp, 8
test eax, eax
jne 0x4f76b5
mov edx, dword [esp + 0x18]
add edx, 2
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004f7c00
add esp, 0xc
lea edx, [esp + 0x24]
mov byte [esp + 0x288], 3
mov eax, dword [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4f768d
mov ecx, esi
call fcn.00573afe
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx - 0xc]
mov ecx, esi
call fcn.00573afe
cmp edi, dword [eax + 0x20]
jl 0x4f7788
mov byte [esp + 0x288], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4f76a9
mov byte [esp + 0x288], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f76b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push 0x3b
add ebx, 1
push ebx
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0057860e
test eax, eax
jne 0x4f7600
cmp dword [esi + 0x30c], 0
je 0x4f77cf
mov ecx, esi
call fcn.00573afe
or dword [eax + 0x34], 0x1000
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push 1
add eax, 0x34
push 0xd
push 0x100
push ecx
call edi
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x8500
push edx
call edi
mov byte [esp + 0x288], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f773c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x288], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f7764
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x288], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4f7541
mov edi, dword [esp + 0x1c]
mov ecx, esi
call fcn.00573afe
mov eax, dword [eax + 0x1c]
movzx ecx, word [edi]
mov word [eax], cx
add edi, 2
add eax, 2
test cx, cx
jne 0x4f7796
mov byte [esp + 0x288], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f77cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x288], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f77f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x288], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f781f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x288], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f784a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.005ce60a
mov esp, ebp
pop ebp
ret