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

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
lea ebx, [eax - 0x5d]
push edi
lea edi, [eax + 0x24b]
mov eax, dword [esp + 0x38]
mov esi, eax
mov dword [esp + 0x10], edi
xor esi, 0xf65
mov dword [esp + 0x18], esi
lea ecx, [eax + 0xb79]
lea ebp, [eax + 0x6f2]
mov dword [esp + 0x14], ecx
lea edx, [eax + 0x13]
mov dword [esp + 0x1c], ebp
mov eax, ebx
mov dword [esp + 0x38], edx
xor eax, 0x932
cmp ecx, eax
jl 0x4097ad
cmp edx, edi
jg 0x4095ec
mov edi, dword [esp + 0x30]
mov edx, dword [0x6abc5c]
mov ecx, dword [edi + 0x70]
mov eax, dword [edi + 0x6c]
add ecx, 0xfff2cb91
add eax, ecx
add dword [edx + 0x4c], eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffa1d
push eax
lea eax, [ebx + 0x13]
push eax
push edi
lea eax, [ebx + 0x475]
xor ebx, 0x15a8
push eax
lea eax, [ebp - 0x1ef]
push eax
push ebx
call fcn.00409936
mov ecx, dword [0x6abc5c]
add esp, 0x18
mov eax, dword [edi + 0x8c]
mov ebx, dword [esp + 0x24]
add eax, 0x98833
xor dword [ecx + 0x48], eax
mov eax, dword [0x7242d0]
cmp eax, dword [edi + 0x48]
je 0x4095c2
mov eax, dword [0x72429c]
add eax, 0xdb52e63
mov dword [0x724234], eax
mov eax, dword [0x6abc5c]
add ebp, 0xfffffd98
mov eax, dword [eax + 0xc8]
xor eax, dword [0x724284]
add eax, 0x11b0e
xor ebp, 0x99
mov dword [edi + 0x24], eax
jmp 0x4097b1
mov ecx, dword [0x7242a0]
lea eax, [ecx + ebx]
cmp ecx, eax
je 0x4097ad
mov ecx, dword [0x6abc5c]
mov edi, dword [esp + 0x30]
mov eax, dword [ecx + 0x8c]
sub eax, 0x2cef
cmp dword [edi + 0xac], eax
jb 0x409791
mov esi, dword [esp + 0x10]
sub esi, dword [0x7242b4]
mov eax, dword [0x724274]
xor esi, edx
mov edx, dword [ecx + 0x4c]
or eax, 0x3221
mov ecx, dword [edi + 0x50]
xor ecx, dword [edi + 0x44]
xor ecx, dword [esp + 0x38]
sub edx, dword [esp + 0x10]
push eax
push eax
push edi
push ecx
push edx
push esi
call fcn.00409936
mov ebp, eax
add esp, 0x18
mov eax, dword [0x7242d4]
add eax, 0x18f6
and eax, 0x2c76
push eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov eax, dword [edi + 0x44]
xor eax, dword [esp + 0x14]
push eax
mov eax, dword [0x6abc5c]
mov eax, dword [eax + 0x50]
or eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, ebx
sub eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
imul eax, dword [0x724280], 0x2889
mov esi, dword [sym.imp.KERNEL32.dll_GetHandleInformation]
push eax
imul eax, ebp, 0x2889
push eax
call esi
mov eax, dword [edi + 0x90]
add eax, dword [esp + 0x38]
push eax
mov eax, dword [edi + 0x78]
imul eax, ebx
and eax, ebp
push eax
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [esp + 0x38]
add eax, 0xffffd564
push eax
mov eax, dword [0x6abc5c]
mov ecx, dword [eax + 0x8c]
add ecx, dword [eax + 0x18]
add ecx, dword [0x7242e0]
push ecx
call esi
mov ebx, dword [0x6abc5c]
mov eax, dword [ebx + 0x4c]
imul eax, dword [esp + 0x1c]
xor eax, dword [edi + 0x30]
xor dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov edi, dword [edi + 0x84]
sub edi, ebp
mov ebp, dword [esp + 0x14]
imul ecx, dword [eax + 0xa4], 0x2701
mov edx, dword [eax + 0xa8]
mov esi, edx
mov eax, dword [ebx + 0x44]
and esi, 0x2764
sub eax, dword [esp + 0x18]
sub ecx, ebp
or eax, edx
push eax
push ecx
push esi
push ebx
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
add ebx, 0xffffffa3
or ebp, esi
push edi
xor ebp, ebx
push ebp
call fcn.00409dfe
mov edi, dword [esp + 0x48]
add esp, 0x18
mov edx, dword [0x6abc5c]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov ecx, dword [edi + 0xd0]
or ecx, dword [edi + 0x70]
imul ecx, dword [edx + 0x44]
mov dword [edx + 0x44], ecx
mov edx, dword [0x6abc5c]
mov ecx, dword [edx + 0x5c]
sub ecx, esi
add ecx, ebx
imul ecx, dword [edx + 0xa4]
mov dword [edx + 0xa4], ecx
jmp 0x4097b1
mov eax, dword [ecx + 0x48]
add eax, 0x27ff
imul eax, dword [0x7242b0]
imul eax, eax, 0x2889
mov dword [0x7242b0], eax
jmp 0x4097b7
mov edi, dword [esp + 0x30]
mov ecx, dword [0x6abc5c]
mov eax, dword [ecx + 0xb0]
cmp eax, dword [0x724290]
je 0x4097d8
mov eax, dword [edi + 0x8c]
sub eax, dword [edi + 0x54]
xor eax, 0x3ef0c718
mov dword [ecx + 0x28], eax
jmp 0x4097e3
mov eax, dword [edi + 0x30]
add eax, 0x7e76
mov dword [ecx + 0x50], eax
mov eax, dword [edi + 0xa0]
xor eax, 1
mov dword [edi + 0x98], eax
mov ecx, dword [0x6abc5c]
mov edx, dword [ecx + 0x24]
cmp edx, dword [0x724258]
ja 0x409841
mov eax, dword [ecx + 0x60]
add eax, 0x1d0a0014
or dword [edi + 0x4c], eax
mov eax, edx
mov ecx, dword [0x6abc5c]
imul eax, edx
add dword [0x7242c8], eax
mov eax, dword [edi + 0x60]
add eax, dword [edi + 8]
xor eax, 0xe300d036
sub dword [ecx + 0x70], eax
mov eax, dword [0x7242d4]
or dword [0x72430c], eax
inc edx
mov ecx, dword [0x6abc5c]
jmp 0x4097fb
mov eax, dword [edi + 0xa0]
cmp eax, dword [edi + 0x50]
je 0x409870
mov eax, dword [ecx + 0x80]
sub eax, dword [0x724274]
xor eax, 0x1c6a86
imul eax, dword [ecx + 0x98]
mov dword [ecx + 0x98], eax
mov ecx, dword [0x6abc5c]
mov eax, dword [edi + 0x98]
mov dword [0x724268], eax
mov eax, dword [edi + 0x1c]
cmp eax, dword [ecx + 0x8c]
jae 0x409893
mov eax, dword [0x7242bc]
add eax, 0x1c811b
add dword [ecx + 0x54], eax
lea eax, [ebp - 0x5e5]
xor esi, 0xfed
push eax
mov eax, dword [esp + 0x3c]
push ebx
add eax, 0xa45
push esi
push eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffaab
push eax
push 0x724230
call fcn.00408160
mov eax, dword [edi + 0x80]
add esp, 0x18
add eax, 0xffecb8a8
add eax, dword [edi + 0xa4]
xor dword [edi + 0xd4], eax
cmp dword [0x724238], 0x80e1
jbe 0x409902
mov eax, dword [0x6abc5c]
mov eax, dword [eax + 0x1c]
sub eax, dword [edi + 0x50]
xor eax, dword [edi + 0xd4]
xor eax, 0x126250
mov dword [edi + 0xd4], eax
cmp dword [0x72430c], 0x16f9
jbe 0x409928
mov ecx, dword [0x724290]
sub ecx, dword [0x724278]
mov eax, dword [0x6abc5c]
add ecx, 0x6d0bfef
mov dword [eax + 0x2c], ecx
pop edi
pop esi
pop ebp
lea eax, [ebx - 0x38f]
pop ebx
add esp, 0x10
ret