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

Disassembly:
sub esp, 0x378
mov eax, dword [0x100a9450]
xor eax, esp
mov dword [esp + 0x374], eax
push ebx
push ebp
mov ebp, dword [esp + 0x384]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x20]
mov edx, dword [eax + 0xc]
push 0x100
lea ecx, [esp + 0x284]
push ecx
xor ebx, ebx
push ebx
push ebp
push edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
call edx
mov esi, eax
add esp, 0x14
cmp esi, ebx
mov dword [esp + 0x24], esi
jg 0x1003e0e7
xor eax, eax
jmp 0x1003e37e
push 0x244
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.10072cc0
add esp, 0xc
mov byte [esp + 0xbc], 0x10
mov dword [esp + 0xca], ebx
mov dword [esp + 0xbd], ebx
mov dword [esp + 0xc1], ebx
call fcn.100642d9
mov dword [esp + 0x3e], eax
mov eax, dword [edi + 0xbc]
mov dword [esp + 0x38], 0x10002ce0
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x4b], bl
mov byte [esp + 0xbc], 0x20
mov edi, dword [eax + 0x30]
add edi, ebp
mov ebp, dword [eax + 0x34]
lea eax, [esp + 0x280]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
adc ebp, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
jmp 0x1003e188
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x14], 0x100
jge 0x1003e37a
mov dword [esp + 0x43], eax
add eax, esi
lea esi, [esp + 0x38]
mov dword [esp + 0xbd], edi
mov dword [esp + 0xc1], ebp
mov dword [esp + 0x38], 0x10002cc0
mov dword [esp + 0x47], eax
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x4b], bl
mov byte [esp + 0x58], bl
mov byte [esp + 0x78], bl
call fcn.10002bf0
test eax, eax
jne 0x1003e1df
xor ecx, ecx
jmp 0x1003e1f6
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x1003e1f1
lea ecx, [esp + 0x38]
push ecx
call eax
add esp, 4
movzx ecx, byte [esp + 0x42]
cmp ecx, ebx
je 0x1003e37a
mov eax, dword [esp + 0xca]
add dword [esp + 0x14], ecx
cmp eax, ebx
je 0x1003e37a
cmp dword [esp + 0x14], 0x50
mov edx, 1
jle 0x1003e229
cmp dword [esp + 0x18], edx
jne 0x1003e37a
jmp 0x1003e230
cmp dword [esp + 0x18], 1
jne 0x1003e246
cmp dword [esp + 0x28], edx
jne 0x1003e246
cmp dword [esp + 0x34], edx
jne 0x1003e246
cmp dword [esp + 0x20], edx
je 0x1003e376
add eax, 0xffffff0e
cmp eax, 0xfa
ja case.0x1003e25d.243
movzx eax, byte [eax + 0x1003e3ac]
jmp dword [eax*4 + 0x1003e398]
mov dword [esp + 0x28], edx
jmp case.0x1003e25d.243
mov eax, dword [esp + 0x10]
cmp dword [eax], 0x82444c7
jne 0x1003e282
cmp dword [eax + 4], ebx
jne 0x1003e282
mov dword [esp + 0x20], edx
mov esi, 0x4c7
cmp word [eax], si
jne case.0x1003e25d.243
cmp byte [eax + 2], 0x24
jne case.0x1003e25d.243
mov dword [esp + 0x34], edx
jmp case.0x1003e25d.243
mov esi, dword [esp + 0x10]
mov eax, 0xec81
cmp word [esi], ax
jne case.0x1003e25d.243
mov dword [esp + 0x18], edx
jmp case.0x1003e25d.243
cmp dword [esp + 0xce], 0x90
jne 0x1003e35b
mov al, byte [esp + 0xd2]
cmp al, 8
je 0x1003e2fe
cmp al, 0x10
je 0x1003e2f4
cmp al, 0x20
je 0x1003e2e8
xor edi, edi
xor ebp, ebp
jmp 0x1003e30d
mov edx, dword [esp + 0xd3]
lea eax, [ecx + edx]
jmp 0x1003e308
movsx eax, word [esp + 0xd3]
jmp 0x1003e306
movsx eax, byte [esp + 0xd3]
add eax, ecx
cdq
add edi, eax
adc ebp, edx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0xbc]
mov ecx, dword [ecx + 0xc]
push 0x100
lea edx, [esp + 0x284]
push edx
mov edx, edi
sub edx, dword [eax + 0x30]
mov esi, ebp
sbb esi, dword [eax + 0x34]
mov eax, dword [esp + 0x38]
push esi
push edx
push eax
call ecx
add esp, 0x14
cmp eax, ebx
mov dword [esp + 0x24], eax
jg 0x1003e34c
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x280]
xor ecx, ecx
mov dword [esp + 0x10], edx
jmp case.0x1003e25d.243
mov dword [esp + 0x1c], ebx
mov eax, ecx
cdq
add edi, eax
adc ebp, edx
add dword [esp + 0x10], ecx
cmp dword [esp + 0x1c], ebx
jne 0x1003e180
jmp 0x1003e37a
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x384]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10063ade
add esp, 0x378
ret