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

Disassembly:
sub esp, 0x110
push ebx
mov ebx, dword [esp + 0x118]
xor eax, eax
push edi
mov edi, dword [ebx + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
cmp edi, eax
je 0x1003ba7c
push ebp
mov ebp, dword [esp + 0x124]
cmp ebp, eax
je 0x1003ba7b
movzx eax, byte [ebp]
push esi
lea esi, [eax + 1]
xor esi, 1
add eax, 0xffffffed
dec esi
cmp eax, 0x3b
ja case.0x1003b873.20
movzx eax, byte [eax + 0x1003baa4]
jmp dword [eax*4 + 0x1003ba88]
mov esi, dword [esp + 0x130]
mov edi, dword [esp + 0x12c]
mov ecx, dword [ebp + 0x14]
push esi
push edi
push ecx
push ebx
call fcn.1003b820
mov edx, dword [ebp + 0x18]
push esi
push edi
push edx
push ebx
call fcn.1003b820
jmp 0x1003ba5e
push edi
call fcn.10012010
push ebx
mov esi, eax
call fcn.10038d10
mov eax, dword [esp + 0x138]
mov ecx, dword [ebp + 0x14]
xor eax, 8
push eax
push esi
push ecx
push ebx
call fcn.1003b560
mov edx, dword [esp + 0x148]
mov eax, dword [esp + 0x144]
mov ecx, dword [ebp + 0x18]
push edx
push eax
push ecx
push ebx
call fcn.1003b820
push esi
push edi
call fcn.10012070
push 1
push ebx
call fcn.10038d20
add esp, 0x38
jmp 0x1003ba61
mov edx, dword [esp + 0x130]
mov eax, dword [esp + 0x12c]
mov ecx, dword [ebp + 0x14]
push edx
push eax
push ecx
push ebx
call fcn.1003b560
add esp, 0x10
jmp 0x1003ba61
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x24]
push edx
mov edi, ebx
call fcn.10037fc0
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x13c]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
mov eax, dword [ebp + 0x18]
push esi
mov esi, ebx
call fcn.100397f0
add esp, 0x24
jmp 0x1003ba61
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push edx
push ebx
call fcn.1003b410
mov ecx, dword [esp + 0x138]
push ecx
push eax
push esi
push edi
call fcn.10011ff0
add esp, 0x1c
jmp 0x1003ba61
mov esi, dword [ebp + 0x14]
mov ebp, dword [ebp + 0x1c]
mov ecx, 0x10
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0xe0], 0x43
mov byte [esp + 0x60], 0x4e
lea ecx, [esp + 0x20]
mov dword [esp + 0x74], ecx
lea edx, [esp + 0x60]
mov dword [esp + 0xf4], edx
lea eax, [esp + 0xa0]
mov dword [esp + 0xf8], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x78], eax
mov byte [esp + 0xa0], 0x4c
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
mov dword [esp + 0xc4], eax
call fcn.1003b410
mov ecx, dword [esp + 0x138]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x13c]
push eax
push ecx
lea edx, [esp + 0xf4]
push edx
push ebx
mov byte [esp + 0x3c], 0x84
call fcn.1003b820
add esp, 0x1c
jmp 0x1003ba61
lea eax, [esp + 0x10]
push eax
push ebp
push ebx
call fcn.1003b410
mov edx, dword [esp + 0x138]
xor ecx, ecx
cmp dword [esp + 0x13c], ecx
setne cl
push ecx
push edx
push eax
push 0x44
push edi
call int.10011f50
add esp, 0x20
mov eax, dword [esp + 0x10]
push eax
push ebx
call fcn.10039740
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
call fcn.10039740
add esp, 0x10
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x110
ret