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

Disassembly:
sub esp, 0x224
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x58]
push 0x110
lea ecx, [esp + 0x120]
push 0
push ecx
mov dword [esp + 0x18], 0x100000a
mov dword [esp + 0x1c], 0x10000c8
mov dword [esp + 0x20], 0x10000cd
mov dword [esp + 0x24], 0x1000064
mov dword [esp + 0x28], 0x10000cb
mov dword [esp + 0x2c], 0x10000ce
mov dword [esp + 0x30], 0x10000cf
mov dword [esp + 0x34], 0x10000d0
mov dword [esp + 0x38], 0x10000d9
mov dword [esp + 0x3c], 0x10000d5
mov dword [esp + 0x40], 0x10000d2
mov dword [esp + 0x44], 0x100012c
mov dword [esp + 0x48], 0x100012d
mov dword [esp + 0x4c], 0x100012e
mov dword [esp + 0x50], 0x10001f4
mov dword [esp + 0x54], 0x10001f5
mov dword [esp + 0x58], 0x10001f6
mov dword [esp + 0x5c], 0x10001f7
mov dword [esp + 0x60], 0x10001f8
mov dword [esp + 0x64], 0x10001f9
mov dword [esp + 0x68], 0x10001fa
mov dword [esp + 0x6c], 0x10001fb
mov dword [esp + 0x70], 0x10001fc
mov dword [esp + 0x74], 0x10001fd
mov dword [esp + 0x78], 0x1000208
mov dword [esp + 0x7c], 0x1000209
mov dword [esp + 0x80], 0x100020a
mov dword [esp + 0x84], 0x100020b
mov dword [esp + 0x88], 0x1000232
mov dword [esp + 0x8c], 0x1000233
mov dword [esp + 0x90], 0x100020c
mov dword [esp + 0x94], 0x100020d
mov dword [esp + 0x98], 0x100020e
mov dword [esp + 0x9c], 0x100020f
mov dword [esp + 0xa0], 0x10001fe
mov dword [esp + 0xa4], 0x1000200
mov dword [esp + 0xa8], 0x1000210
mov dword [esp + 0xac], 0x1000211
mov dword [esp + 0xb0], 0x1000212
mov dword [esp + 0xb4], 0x1000213
mov dword [esp + 0xb8], 0x1000214
mov dword [esp + 0xbc], 0x1000215
mov dword [esp + 0xc0], 0x1000219
mov dword [esp + 0xc4], 0x100021a
mov dword [esp + 0xc8], 0x100021b
mov dword [esp + 0xcc], 0x1000216
mov dword [esp + 0xd0], 0x1000217
mov dword [esp + 0xd4], 0x1000218
mov dword [esp + 0xd8], 0x1000220
mov dword [esp + 0xdc], 0x1000221
mov dword [esp + 0xe0], 0x1000222
mov dword [esp + 0xe4], 0x100022f
mov dword [esp + 0xe8], 0x1000225
mov dword [esp + 0xec], 0x1000226
mov dword [esp + 0xf0], 0x100012f
mov dword [esp + 0xf4], 0x10000e1
mov dword [esp + 0xf8], 0x1000227
mov dword [esp + 0xfc], 0x1000228
mov dword [esp + 0x100], 0x1000229
mov dword [esp + 0x104], 0x100022a
mov dword [esp + 0x108], 0x100022b
mov dword [esp + 0x10c], 0x100022c
mov dword [esp + 0x110], 0x100022d
mov dword [esp + 0x114], 0x100022e
mov dword [esp + 0x118], 0x1000296
mov dword [esp + 0x11c], 0x1000297
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], eax
call fcn.00412510
add esp, 0xc
push 0
push 0x110
lea edx, [esp + 0x124]
push edx
push 0x110
lea eax, [esp + 0x1c]
push eax
push 0x80002000
mov ecx, edi
call fcn.004020d0
test eax, eax
je 0x40358f
mov ecx, 4
mov eax, dword [esp + ecx + 0x11c]
test al, 1
je 0x40357a
and eax, 0xffff0000
cmp eax, 0x40000
je 0x403582
mov dword [esp + ecx + 0xc], 0x1000001
add ecx, 4
cmp ecx, 0x104
jbe 0x403563
jmp 0x4035cd
mov esi, 1
mov edx, dword [esp + esi*4 + 0xc]
lea ecx, [esp + 8]
push ecx
push edx
mov ecx, edi
call fcn.004022f0
test eax, eax
je 0x4035bd
mov eax, dword [esp + 8]
test al, 1
je 0x4035bd
and eax, 0xffff0000
cmp eax, 0x40000
je 0x4035c5
mov dword [esp + esi*4 + 0xc], 0x1000001
add esi, 1
cmp esi, 0x41
jbe 0x403594
push 0x108
lea esi, [edi + 0x5c]
push 0
push esi
call fcn.00412510
add esp, 0xc
push 0
push 0x108
push esi
push 0x110
lea eax, [esp + 0x1c]
push eax
push 0x80006004
mov ecx, edi
call fcn.004020d0
test eax, eax
jne 0x40362d
push 0x108
push eax
push esi
call fcn.00412510
add esp, 0xc
push 0xfffffffffffffffe
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
pop edi
xor eax, eax
pop esi
add esp, 0x224
ret
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
pop edi
mov eax, 1
pop esi
add esp, 0x224
ret