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

Disassembly:
sub esp, 0x21c
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx]
call dword [eax + 8]
mov ecx, dword [ebx + 0x5c]
xor eax, eax
mov dword [esp + 0x118], ecx
mov ecx, 0x43
lea edi, [esp + 0x11c]
push eax
mov dword [esp + 0x14], 0x100000a
mov dword [esp + 0x18], 0x10000c8
mov dword [esp + 0x1c], 0x10000cd
mov dword [esp + 0x20], 0x1000064
mov dword [esp + 0x24], 0x10000cb
mov dword [esp + 0x28], 0x10000ce
mov dword [esp + 0x2c], 0x10000cf
mov dword [esp + 0x30], 0x10000d0
mov dword [esp + 0x34], 0x10000d9
mov dword [esp + 0x38], 0x10000d5
mov dword [esp + 0x3c], 0x10000d2
mov dword [esp + 0x40], 0x100012c
mov dword [esp + 0x44], 0x100012d
mov dword [esp + 0x48], 0x100012e
mov dword [esp + 0x4c], 0x10001f4
mov dword [esp + 0x50], 0x10001f5
mov dword [esp + 0x54], 0x10001f6
mov dword [esp + 0x58], 0x10001f7
mov dword [esp + 0x5c], 0x10001f8
mov dword [esp + 0x60], 0x10001f9
mov dword [esp + 0x64], 0x10001fa
mov dword [esp + 0x68], 0x10001fb
mov dword [esp + 0x6c], 0x10001fc
mov dword [esp + 0x70], 0x10001fd
mov dword [esp + 0x74], 0x1000208
mov dword [esp + 0x78], 0x1000209
mov dword [esp + 0x7c], 0x100020a
mov dword [esp + 0x80], 0x100020b
mov dword [esp + 0x84], 0x1000232
mov dword [esp + 0x88], 0x1000233
mov dword [esp + 0x8c], 0x100020c
mov dword [esp + 0x90], 0x100020d
mov dword [esp + 0x94], 0x100020e
mov dword [esp + 0x98], 0x100020f
mov dword [esp + 0x9c], 0x10001fe
mov dword [esp + 0xa0], 0x1000200
mov dword [esp + 0xa4], 0x1000210
mov dword [esp + 0xa8], 0x1000211
mov dword [esp + 0xac], 0x1000212
mov dword [esp + 0xb0], 0x1000213
mov dword [esp + 0xb4], 0x1000214
mov dword [esp + 0xb8], 0x1000215
mov dword [esp + 0xbc], 0x1000219
mov dword [esp + 0xc0], 0x100021a
mov dword [esp + 0xc4], 0x100021b
mov dword [esp + 0xc8], 0x1000216
mov dword [esp + 0xcc], 0x1000217
mov dword [esp + 0xd0], 0x1000218
mov dword [esp + 0xd4], 0x1000220
mov dword [esp + 0xd8], 0x1000221
mov dword [esp + 0xdc], 0x1000222
mov dword [esp + 0xe0], 0x100022f
mov dword [esp + 0xe4], 0x1000225
mov dword [esp + 0xe8], 0x1000226
mov dword [esp + 0xec], 0x100012f
mov dword [esp + 0xf0], 0x10000e1
mov dword [esp + 0xf4], 0x1000227
mov dword [esp + 0xf8], 0x1000228
mov dword [esp + 0xfc], 0x1000229
mov dword [esp + 0x100], 0x100022a
mov dword [esp + 0x104], 0x100022b
mov dword [esp + 0x108], 0x100022c
mov dword [esp + 0x10c], 0x100022d
mov dword [esp + 0x110], 0x100022e
mov dword [esp + 0x114], 0x1000135
mov dword [esp + 0x118], 0
rep stosd dword es:[edi], eax
push 0x10c
lea edx, [esp + 0x124]
push edx
lea eax, [esp + 0x1c]
push 0x10c
push eax
push 0x80002000
mov ecx, ebx
call fcn.00407d90
test eax, eax
je 0x408615
xor ecx, ecx
mov eax, dword [esp + ecx + 0x120]
test al, 1
je 0x408600
and eax, 0xffff0000
cmp eax, 0x40000
je 0x408608
mov dword [esp + ecx + 0x14], 0x1000001
add ecx, 4
cmp ecx, 0xfc
jbe 0x4085e9
jmp 0x408651
lea esi, [esp + 0x14]
mov edi, 0x40
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push edx
mov ecx, ebx
call fcn.004086c0
test eax, eax
je 0x408645
mov eax, dword [esp + 0xc]
test al, 1
je 0x408645
and eax, 0xffff0000
cmp eax, 0x40000
je 0x40864b
mov dword [esi], 0x1000001
add esi, 4
dec edi
jne 0x40861e
lea esi, [ebx + 0x60]
xor eax, eax
mov ecx, 0x41
mov edi, esi
push eax
push 0x104
rep stosd dword es:[edi], eax
push esi
lea eax, [esp + 0x1c]
push 0x10c
push eax
push 0x80006004
mov ecx, ebx
call fcn.00407d90
test eax, eax
jne 0x4086a4
mov ecx, 0x41
mov edi, esi
rep stosd dword es:[edi], eax
push 0xfffffffffffffffe
call dword [0x40c07c]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x21c
ret
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x21c
ret