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

Disassembly:
mov ecx, dword [0x59a8c0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4734ab
sub esp, 0x58
mov ebx, dword [esp + 0x68]
test ebx, ebx
jge 0x473193
mov ebp, dword [esp + 0x60]
inc ebp
mov esi, dword [esp + 0x64]
cmp esi, ebp
jb 0x473152
mov eax, dword [esp + 0x5c]
jmp 0x47318a
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4ac540]
mov dword [esp + 0x10], eax
call fcn.0044a670
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x68]
mov esi, ecx
mov byte [ebp + eax - 1], 0x2d
neg ebx
jmp 0x47319f
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x6c]
cmp edi, 2
jne 0x47322d
cmp ebx, 0x64
jae 0x47322d
lea ecx, [ebp + 2]
mov edx, eax
mov eax, ebx
mov ebp, 0xcccccccd
mov edi, edx
mul ebp
shr edx, 3
lea ebp, [edx + edx*4]
shl ebp, 1
sub ebx, ebp
cmp esi, ecx
jae 0x47320f
mov dword [esp + 0x50], edx
mov dword [esp + 0x2c], ebx
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 2
lea eax, [0x4ac540]
mov dword [esp + 0x10], eax
call fcn.0044a670
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x2c]
mov edi, eax
lea eax, [edx + 0x30]
mov byte [ecx + edi - 2], al
lea eax, [ebx + 0x30]
mov byte [ecx + edi - 1], al
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], esi
add esp, 0x58
ret
mov dword [esp + 0x54], eax
cmp edi, 4
jne 0x473344
cmp ebx, 0x2710
jae 0x473344
lea ecx, [ebp + 4]
mov dword [esp + 0x4c], ecx
mov edx, ebx
shr ebx, 1
mov eax, 0xa3d70a3e
mov edi, edx
mul ebx
shr edx, 5
mov eax, 0xcccccccd
mov ebx, edx
mul edx
shr edx, 3
lea edx, [edx + edx*4]
shl edx, 1
mov dword [esp + 0x48], edx
mov eax, edi
mov ebp, 0xcccccccd
mul ebp
shr edx, 3
mov eax, ebp
mov ebp, edx
mul edx
shr edx, 3
lea edx, [edx + edx*4]
shl edx, 1
mov dword [esp + 0x44], edx
lea eax, [ebp + ebp*4]
shl eax, 1
mov dword [esp + 0x40], eax
mov eax, edi
mov ecx, 0x83126e98
mul ecx
mov ecx, dword [esp + 0x48]
sub ebx, ecx
mov ecx, dword [esp + 0x44]
sub ebp, ecx
mov ecx, dword [esp + 0x40]
sub edi, ecx
mov ecx, dword [esp + 0x4c]
cmp esi, ecx
jb 0x4732c3
mov eax, dword [esp + 0x54]
jmp 0x473315
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 4
lea eax, [0x4ac540]
mov dword [esp + 0x10], eax
call fcn.0044a670
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
shr edx, 9
add edx, 0x30
mov byte [ecx + eax - 4], dl
lea edx, [ebx + 0x30]
mov byte [ecx + eax - 3], dl
lea edx, [ebp + 0x30]
mov byte [ecx + eax - 2], dl
lea edx, [edi + 0x30]
mov byte [ecx + eax - 1], dl
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], esi
add esp, 0x58
ret
mov dword [esp + 0x30], ebx
test ebx, ebx
sete cl
movzx ecx, cl
mov edx, ebx
jmp 0x473369
mov eax, 0xcccccccd
mul ebx
shr edx, 3
inc ecx
mov eax, dword [esp + 0x54]
mov ebx, edx
mov edx, dword [esp + 0x30]
test ebx, ebx
ja 0x473354
mov dword [esp + 0x38], ecx
sub edi, ecx
jmp 0x47337d
mov byte [ebx + eax - 1], 0x30
dec edi
mov ebp, ebx
test edi, edi
jle 0x4733c8
lea ebx, [ebp + 1]
cmp esi, ebx
jae 0x473375
mov dword [esp + 0x34], edi
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4ac540]
mov dword [esp + 0x10], eax
call fcn.0044a670
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
jmp 0x473375
lea ebx, [ecx + ebp]
cmp esi, ebx
jl 0x4733d6
jae 0x47343c
jmp 0x4734a1
test ecx, ecx
jl 0x47349c
cmp esi, ebx
jae 0x473410
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
lea eax, [0x4ac540]
mov dword [esp + 0x10], eax
call fcn.0044a670
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], eax
sub ebx, ecx
add ebx, eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00463400
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x4c]
lea ebp, [ebx - 1]
jmp 0x47344c
add edi, 0x30
xchg edi, eax
mov byte [ecx + ebp], al
xchg edi, eax
dec ebp
mov eax, ecx
cmp edx, 0xa
jb 0x473470
test ebp, ebp
jle 0x473470
mov ecx, eax
mov eax, 0xcccccccd
mov edi, edx
mul edx
shr edx, 3
lea eax, [edx + edx*4]
shl eax, 1
sub edi, eax
cmp ebp, ebx
jb 0x473441
jmp 0x473493
cmp ebp, ebx
jae 0x47348a
lea ecx, [edx + 0x30]
mov byte [eax + ebp], cl
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], esi
add esp, 0x58
ret
mov eax, ebp
mov ecx, ebx
call fcn.00462da0
mov eax, ebp
mov ecx, ebx
call fcn.00462da0
call fcn.0044a420
mov ecx, ebx
mov edx, esi
call fcn.00462de0
nop
call fcn.00461920
jmp fcn.00473120