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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x464fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x484ea8]
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 0x409a80
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]
cmp eax, 4
mov dword [esp + 0x14], ebx
ja case.0x409a90.1
jmp dword [eax*4 + 0x409fa0]
lea ebx, [esi + 0x60]
mov ecx, ebx
call fcn.00407410
test eax, eax
mov edi, dword [ebp + 0xc]
jne 0x409ab8
mov eax, dword [edi + 4]
push eax
push 0xfde9
mov ecx, ebx
call fcn.004077c0
cmp dword [esi + 0x34], 0
je case.0x409a90.1
lea ecx, [esp + 0x40]
call fcn.004092a0
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.004077c0
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 fcn.004202af
add esp, 0xc
jmp case.0x409a90.1
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
push ecx
push 0xfde9
lea ecx, [esi + 0x60]
call fcn.004077c0
mov eax, dword [edi + 0x24]
cmp eax, ebx
je 0x409b69
mov dword [esi + 0x10e4], eax
mov dword [esi + 0x10e8], ebx
mov dword [esi + 0x10ec], ebx
mov dword [esp + 0x14], 0xffffffff
jmp case.0x409a90.1
cmp dword [esi + 0x38], ebx
je case.0x409a90.1
lea ecx, [esp + 0x40]
call fcn.004092a0
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.004077c0
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 fcn.004202af
add esp, 0x10
jmp case.0x409a90.1
lea ecx, [esp + 0x30]
call fcn.004092a0
lea ecx, [esp + 0x28]
mov dword [esp + 0x78], 2
call fcn.004092a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 3
call fcn.004092a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 4
call fcn.004092a0
lea ecx, [esp + 0x40]
mov byte [esp + 0x78], 5
call fcn.004092a0
mov edi, dword [ebp + 0xc]
test byte [edi + 0x1c], 0x80
mov byte [esp + 0x78], 6
mov eax, 0xfde9
jne 0x409c40
mov eax, dword [esi + 0x1100]
mov ecx, dword [edi + 4]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.004077c0
push 0x5c
push 0x2f
lea ecx, [esp + 0x28]
call fcn.00407700
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004078d0
add esp, 0xc
lea edx, [esi + 0x58]
push edx
lea ecx, [esp + 0x1c]
call fcn.00407530
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.00407630
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x44]
call fcn.00407530
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x44]
call fcn.00407630
cmp dword [esi + 0x28], ebx
mov ebx, dword [esp + 0x40]
je 0x409d12
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
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
movzx edx, 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 0x409d88
cmp dword [esi + 0x10f8], 0
je 0x409d55
mov ecx, dword [edi]
push ecx
lea ecx, [esi + 0x10c0]
call fcn.00407810
mov edi, 0xff000000
add esi, 0x48
push edi
mov ecx, esi
call fcn.00409370
test eax, eax
je 0x409d4f
lea ecx, [ecx]
add edi, 1
push edi
mov ecx, esi
call fcn.00409370
test eax, eax
jne 0x409d40
mov dword [esp + 0x14], edi
jmp 0x409d88
mov edx, dword [esp + 0x18]
push edx
call fcn.004093a0
add esp, 4
test eax, eax
je 0x409dbe
mov dword [esi + 0x10e4], 8
mov dword [esi + 0x10e8], eax
mov dword [esi + 0x10ec], 0
mov dword [esp + 0x14], 0xffffffff
push ebx
call fcn.004202af
mov eax, dword [esp + 0x1c]
push eax
call fcn.004202af
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004202af
mov edx, dword [esp + 0x34]
push edx
call fcn.004202af
mov eax, dword [esp + 0x40]
push eax
call fcn.004202af
add esp, 0x14
jmp case.0x409a90.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 0x409e28
push ebx
mov dword [esi + 0x10e4], 8
mov dword [esi + 0x10e8], ecx
mov dword [esi + 0x10ec], ecx
call fcn.004202af
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004202af
mov edx, dword [esp + 0x28]
push edx
call fcn.004202af
mov eax, dword [esp + 0x34]
push eax
call fcn.004202af
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004202af
add esp, 0x14
jmp case.0x409a90.1
mov edx, dword [esi + 0xc]
mov word [edx], cx
mov edx, dword [esi + 0x14]
mov word [edx], cx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ecx
mov dword [esi + 8], eax
mov eax, dword [edi]
lea ecx, [esp + 0x40]
lea edi, [esi + 0x14]
push ecx
mov ecx, edi
mov dword [esi + 0x1c], eax
call fcn.00407530
lea edx, [esp + 0x20]
lea ecx, [esi + 0xc]
push edx
call fcn.00407530
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x30]
test eax, eax
je 0x409d88
mov ecx, dword [edi]
fldz
mov edx, dword [esi + 0xc]
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
jmp 0x409d88
lea ecx, [esp + 0x30]
call fcn.004092a0
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 7
call fcn.004092a0
mov edi, dword [ebp + 0xc]
test byte [edi + 0x1c], 0x80
mov byte [esp + 0x78], 8
mov eax, 0xfde9
jne 0x409edf
mov eax, dword [esi + 0x1100]
mov ecx, dword [edi + 4]
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.004077c0
push 0x5c
push 0x2f
lea ecx, [esp + 0x48]
call fcn.00407700
lea edx, [esi + 0x58]
push edx
lea ecx, [esp + 0x34]
call fcn.00407530
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x34]
call fcn.00407630
cmp dword [esi + 0x10f8], ebx
mov ebx, dword [esp + 0x30]
jne 0x409f43
mov ecx, dword [edi + 0x14]
push ecx
mov ecx, esi
call fcn.00409960
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.00408480
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x409f6b
cmp dword [esi + 0x10f8], 0
je 0x409f5b
lea eax, [esi + 0x10c0]
jmp 0x409f5d
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 fcn.004202af
push ebx
call fcn.004202af
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