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

Disassembly:
push 0xffffffffffffffff
push 0x44ab57
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x46132c]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46132c]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0xec]
xor ebx, ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x44], ecx
cmp eax, ebx
jne 0x408f2f
mov eax, 0x190
jmp 0x40948d
mov ecx, dword [ecx]
mov edx, dword [eax + 0x32]
lea edi, [esi + 0x58]
push edi
push ebx
push ebx
push 6
push ecx
call edx
add esp, 0x14
cmp eax, ebx
jne 0x40948d
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x7c]
mov dword [esp + 0x84], eax
mov eax, dword [edi]
push 1
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], ebx
mov dword [esp + 0x90], 4
mov ecx, dword [ecx + 0x6a]
push eax
call ecx
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x34]
push eax
mov eax, dword [edi]
push 1
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], ebx
mov ecx, dword [edx + 0x6e]
push eax
call ecx
add esp, 0x1c
test eax, eax
jne 0x409470
cmp dword [esp + 0x28], 1
jne 0x409470
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x20]
push 4
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x58]
push ecx
mov dword [esp + 0x54], 0x102
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], 0x11
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0x80455053
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 3
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov ecx, dword [edx + 0x62]
push eax
call ecx
add esp, 0x10
cmp eax, ebx
jne 0x409470
mov edx, dword [esp + 0x50]
push edx
call fcn.00415a74
mov ebp, eax
mov dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x60]
push eax
mov dword [esp + 0xec], ebx
call fcn.00415a74
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x70]
push ecx
mov byte [esp + 0xf0], 1
call fcn.00415a74
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x80]
push edx
mov byte [esp + 0xf4], 2
call fcn.00415a74
mov dword [esp + 0x24], eax
push 0x40
mov byte [esp + 0xf8], 3
call fcn.00415a74
mov esi, eax
mov dword [esp + 0x54], esi
push 0x40
mov byte [esp + 0xfc], 4
call fcn.00415a74
mov edi, eax
mov dword [esp + 0x54], edi
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x68]
push eax
push ebx
push ebp
mov byte [esp + 0x108], 5
mov dword [esp + 0x70], ebp
mov dword [esp + 0x88], ecx
mov dword [esp + 0x94], edx
call fcn.004327f0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
push ecx
push ebx
push edx
call fcn.004327f0
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
push eax
push ebx
push ecx
call fcn.004327f0
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
push edx
push ebx
push eax
call fcn.004327f0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x58]
mov ecx, dword [ecx + 0x62]
add esp, 0x48
push 4
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x20]
push edx
push eax
call ecx
add esp, 0x10
cmp eax, ebx
jne 0x40942e
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xb8], eax
mov eax, ecx
mov dword [esp + 0x98], ebp
mov byte [esp + 0xe4], 6
mov dword [esp + 0x78], ebx
mov dword [esp + 0xbc], edx
mov dword [esp + 0x24], ebx
lea ebp, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4091d1
sub eax, ebp
push eax
push ecx
lea ecx, [esp + 0xa4]
call fcn.00402370
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x94]
push eax
push ecx
push 0x10001
mov byte [esp + 0xd0], bl
mov dword [esp + 0x20], edx
call dword [0x44e040]
mov ebp, eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x2c]
push edx
add eax, 0x20
push eax
call dword [0x44e2c8]
push 9
call fcn.00415a74
push 9
call fcn.00415a74
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov byte [esi + 8], al
mov dword [edi], eax
mov dword [edi + 4], eax
mov byte [edi + 8], al
movzx ecx, word [esp + 0x3a]
movzx edx, word [esp + 0x36]
movzx eax, word [esp + 0x34]
push ecx
push edx
push eax
push 0x44f278
push esi
call fcn.004330c0
xor eax, eax
add esp, 0x1c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x2c]
push ecx
add edx, 0x28
push edx
call dword [0x44e2c8]
movzx eax, word [esp + 0x32]
movzx ecx, word [esp + 0x2e]
movzx edx, word [esp + 0x2c]
push eax
push ecx
push edx
push 0x44f278
push edi
call fcn.004330c0
add esp, 0x14
push ebp
call dword [0x44e030]
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0xc8], esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0xcc], edi
mov edi, dword [esi + 0x38]
mov eax, dword [edi + 4]
add esi, 0x24
lea edx, [esp + 0x8c]
push edx
push eax
mov dword [esp + 0x44], ecx
push edi
mov ecx, esi
call fcn.00408c40
push 1
mov ecx, esi
mov ebp, eax
call fcn.00407fa0
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.00415a69
mov edx, dword [esp + 0xd0]
push edx
call fcn.00415a69
mov eax, dword [esp + 0xd0]
push eax
call fcn.00415a69
add esp, 0xc
cmp dword [esp + 0xb4], 0x10
jb 0x40938d
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.00415a69
add esp, 4
mov edx, dword [esp + 0x98]
push edx
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
call fcn.00415a69
mov eax, dword [esp + 0x98]
push eax
call fcn.00415a69
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00415a69
mov edx, dword [esp + 0x4c]
push edx
call fcn.00415a69
mov eax, dword [esp + 0x24]
push eax
call fcn.00415a69
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00415a69
push ebx
call fcn.00415a69
push ebx
mov dword [esp + 0x104], 0xffffffff
call fcn.00415a69
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x48]
push ecx
push 1
lea ecx, [esp + 0x40]
add eax, 0x58
mov eax, dword [eax]
push ecx
mov ecx, dword [edx + 0x6e]
push eax
call ecx
mov esi, dword [esp + 0x4c]
add esp, 0x30
test eax, eax
je 0x408fb1
jmp 0x409470
push edi
call fcn.00415a69
push esi
call fcn.00415a69
mov edx, dword [esp + 0x1c]
push edx
call fcn.00415a69
mov eax, dword [esp + 0x2c]
push eax
call fcn.00415a69
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00415a69
push ebp
mov dword [esp + 0xfc], 0xffffffff
call fcn.00415a69
mov esi, dword [esp + 0x34]
add esp, 0x18
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x58]
mov ecx, dword [edx + 0x72]
lea edi, [esi + 0x58]
push eax
call ecx
mov edx, dword [esi + 0x20]
mov eax, dword [edi]
mov ecx, dword [edx + 0x36]
push eax
call ecx
add esp, 8
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.004327c2
add esp, 0xd4
ret 4