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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e1a8a
push eax
mov eax, dword [0x5189dc]
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
push edi
mov ebp, ecx
je 0x41279e
push 0x518908
lea ecx, [esp + 0x14]
xor edi, edi
call fcn.004d49fb
lea ecx, [esp + 0x20]
mov dword [esp + 0x74], esi
call fcn.004a669c
mov eax, dword [0x51347c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
push 0x518908
lea ecx, [esp + 0x64]
mov byte [esp + 0x78], 8
mov dword [esp + 0x48], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], esi
call fcn.004d4b16
push 0x518908
lea ecx, [esp + 0x4c]
call fcn.004d4b16
push 0x518908
lea ecx, [esp + 0x50]
call fcn.004d4b16
push 0x518908
lea ecx, [esp + 0x54]
call fcn.004d4b16
mov ecx, dword [0x5189d4]
mov bl, 9
mov byte [esp + 0x74], bl
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x14], eax
je 0x41271d
jmp 0x4124e6
xor esi, esi
cmp edi, 0xa
jge 0x4126a0
lea esi, [eax + 0x10]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x40], ecx
mov edx, dword [esi + 8]
lea eax, [esi + 0xc]
lea ecx, [esp + 0x48]
push eax
mov dword [esp + 0x48], edx
call fcn.004d4ac6
lea ecx, [esi + 0x10]
push ecx
lea ecx, [esp + 0x50]
call fcn.004d4ac6
lea edx, [esi + 0x14]
lea ecx, [esp + 0x50]
push edx
call fcn.004d4ac6
lea eax, [esi + 0x18]
lea ecx, [esp + 0x54]
push eax
call fcn.004d4ac6
lea ecx, [esi + 0x1c]
push ecx
lea ecx, [esp + 0x5c]
call fcn.004d4ac6
lea edx, [esi + 0x20]
lea ecx, [esp + 0x5c]
push edx
call fcn.004d4ac6
lea eax, [esi + 0x24]
lea ecx, [esp + 0x60]
push eax
call fcn.004d4ac6
mov ecx, dword [esi + 0x28]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], ecx
mov edx, dword [esi + 0x2c]
test eax, eax
mov dword [esp + 0x68], edx
jne 0x412683
mov eax, dword [esp + 0x3c]
sub esp, 0x30
mov esi, esp
mov dword [esp + 0x74], 0xa
mov dword [esp + 0x4c], esp
mov dword [esp + 0x4c], esi
mov dword [esi], eax
mov ecx, dword [esp + 0x70]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x74]
lea eax, [esp + 0x78]
lea ecx, [esi + 0xc]
push eax
mov dword [esi + 8], edx
call fcn.004d4702
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 0xa
push ecx
lea ecx, [esi + 0x10]
call fcn.004d4702
lea edx, [esp + 0x80]
lea ecx, [esi + 0x14]
push edx
mov byte [esp + 0xa8], 0xb
call fcn.004d4702
lea eax, [esp + 0x84]
lea ecx, [esi + 0x18]
push eax
mov byte [esp + 0xa8], 0xc
call fcn.004d4702
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], 0xd
push ecx
lea ecx, [esi + 0x1c]
call fcn.004d4702
lea edx, [esp + 0x8c]
lea ecx, [esi + 0x20]
push edx
mov byte [esp + 0xa8], 0xe
call fcn.004d4702
lea eax, [esp + 0x90]
lea ecx, [esi + 0x24]
push eax
mov byte [esp + 0xa8], 0xf
call fcn.004d4702
mov ecx, dword [esp + 0x94]
lea eax, [esp + 0x48]
mov dword [esi + 0x28], ecx
mov edx, dword [esp + 0x98]
push eax
mov ecx, ebp
mov dword [esi + 0x2c], edx
mov byte [esp + 0xa8], bl
call fcn.004135e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 0x10
call fcn.004d4da5
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], bl
call fcn.004d498d
inc edi
lea ecx, [esp + 0x14]
call fcn.00414180
mov ecx, dword [0x5189d4]
mov eax, dword [esp + 0x14]
cmp eax, ecx
jne 0x4124e4
xor esi, esi
cmp edi, esi
jle 0x41271d
mov ecx, dword [0x518b40]
cmp dword [ecx - 8], esi
jle 0x41271d
lea edx, [esp + 0x10]
push 0x509bd0
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.004d4c22
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 0x11
call fcn.004d4ac6
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], bl
call fcn.004d498d
lea ecx, [esp + 0x10]
push 0x518b40
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.004d4bbc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 0x12
call fcn.004d4ac6
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], bl
call fcn.004d498d
push 0x518908
lea ecx, [esp + 0x14]
call fcn.004d4b16
lea ecx, [esp + 0x60]
mov byte [esp + 0x74], 0x18
call fcn.004d498d
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 0x17
call fcn.004d498d
lea ecx, [esp + 0x58]
mov byte [esp + 0x74], 0x16
call fcn.004d498d
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], 0x15
call fcn.004d498d
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 0x14
call fcn.004d498d
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 0x13
call fcn.004d498d
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 1
call fcn.004d498d
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 0
call fcn.004a66d9
lea ecx, [esp + 0x10]
mov dword [esp + 0x74], 0xffffffff
call fcn.004d498d
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret