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

Disassembly:
mov eax, dword [ebp + 0x40]
add eax, 1
mov dword [ebp + 0x40], eax
cmp dword [ebp + 0x40], 8
jge 0x200460a
mov dword [ebp + 0x50], 0
jmp 0x20045db
mov ecx, dword [ebp + 0x50]
add ecx, 1
mov dword [ebp + 0x50], ecx
cmp dword [ebp + 0x50], 8
jge 0x2004608
movsx edx, byte [ebp + 0x77]
cmp edx, 0x58
jge 0x20045fc
movsx eax, byte [ebp + 0x77]
mov ecx, dword [ebp + 0x40]
imul ecx, dword [ebp + 0x50]
add eax, ecx
mov byte [ebp + 0x77], al
jmp 0x2004606
movsx edx, byte [ebp + 0x77]
sub edx, dword [ebp + 0x50]
mov byte [ebp + 0x77], dl
jmp 0x20045d2
jmp 0x20045ba
mov dword [ebp + 0x6c], 6
imul eax, dword [ebp + 0x6c], 0x61
mov ecx, dword [ebp + 0x6c]
lea edx, [eax + ecx - 0x61]
mov dword [ebp + 0x6c], edx
mov eax, 0x3e
mov word [ebp + 0x68], ax
mov dword [ebp + 0x2c], 0
jmp 0x200463a
mov ecx, dword [ebp + 0x2c]
add ecx, 1
mov dword [ebp + 0x2c], ecx
cmp dword [ebp + 0x2c], 8
jge 0x200464b
mov edx, dword [ebp + 0x6c]
sub edx, 0x64
mov dword [ebp + 0x6c], edx
jmp 0x2004631
cmp dword [ebp + 0x6c], 0x74
jge 0x200465c
mov eax, dword [ebp + 0x6c]
add eax, 0x30
mov dword [ebp + 0x6c], eax
jmp 0x200464b
movsx ecx, word [ebp + 0x68]
imul edx, ecx, 0x168
movsx eax, word [ebp + 0x68]
add edx, eax
movsx ecx, word [ebp + 0x68]
sub ecx, 0x92e
movsx eax, word [ebp + 0x68]
sub ecx, eax
lea ecx, [edx + ecx - 0x168]
mov word [ebp + 0x68], cx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 3
mov edx, dword [ebp - 8]
mov dword [ebp + 0x18], edx
cmp dword [ebp + 0x18], 0
je 0x20046a9
cmp dword [ebp + 0x18], 1
je 0x20046b4
jmp 0x20046bf
mov eax, dword [ebp + 0x6c]
add eax, 1
mov dword [ebp + 0x6c], eax
jmp 0x20046c5
mov ecx, dword [ebp + 0x6c]
sub ecx, 1
mov dword [ebp + 0x6c], ecx
jmp 0x20046c5
mov edx, dword [ebp + 0x6c]
mov dword [ebp + 0x6c], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x14], 0
je 0x20046d9
cmp dword [ebp + 0x14], 1
je 0x20046e4
jmp 0x20046ef
mov ecx, dword [ebp + 0x6c]
add ecx, 2
mov dword [ebp + 0x6c], ecx
jmp 0x20046f5
mov edx, dword [ebp + 0x6c]
sub edx, 2
mov dword [ebp + 0x6c], edx
jmp 0x20046f5
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x6c], eax
movsx ecx, word [ebp + 0x68]
sub ecx, 0x56
mov word [ebp + 0x68], cx
mov edx, 0x34
mov word [ebp - 4], dx
mov dword [ebp + 0x70], 0x2019122
mov eax, dword [ebp + 0x70]
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0xc4]
push ecx
call fcn.0200424d
add esp, 4
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 0x6c]
push eax
lea ecx, [ebp - 0xc4]
push ecx
call fcn.02004afd
add esp, 8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 0x34]
push eax
lea ecx, [ebp - 0xc4]
push ecx
call fcn.02004afd
add esp, 8
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 0x38]
push eax
mov ecx, dword [ebp + 0x70]
mov edx, dword [ecx + 0x20]
push edx
call dword [ebp - 0x10]
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x50]
push ecx
lea edx, [ebp - 0xc4]
push edx
call fcn.02004afd
add esp, 8
mov dword [ebp - 0x14], eax
push 0x1e8
mov eax, dword [ebp + 0x58]
push eax
push 0
call dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x70]
mov edx, dword [ecx + 0x10]
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x5c], eax
mov ecx, dword [ebp + 0x5c]
mov edx, dword [ebp + 0x58]
movzx eax, word [edx + ecx*2 - 2]
mov ecx, dword [ebp + 0x70]
movzx edx, word [ecx + 0x68]
cmp eax, edx
je 0x20047d1
xor eax, eax
mov ecx, dword [ebp + 0x5c]
mov edx, dword [ebp + 0x58]
mov word [edx + ecx*2], ax
mov eax, dword [ebp + 0x5c]
sub eax, 1
mov dword [ebp + 0x5c], eax
jmp 0x20047a4
mov dword [ebp + 0x3c], 0
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp + 0x3c]
movsx edx, byte [ecx]
test edx, edx
je 0x200480d
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0x3c]
movsx cx, byte [eax]
mov edx, dword [ebp + 0x5c]
mov eax, dword [ebp + 0x58]
mov word [eax + edx*2], cx
mov ecx, dword [ebp + 0x5c]
add ecx, 1
mov dword [ebp + 0x5c], ecx
mov edx, dword [ebp + 0x3c]
add edx, 1
mov dword [ebp + 0x3c], edx
jmp 0x20047d8
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x64]
push ecx
lea edx, [ebp - 0xc4]
push edx
call fcn.02004afd
add esp, 8
mov dword [ebp - 0x1c], eax
push 0
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 0x70]
mov eax, dword [edx + 0x44]
push eax
push 0
mov ecx, dword [ebp + 0x70]
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp + 0x58]
push edx
call dword [ebp - 0x1c]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x58]
push ecx
lea edx, [ebp - 0xc4]
push edx
call fcn.02004afd
add esp, 8
mov dword [ebp - 0x20], eax
push 0
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x20]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x200488a
mov ecx, dword [ebp + 0x70]
mov edx, dword [ecx + 0x20]
push edx
call dword [ebp - 0x24]
jmp 0x2004a80
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x64], eax
mov ecx, dword [ebp + 0x70]
mov edx, dword [ecx + 0x1c]
push edx
lea eax, [ebp - 0xc4]
push eax
call fcn.02004afd
add esp, 8
mov dword [ebp - 0x28], eax
push 0