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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100608ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
cmp byte [ebp + 0x34], 0
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x34], ebx
je 0x1003bbd4
cmp byte [ebp + 8], 0
je 0x1003bb07
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov edi, dword [ebp + 0x24]
mov dword [esp + 0xd4], ebx
cmp dword [edi + 0x10], ebx
je 0x1003baec
push 0x2e
pop eax
push 2
mov dword [esp + 0x20], 0x9803ef00
mov ecx, ebx
mov word [esp + 0x24], 0x5af
mov word [esp + 0x1c], ax
pop esi
cmp esi, 2
jne 0x1003b94c
push 4
pop ecx
push ecx
pop esi
jmp 0x1003b973
movzx edx, byte [esp + esi + 0x1d]
mov eax, esi
sub eax, ecx
movzx eax, byte [esp + eax + 0x1a]
movzx eax, word [esp + eax*2 + 0x18]
mov ecx, eax
and eax, edx
or ecx, edx
sub ecx, eax
movzx eax, byte [esp + esi + 0x1c]
mov word [esp + eax*2 + 0x18], cx
mov ecx, ebx
add esi, 2
cmp esi, 6
jb 0x1003b940
xor eax, eax
mov dword [esp + 0x58], 7
mov word [esp + 0x1a], ax
lea ecx, [esp + 0x44]
mov word [esp + 0x44], ax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x58], ebx
call fcn.1001fe5c
lea eax, [esp + 0x44]
mov byte [esp + 0xd4], 1
push eax
mov edx, edi
lea ecx, [esp + 0x28]
call fcn.1003b148
pop ecx
push ebx
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0xdc], 3
call fcn.100021c8
mov edi, dword [esp + 0x28]
mov eax, edi
mov esi, dword [esp + 0x24]
sub eax, esi
push 0x18
cdq
pop ecx
idiv ecx
mov dword [esp + 0x18], ebx
test eax, eax
jne 0x1003bad8
push 0x2d
pop eax
mov word [esp + 0x30], ax
lea ecx, [esp + 0x5c]
xor eax, eax
mov dword [esp + 0x70], 7
mov word [esp + 0x32], ax
mov word [esp + 0x5c], ax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x70], ebx
call fcn.1001fe5c
mov edx, dword [ebp + 0x24]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xd8], 4
call fcn.1003b148
pop ecx
mov esi, eax
lea eax, [esp + 0x24]
cmp eax, esi
je 0x1003ba61
mov ecx, eax
call fcn.1003ed0a
mov ecx, dword [esi]
mov dword [esp + 0x24], ecx
mov eax, dword [esi + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x2c], eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
lea ecx, [esp + 0x74]
call fcn.1003ed0a
push ebx
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0xdc], 3
call fcn.100021c8
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x1003bad8
push esi
lea ecx, [esp + 0x84]
call fcn.10001c97
lea eax, [esp + 0x80]
mov byte [esp + 0xd4], 6
push eax
lea eax, [esp + 0x3c]
xor dl, dl
push 0x7f72
push eax
mov ecx, 0x1977
call fcn.1003d57e
add esp, 0xc
mov byte [esp + 0xd4], 3
lea ecx, [esp + 0x80]
push ebx
push 1
call fcn.100021c8
add esi, 0x18
cmp esi, edi
jne 0x1003ba88
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], bl
call fcn.1003ed0a
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x38]
push eax
call fcn.1003eae5
lea ecx, [esp + 0x38]
call fcn.1003ede3
jmp 0x1003bcad
mov dword [esp + 0x14], 0x5086
cmp dword [esp + 0x14], 0x5393
push 0
pop ebx
jle 0x1003bb7b
mov esi, ebx
mov edi, ebx
mov eax, ebx
mov dword [esp + 0x10], ebx
add eax, edi
lea ecx, [esp + 0x98]
add eax, esi
cdq
push edx
push eax
call fcn.10001a75
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003bb43
mov eax, dword [eax]
push eax
call fcn.10046d04
pop ecx
push ebx
push 1
lea ecx, [esp + 0xa0]
call fcn.1000205c
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x2e42
jl 0x1003bb26
inc edi
cmp edi, 0x47e2
jl 0x1003bb20
inc esi
cmp esi, 0x6415
jl 0x1003bb1e
cmp dword [esp + 0x14], 0x4ea4
jge 0x1003bb90
push str.ahj_fhlmmmz_tiut
call fcn.10046d04
pop ecx
mov edi, dword [ebp + 0x20]
mov dword [edi], 3
jmp 0x1003bbcb
mov edx, dword [ebp + 0x10]
mov ecx, dword [edi]
mov eax, dword [edx]
cmp dword [eax + ecx*4], ebx
jne 0x1003bcad
mov esi, dword [edi]
mov eax, 0xca9d
mov ecx, dword [edi]
mov edx, dword [edx]
sub eax, dword [edx + ecx*4]
xor ecx, ecx
imul eax, eax, 9
cmp dword [edx + esi*4], eax
mov eax, dword [ebp + 0x38]
setle cl
mov dword [eax], ecx
dec dword [edi]
cmp dword [edi], ebx
jge 0x1003bb9b
jmp 0x1003bcad
cmp byte [ebp + 0x1c], 0
je 0x1003bc9c
mov dword [esp + 0x10], 0x621d
cmp dword [esp + 0x10], 0x62f5
jle 0x1003bc55
xor ebx, ebx
mov esi, ebx
mov edi, ebx
mov eax, ebx
mov dword [esp + 0x14], ebx
add eax, edi
lea ecx, [esp + 0xb0]
and eax, esi
cdq
push edx
push eax
call fcn.10001a75
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003bc19
mov eax, dword [eax]
push eax
call fcn.10046d04
pop ecx
push ebx
push 1
lea ecx, [esp + 0xb8]
call fcn.1000205c
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x62dd
jl 0x1003bbfc
inc edi
cmp edi, 0x5f97
jl 0x1003bbf6
inc esi
cmp esi, 0x59dc
jl 0x1003bbf4
mov ebx, dword [esp + 0x34]
cmp dword [esp + 0x10], 0x60d7
jge 0x1003bc6a
push str.zfzzp_mdgydkk_angobygi_lqqc_culhxpxgm_rbjfgt_mtsj_bfbfx_ewaklizo_sztsvuui_duwmu_vdyrfgo_crhuwleu
call fcn.10046d04
pop ecx
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x2c]
mov eax, dword [eax]
mov eax, dword [edx]
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
mov eax, dword [edx]
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp + 0x3c]
sete dl
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [eax], 0x773196e8
mov dword [ebx], 0x199314e7
jmp 0x1003bcad
cmp dword [edx], 0xffffffff
je 0x1003bcad
push ecx
mov ecx, dword [ebp + 0x28]
push edx
call fcn.1003c145
pop ecx
pop ecx
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret