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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41f888
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x42e7a0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10f4], ebx
je 0x402bc0
or eax, 0xffffffff
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], ebx
cmp eax, 4
ja case.0x402bd0.1
jmp dword [eax*4 + 0x4030d8]
lea ebx, [esi + 0x60]
mov ecx, ebx
call fcn.00401160
mov edi, dword [ebp + 0xc]
test eax, eax
jne 0x402bf8
mov eax, dword [edi + 4]
push eax
push 0xfde9
mov ecx, ebx
call fcn.00401510
cmp dword [esi + 0x34], 0
je case.0x402bd0.1
lea ecx, [esp + 0x40]
call fcn.00402480
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 8]
push eax
mov dword [esp + 0x34], ecx
push 0xfde9
lea ecx, [esp + 0x48]
mov dword [esp + 0x80], 0
mov dword [esp + 0x3c], edx
call fcn.00401510
mov cx, word [edi + 0x1e]
mov dx, word [edi + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x1104]
mov word [esp + 0x3c], cx
push eax
lea ecx, [esp + 0x34]
mov word [esp + 0x42], dx
mov edx, dword [esi + 0x34]
push ecx
call edx
mov eax, dword [esp + 0x48]
push eax
call sub.mfc90u.dll_delete__
add esp, 0xc
jmp case.0x402bd0.1
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
push ecx
push 0xfde9
lea ecx, [esi + 0x60]
call fcn.00401510
mov eax, dword [edi + 0x24]
cmp eax, ebx
je 0x402ca9
mov dword [esi + 0x10e4], eax
mov dword [esi + 0x10e8], ebx
mov dword [esi + 0x10ec], ebx
mov dword [esp + 0x14], 0xffffffff
jmp case.0x402bd0.1
cmp dword [esi + 0x38], ebx
je case.0x402bd0.1
lea ecx, [esp + 0x40]
call fcn.00402480
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
push ecx
push 0xfde9
lea ecx, [esp + 0x48]
mov dword [esp + 0x80], 1
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call fcn.00401510
mov dx, word [edi + 0x1e]
mov ecx, dword [esi + 0x1104]
mov dword [esp + 0x38], eax
mov ax, word [edi + 0x20]
push ecx
mov ecx, dword [esi + 0x38]
mov word [esp + 0x40], dx
mov edx, dword [edi + 0x24]
mov word [esp + 0x42], ax
push edx
lea eax, [esp + 0x38]
push eax
call ecx
mov edx, dword [esp + 0x4c]
push edx
call sub.mfc90u.dll_delete__
add esp, 0x10
jmp case.0x402bd0.1
lea ecx, [esp + 0x40]
call fcn.00402480
lea ecx, [esp + 0x30]
mov dword [esp + 0x78], 2
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 3
call fcn.00402480
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 4
call fcn.00402480
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 5
call fcn.00402480
mov edi, dword [ebp + 0xc]
test byte [edi + 0x1c], 0x80
mov byte [esp + 0x78], 6
mov eax, 0xfde9
jne 0x402d80
mov eax, dword [esi + 0x1100]
mov ecx, dword [edi + 4]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401510
push 0x5c
push 0x2f
lea ecx, [esp + 0x28]
call fcn.004014b0
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004016f0
add esp, 0xc
lea edx, [esi + 0x58]
push edx
lea ecx, [esp + 0x1c]
call fcn.004012b0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.004013c0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004012b0
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x2c]
call fcn.004013c0
cmp dword [esi + 0x28], ebx
mov ebx, dword [esp + 0x28]
je 0x402e52
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi]
mov dword [esp + 0x50], edx
mov dx, word [edi + 0x1c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], ecx
movzx ecx, word [edi + 0x1a]
lea eax, [esp + 0x60]
mov word [esp + 0x68], dx
movzx edx, word [edi + 0x18]
push eax
push ecx
push edx
mov dword [esp + 0x64], ebx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
mov eax, dword [esi + 0x1104]
mov edx, dword [esi + 0x28]
push eax
lea ecx, [esp + 0x4c]
push ecx
call edx
add esp, 8
test eax, eax
je 0x402ec6
cmp dword [esi + 0x10f8], 0
je 0x402e93
mov ecx, dword [edi]
push ecx
lea ecx, [esi + 0x10c0]
call fcn.00401590
mov edi, 0xff000000
add esi, 0x48
push edi
mov ecx, esi
call fcn.00402560
test eax, eax
je 0x402e8d
lea ecx, [ecx]
inc edi
push edi
mov ecx, esi
call fcn.00402560
test eax, eax
jne 0x402e80
mov dword [esp + 0x14], edi
jmp 0x402ec6
mov edx, dword [esp + 0x18]
push edx
call fcn.004025e0
add esp, 4
test eax, eax
je 0x402efc
mov dword [esi + 0x10e4], 8
mov dword [esi + 0x10e8], eax
mov dword [esi + 0x10ec], 0
mov dword [esp + 0x14], 0xffffffff
push ebx
call sub.mfc90u.dll_delete__
mov eax, dword [esp + 0x1c]
push eax
call sub.mfc90u.dll_delete__
mov ecx, dword [esp + 0x28]
push ecx
call sub.mfc90u.dll_delete__
mov edx, dword [esp + 0x3c]
push edx
call sub.mfc90u.dll_delete__
mov eax, dword [esp + 0x50]
push eax
call sub.mfc90u.dll_delete__
add esp, 0x14
jmp case.0x402bd0.1
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 0x180
push 0x8321
push ebx
mov ecx, esi
call eax
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x14], eax
jg 0x402f66
push ebx
mov dword [esi + 0x10e4], 8
mov dword [esi + 0x10e8], ecx
mov dword [esi + 0x10ec], ecx
call sub.mfc90u.dll_delete__
mov ecx, dword [esp + 0x1c]
push ecx
call sub.mfc90u.dll_delete__
mov edx, dword [esp + 0x28]
push edx
call sub.mfc90u.dll_delete__
mov eax, dword [esp + 0x3c]
push eax
call sub.mfc90u.dll_delete__
mov ecx, dword [esp + 0x50]
push ecx
call sub.mfc90u.dll_delete__
add esp, 0x14
jmp case.0x402bd0.1
lea ebx, [esi + 8]
mov ecx, ebx
call fcn.00401fa0
mov edx, dword [esp + 0x14]
mov dword [ebx], edx
mov eax, dword [edi]
lea ecx, [esp + 0x28]
lea edi, [esi + 0x14]
push ecx
mov ecx, edi
mov dword [esi + 0x1c], eax
call fcn.004012b0
lea edx, [esp + 0x20]
lea ebx, [esi + 0xc]
push edx
mov ecx, ebx
call fcn.004012b0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x30]
test eax, eax
je 0x402fda
mov ecx, dword [edi]
fldz
mov edx, dword [ebx]
fstp dword [esp + 0x58]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x48], edx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x1104]
mov dword [esp + 0x54], edx
push ecx
lea edx, [esp + 0x4c]
push edx
call eax
add esp, 8
mov ebx, dword [esp + 0x28]
jmp 0x402ec6
lea ecx, [esp + 0x30]
call fcn.00402480
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 7
call fcn.00402480
mov edi, dword [ebp + 0xc]
test byte [edi + 0x1c], 0x80
mov byte [esp + 0x78], 8
mov eax, 0xfde9
jne 0x403016
mov eax, dword [esi + 0x1100]
mov ecx, dword [edi + 4]
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.00401510
push 0x5c
push 0x2f
lea ecx, [esp + 0x48]
call fcn.004014b0
lea edx, [esi + 0x58]
push edx
lea ecx, [esp + 0x34]
call fcn.004012b0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x34]
call fcn.004013c0
cmp dword [esi + 0x10f8], ebx
mov ebx, dword [esp + 0x30]
jne 0x40307a
mov ecx, dword [edi + 0x14]
push ecx
mov ecx, esi
call fcn.00402ab0
movzx edx, word [edi + 0x1c]
movzx eax, word [edi + 0x1a]
movzx ecx, word [edi + 0x18]
push edx
push eax
push ecx
push ebx
mov ecx, esi
call fcn.00402160
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x4030a2
cmp dword [esi + 0x10f8], 0
je 0x403092
lea eax, [esi + 0x10c0]
jmp 0x403094
xor eax, eax
mov edx, dword [esi + 0x1104]
push edx
push eax
push ebx
call ecx
add esp, 0xc
mov eax, dword [esp + 0x40]
push eax
mov dword [esp + 0x18], 1
call sub.mfc90u.dll_delete__
push ebx
call sub.mfc90u.dll_delete__
add esp, 8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8