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

Disassembly:
sub esp, 0x64
mov eax, dword [0x10106040]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x70]
push esi
mov esi, dword [esp + 0x78]
push edi
mov edi, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
lea ebx, [edi + edx]
cmp edi, ebx
jae 0x1004a3c9
mov al, byte [edi]
lea ecx, [edi + 1]
cmp al, 0xff
jne 0x1004a3c9
cmp ecx, ebx
jae 0x1004a3a1
mov al, byte [ecx]
inc ecx
cmp al, 0xff
je 0x1004a394
jmp 0x1004a3a3
xor al, al
cmp al, 0xd8
jne 0x1004a3c9
sub esp, 8
mov ecx, edi
push esi
push ebp
call fcn.1004cf60
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100a9d10
add esp, 0x64
ret
push 0
mov edx, 1
mov dword [0x101109d0], 0x100eea04
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
call fcn.1004ea20
add esp, 4
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebx
test eax, eax
je 0x1004a42f
sub esp, 8
lea ecx, [esp + 0x4c]
mov edx, ebp
push esi
call fcn.1004f290
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100a9d10
add esp, 0x64
ret
lea ecx, [esp + 0x44]
call fcn.1004f340
test eax, eax
je 0x1004a472
push 4
push 0
push esi
mov edx, ebp
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
call fcn.1004f480
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100a9d10
add esp, 0x64
ret
cmp edi, ebx
jae 0x1004a49c
movzx ecx, byte [edi]
lea eax, [edi + 1]
cmp eax, ebx
jae 0x1004a49e
movzx eax, byte [eax]
lea edx, [edi + 2]
shl ecx, 8
add ecx, eax
cmp edx, ebx
jae 0x1004a4a1
movzx eax, byte [edx]
inc edx
cmp edx, ebx
jae 0x1004a4a3
movzx edx, byte [edx]
jmp 0x1004a4a5
xor ecx, ecx
shl ecx, 8
xor eax, eax
xor edx, edx
shl ecx, 8
add ecx, eax
mov dword [esp + 0x2c], 0
shl ecx, 8
add ecx, edx
mov dword [esp + 0x30], edi
cmp ecx, 0x38425053
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x1c]
jne 0x1004a4ec
sub esp, 8
mov edx, ebp
push esi
call fcn.10050870
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100a9d10
add esp, 0x64
ret
call fcn.10051510
test eax, eax
je 0x1004a52a
sub esp, 8
mov dword [esp + 0x5c], 0
mov edx, ebp
mov dword [esp + 0x60], edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], ebx
push esi
call fcn.10051c20
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100a9d10
add esp, 0x64
ret
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
call fcn.10050c80
test eax, eax
je 0x1004a58d
sub esp, 8
mov dword [esp + 0x5c], 0
mov edx, ebp
mov dword [esp + 0x60], edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], ebx
push esi
call fcn.10050f50
mov edx, dword [ebp]
add esp, 0xc
mov ecx, eax
push 4
push dword [esi]
call fcn.1004ab30
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100a9d10
add esp, 0x64
ret
xor esi, esi
cmp dword [0x1010e6c4], esi
jle 0x1004a5c0
nop word [eax + eax]
mov eax, dword [esi*4 + 0x1010e6c8]
push dword [esp + 0x14]
push edi
mov eax, dword [eax]
call eax
add esp, 8
test eax, eax
jne 0x1004a616
inc esi
cmp esi, dword [0x1010e6c4]
jl 0x1004a5a0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
call fcn.10050170
test eax, eax
je 0x1004a646
push 4
push 0
push dword [esp + 0x20]
mov edx, ebp
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], ebx
call fcn.100502c0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100a9d10
add esp, 0x64
ret
mov eax, dword [esi*4 + 0x1010e6c8]
push 4
push 0
push dword [esp + 0x20]
mov eax, dword [eax + 4]
push ebp
push dword [esp + 0x24]
push edi
call eax
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100a9d10
add esp, 0x64
ret
mov ecx, dword [esp + 0x6c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov dword [0x101109d0], 0x100ee93c
call fcn.100a9d10
add esp, 0x64
ret