Function at 0x412b0d
Capabilities:
Link many functions at runtime

Disassembly:
push 8
mov eax, 0x46f144
call fcn.0045f38b
xor edi, edi
cmp dword [esi + 4], edi
jne 0x412d3e
mov dword [esi], 1
call fcn.00443a60
mov dword [esi + 4], eax
cmp eax, edi
je 0x412d3c
push edi
push 2
xor ebx, ebx
call fcn.004125ff
test eax, eax
jne 0x412d3c
mov ebx, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x408fb8
push dword [esi + 4]
call ebx
push 0x408fcc
push dword [esi + 4]
mov dword [esi + 0x14], eax
call ebx
push 0x408fdc
push dword [esi + 4]
mov dword [esi + 0x34], eax
call ebx
push 0x408ff4
push dword [esi + 4]
mov dword [esi + 0x44], eax
call ebx
push 0x409004
push dword [esi + 4]
mov dword [esi + 0x4c], eax
call ebx
push 0x409014
push dword [esi + 4]
mov dword [esi + 0x54], eax
call ebx
push 0x409028
push dword [esi + 4]
mov dword [esi + 0x5c], eax
call ebx
push 0x409038
push dword [esi + 4]
mov dword [esi + 0x60], eax
call ebx
push 0x409048
push dword [esi + 4]
mov dword [esi + 0x10], eax
call ebx
push 0x40905c
push dword [esi + 4]
mov dword [esi + 0x1c], eax
call ebx
push 0x40906c
push dword [esi + 4]
mov dword [esi + 0x20], eax
call ebx
push 0x40907c
push dword [esi + 4]
mov dword [esi + 0x24], eax
call ebx
push 0x40908c
push dword [esi + 4]
mov dword [esi + 0x28], eax
call ebx
push 0x40909c
push dword [esi + 4]
mov dword [esi + 0x2c], eax
call ebx
push 0x4090ac
push dword [esi + 4]
mov dword [esi + 0x30], eax
call ebx
push 0x4090c0
push dword [esi + 4]
mov dword [esi + 0x38], eax
call ebx
push 0x4090d4
push dword [esi + 4]
mov dword [esi + 0x18], eax
call ebx
push 0x4090e8
push dword [esi + 4]
mov dword [esi + 0x3c], eax
call ebx
push 0x4090fc
push dword [esi + 4]
mov dword [esi + 0x40], eax
call ebx
push 0x409114
push dword [esi + 4]
mov dword [esi + 0x48], eax
call ebx
mov dword [esi + 0x50], eax
push 0x409128
push dword [esi + 4]
call ebx
push 0x40913c
push dword [esi + 4]
mov dword [esi + 0x58], eax
call ebx
push 0x409154
push dword [esi + 4]
mov dword [esi + 0x64], eax
call ebx
push 0x409168
push dword [esi + 4]
mov dword [esi + 0x68], eax
call ebx
mov dword [esi + 0x6c], eax
cmp dword [esi + 0x14], edi
je 0x412cf7
cmp dword [esi + 0x34], edi
je 0x412cf7
cmp dword [esi + 0x18], edi
je 0x412cf7
cmp dword [esi + 0x10], edi
je 0x412cf7
cmp dword [esi + 0x1c], edi
je 0x412cf7
cmp dword [esi + 0x20], edi
je 0x412cf7
cmp dword [esi + 0x24], edi
je 0x412cf7
cmp dword [esi + 0x28], edi
je 0x412cf7
cmp dword [esi + 0x2c], edi
je 0x412cf7
cmp dword [esi + 0x30], edi
je 0x412cf7
cmp dword [esi + 0x38], edi
je 0x412cf7
cmp dword [esi + 0x3c], edi
je 0x412cf7
cmp dword [esi + 0x40], edi
je 0x412cf7
cmp dword [esi + 0x48], edi
je 0x412cf7
cmp dword [esi + 0x50], edi
je 0x412cf7
cmp dword [esi + 0x44], edi
je 0x412cf7
cmp dword [esi + 0x4c], edi
je 0x412cf7
cmp dword [esi + 0x54], edi
je 0x412cf7
cmp dword [esi + 0x58], edi
je 0x412cf7
cmp dword [esi + 0x64], edi
je 0x412cf7
cmp dword [esi + 0x68], edi
je 0x412cf7
cmp eax, edi
jne 0x412d3e
push 0x828
call fcn.00443a60
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x412d25
push 0x409180
mov eax, 0x1003
push eax
push eax
push dword [ebp - 0x10]
call fcn.00411c0e
add esp, 0x10
jmp 0x412d27
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], eax
push 0x4737e4
lea eax, [ebp - 0x14]
push eax
call fcn.00443a60
mov dword [esi], edi
call fcn.0045f477
ret