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

Disassembly:
sub esp, 0x4c
push ebx
mov ebx, dword [esp + 0x68]
lea eax, [esp + 0x20]
push ebp
push esi
push edi
push eax
push dword [ebx + 0xc]
mov dword [esp + 0x20], 0
xor esi, esi
call fcn.1000d1d0
lea eax, [esp + 0x44]
push eax
push dword [ebx + 0xc]
call fcn.1000d1d0
lea eax, [esp + 0x5c]
push eax
push dword [ebx + 0xc]
call fcn.1000d1d0
push 0x1f4
push dword [ebx + 0xc]
call fcn.10050640
mov ebp, eax
add esp, 0x20
test ebp, ebp
jne 0x1003af2a
lea edi, [esi + 0x10]
jmp 0x1003b2ed
push 0x1f4
push 0
push ebp
call fcn.100506f0
push 0x200
push dword [ebx + 0xc]
call fcn.10050640
add esp, 0x14
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1003af57
lea edi, [eax + 0x10]
jmp 0x1003b2b4
push 0x200
push 0
push eax
call fcn.100506f0
push 0x35
push dword [ebx + 0xc]
call fcn.10050640
mov esi, eax
add esp, 0x14
mov dword [esp + 0x10], esi
test esi, esi
jne 0x1003af83
lea edi, [eax + 0x10]
jmp 0x1003b2b4
push 0x35
push 0
push esi
call fcn.100506f0
lea eax, [esp + 0x58]
push eax
push 1
call fcn.1000d530
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x1003b2b4
cmp dword [esp + 0x68], 1
mov esi, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
push esi
jne 0x1003afc2
push ebx
push dword [esp + 0x74]
call fcn.1003acf0
jmp 0x1003afd2
lea eax, [ebx + 7]
shr eax, 3
push eax
push dword [esp + 0x74]
call fcn.1000d560
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1003b2ac
cmp dword [esp + 0x64], 1
jne 0x1003affd
lea eax, [ebx - 2]
push esi
push eax
call fcn.1000d790
mov edi, eax
add esp, 8
test edi, edi
jne 0x1003b2ac
lea eax, [ebx - 1]
push esi
push eax
call fcn.1000d790
mov edi, eax
add esp, 8
test edi, edi
jne 0x1003b2ac
mov edi, dword [esp + 0x78]
lea eax, [ebx + 7]
shr eax, 3
push edi
lea esi, [eax*8 + 8]
call fcn.1000d6c0
add esp, 4
cmp esi, eax
cmovbe eax, esi
mov dword [esp + 0x24], eax
cmp ebx, eax
jae 0x1003b05d
mov esi, eax
lea ecx, [ecx]
push edi
push ebx
call fcn.1000d6f0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1003b2ac
mov edi, dword [esp + 0x78]
inc ebx
cmp ebx, esi
jb 0x1003b040
push edi
push 0
call fcn.1000d790
mov edi, eax
add esp, 8
test edi, edi
jne 0x1003b2ac
lea esi, [eax + 3]
mov dword [esp + 0x24], edi
mov eax, 0x203
mov dword [esp + 0x20], 0xfffffdfd
mov dword [esp + 0x1c], eax
lea edi, [esi - 6]
lea ecx, [ecx]
push dword [esp + 0x18]
push dword [esp + 0x14]
push eax
push esi
push 0x35
call fcn.1003ade0
add esp, 0x14
test eax, eax
jne 0x1003b14c
xor ebx, ebx
add edi, dword [esp + 0x18]
cmp byte [edi + esi], 0
jne 0x1003b10d
lea eax, [esp + 0x28]
push eax
push esi
push dword [esp + 0x80]
call fcn.1000f990
add esp, 0xc
test eax, eax
jne 0x1003b11b
mov ecx, dword [esp + 0x28]
test cl, 1
je 0x1003b0e2
mov eax, esi
sub eax, ecx
shr eax, 1
jmp 0x1003b0f0
test ecx, ecx
je 0x1003b0ee
shr ecx, 1
mov eax, esi
sub eax, ecx
jmp 0x1003b0f0
xor eax, eax
cmp eax, 0x1f4
jae 0x1003b10d
jmp 0x1003b100
mov byte [eax + ebp], 1
add eax, esi
cmp eax, 0x1f4
jb 0x1003b100
add ebx, 2
add esi, 2
cmp ebx, 0x200
jb 0x1003b0b2
mov eax, dword [esp + 0x1c]
mov esi, eax
mov ecx, dword [esp + 0x20]
add eax, 0x200
mov ebx, dword [esp + 0x24]
mov edi, ecx
inc ebx
mov dword [esp + 0x1c], eax
sub ecx, 0x200
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ecx
cmp ebx, 0x7e
jb 0x1003b090
mov ebx, dword [esp + 0x7c]
xor esi, esi
mov dword [esp + 0x14], 0
lea ebx, [ebx]
cmp byte [esi + ebp], 0
jbe 0x1003b1a9
xor eax, eax
jmp 0x1003b170
inc esi
add eax, 2
cmp esi, 0x1f4
je 0x1003b33a
cmp byte [esi + ebp], 0
jne 0x1003b170
cmp esi, 0x1f4
je 0x1003b33a
push dword [esp + 0x78]
push eax
call fcn.1000d8e0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1003b2ac
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x7c]
call fcn.1000d9b0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1003b2ac
cmp dword [esp + 0x60], 1
jne 0x1003b1e4
lea eax, [esp + 0x2c]
push eax
push 1
call fcn.1000dab0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1003b2ac
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x7c]
call fcn.1000fa30
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1003b2ac
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1000d940
add esp, 8
test eax, eax
jne 0x1003b278
mov edi, dword [esp + 0x78]
push edi
mov dword [esp + 0x18], eax
call fcn.1000d6c0
xor ecx, ecx
cmp eax, 0x600
push ebx
setl cl
lea eax, [esp + 0x1c]
push eax
push edi
lea ecx, [ecx*2 + 6]
push ecx
push 0
call fcn.100427b0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x1003b2ac
cmp dword [esp + 0x14], eax
je 0x1003b274
push ebx
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x80]
call fcn.100423f0
push eax
call fcn.10051300
add esp, 0x10
mov edi, eax
test edi, edi
jne 0x1003b2ac
cmp dword [esp + 0x14], 0
jne 0x1003b2ac
push dword [esp + 0x78]
push 2
call fcn.1000d8e0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1003b2ac
inc esi
cmp esi, 0x1f4
jb 0x1003b160
cmp dword [esp + 0x14], edi
mov eax, 8
cmove edi, eax
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x74]
push 0x1f4
push 0
push ebp
call fcn.100506f0
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x1003b2dc
push 0x200
push 0
push eax
call fcn.100506f0
add esp, 0xc
test esi, esi
je 0x1003b2ed
push 0x35
push 0
push esi
call fcn.100506f0
add esp, 0xc
push ebp
push dword [ebx + 0xc]
call fcn.10050630
push dword [esp + 0x20]
push dword [ebx + 0xc]
call fcn.10050630
push esi
push dword [ebx + 0xc]
call fcn.10050630
lea eax, [esp + 0x44]
push eax
call fcn.1000d1f0
lea eax, [esp + 0x58]
push eax
call fcn.1000d1f0
lea eax, [esp + 0x6c]
push eax
call fcn.1000d1f0
add esp, 0x24
test edi, edi
jne 0x1003b344
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4c
ret
mov edi, 8
jmp 0x1003b2ac
push edi
call fcn.10051300
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret