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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x605094
sub esp, 0x58
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x34], ecx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0x5c]
lea edi, [esi + 0xc]
mov dword [esp + 0x54], edi
cmp dword [esi + 0x14], ecx
jge 0x604e7f
lea eax, [0x69bdc0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov ebx, dword [0x1eaa9f0]
test ebx, ebx
jne 0x604e4f
mov dword [edx + 0xc], eax
mov edi, dword [esp + 0x54]
jmp 0x604e58
mov edi, dword [esp + 0x54]
call fcn.00465d80
xor eax, eax
jmp 0x604e62
mov word [ebp + eax*2], ax
inc eax
cmp eax, ecx
jge 0x604e75
mov ebx, dword [edx + 0x10]
mov ebp, dword [edx + 0xc]
cmp eax, ebx
jb 0x604e5c
jmp 0x60508c
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x30]
mov esi, edx
mov edx, dword [esi + 0x14]
mov eax, edi
mov edi, dword [esi + 0xc]
cmp edx, ecx
jb 0x605087
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], edi
cmp edx, ebx
jge 0x604f16
lea eax, [0x69bdc0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov ebx, dword [0x1eaa9f0]
test ebx, ebx
jne 0x604ed6
mov dword [edx + 0xc], eax
mov edi, dword [esp + 0x54]
jmp 0x604edf
mov edi, dword [esp + 0x54]
call fcn.00465d80
xor eax, eax
jmp 0x604ee9
mov word [ebp + eax*2], ax
inc eax
cmp eax, ecx
jge 0x604efc
mov ebx, dword [edx + 0x10]
mov ebp, dword [edx + 0xc]
cmp eax, ebx
jb 0x604ee3
jmp 0x605080
mov eax, edi
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x50]
mov edi, dword [esi + 0x14]
mov esi, dword [esi + 0xc]
cmp edi, ebx
jb 0x605077
cmp ebx, 1
jb 0x60506b
lea ebx, [edi - 1]
mov dword [esp + 0x3c], ebx
neg ebx
sar ebx, 0x1f
and ebx, 2
add ebx, esi
mov dword [esp + 0x4c], ebx
cmp edi, ebp
jge 0x604f8d
lea eax, [0x69bdc0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov ebx, dword [0x1eaa9f0]
test ebx, ebx
jne 0x604f7d
mov dword [edx + 0xc], eax
jmp 0x604f86
mov edi, dword [esp + 0x54]
call fcn.00465d80
xor eax, eax
jmp 0x60503f
mov eax, dword [esp + 0x5c]
mov esi, dword [eax + 0x14]
mov edi, dword [eax + 0xc]
cmp esi, ebp
jb 0x605030
mov dword [esp + 0x38], esi
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00603510
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x44]
dec ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
call fcn.006050a0
movzx eax, byte [esp + 0x2c]
mov byte [esp + 0x98], al
add esp, 0x58
ret
mov ecx, ebp
mov edx, esi
call fcn.00465e40
mov word [ebp + eax*2], ax
inc eax
cmp eax, ecx
jge 0x60504f
mov ebx, dword [edx + 0x10]
mov ebp, dword [edx + 0xc]
cmp eax, ebx
jb 0x605039
jmp 0x605064
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x30]
jmp 0x604f8d
mov ecx, ebx
call fcn.00465e00
mov eax, 1
xor ecx, ecx
call fcn.00465e60
mov ecx, ebx
mov edx, edi
call fcn.00465e40
mov ecx, ebx
call fcn.00465e00
call fcn.00465e40
mov ecx, ebx
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.00604dd0