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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x70], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x58]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
jne 0x10004641
cmp dword [ebp - 0x70], 1
je 0x1000463f
xor eax, eax
jmp 0x10004875
jmp 0x10004665
mov edx, dword [ebp - 0x50]
movzx eax, word [edx + 0x18]
cmp eax, 0x20b
jne 0x1000465e
cmp dword [ebp - 0x70], 2
je 0x1000465c
xor eax, eax
jmp 0x10004875
jmp 0x10004665
xor eax, eax
jmp 0x10004875
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x50]
lea ecx, [eax + edx + 0x78]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
add eax, dword [edx]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x58]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x58]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x60]
sub eax, 1
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x7c], 0
je 0x10004873
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
add edx, dword [ecx]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
push eax
call fcn.10003cf0
add esp, 4
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], eax
jne 0x1000485c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x6c]
movzx edx, word [ecx]
mov eax, dword [ebp - 0x64]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp + 8]
add eax, dword [edx]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x50]
jbe 0x10004857
mov edx, dword [ebp - 0x50]
add edx, dword [ebp - 0x84]
cmp dword [ebp - 0x68], edx
jae 0x10004857
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x4c]
movsx edx, byte [ecx]
cmp edx, 0x2e
je 0x10004775
cmp dword [ebp - 0x4c], 0x3c
jge 0x10004775
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x4c]
mov dl, byte [eax]
mov byte [ebp + ecx - 0x44], dl
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
jmp 0x10004747
cmp dword [ebp - 0x4c], 0x3c
jl 0x10004782
xor eax, eax
jmp 0x10004875
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x54]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x4c]
mov byte [ebp + ecx - 0x44], 0x2e
mov edx, dword [ebp - 0x4c]
add edx, 1
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov byte [ebp + eax - 0x44], 0x64
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov byte [ebp + edx - 0x44], 0x6c
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov byte [ebp + ecx - 0x44], 0x6c
mov edx, dword [ebp - 0x4c]
add edx, 1
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x40
jae 0x100047e1
jmp 0x100047e6
call fcn.10004c5a
mov ecx, dword [ebp - 0x74]
mov byte [ebp + ecx - 0x44], 0
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x54]
movsx eax, byte [edx]
cmp eax, 0x23
jne 0x1000482c
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
movsx eax, byte [edx]
test eax, eax
je 0x10004826
imul ecx, dword [ebp - 0x48], 0xa
mov edx, dword [ebp - 0x54]
movsx eax, byte [edx]
lea ecx, [ecx + eax - 0x30]
mov dword [ebp - 0x48], ecx
jmp 0x10004800
lea edx, [ebp - 0x48]
mov dword [ebp - 0x54], edx
lea eax, [ebp - 0x44]
push eax
call fcn.10004980
call eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x10004851
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x78]
push edx
call fcn.100049a0
call eax
jmp 0x10004875
xor eax, eax
jmp 0x10004875
mov eax, dword [ebp - 0x68]
jmp 0x10004875
mov eax, dword [ebp - 0x5c]
add eax, 4
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x6c]
add ecx, 2
mov dword [ebp - 0x6c], ecx
jmp 0x100046bb
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004b2a
mov esp, ebp
pop ebp
ret