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

Disassembly:
push 0xffffffffffffffff
push 0x4cb8d8
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x522d80]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x522d80]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb0]
xor ebx, ebx
mov dword [esp + 0x24], eax
mov eax, 0xf
mov esi, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov ecx, dword [esi + 0x7f4]
sub ecx, dword [esi + 0x7f0]
mov edi, dword [esp + 0xb4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov byte [esp + 0xa8], 2
cmp edi, ecx
jb 0x472ec2
call fcn.00497123
mov eax, dword [esi + 0x7f0]
lea edx, [edi*8]
push 0xffffffffffffffff
sub edx, edi
lea eax, [eax + edx*4]
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.00402790
mov eax, dword [esp + 0x5c]
cmp eax, ebx
mov ecx, dword [esi + 0x238]
mov dword [esp + 0x2c], eax
mov dword [esi + 0x1c4], ecx
mov dword [esp + 0x18], ebx
jle 0x473187
mov ebp, ebx
jmp 0x472f09
mov eax, dword [esp + 0x5c]
cmp ebp, eax
jbe 0x472f16
call fcn.00497123
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x60], 0x10
mov ecx, dword [esp + 0x4c]
jae 0x472f25
lea ecx, [esp + 0x4c]
mov bl, byte [ecx + ebp]
lea edi, [ebp + 2]
cmp edi, eax
jbe 0x472f34
call fcn.00497123
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x472f43
lea eax, [esp + 0x4c]
mov dl, byte [eax + edi]
push 0
push 0x4cf96b
lea ecx, [esp + 0x88]
mov byte [esp + 0x1d], dl
mov byte [esp + 0x1e], 0
call fcn.00402870
push 0
push 0x4cf96b
lea ecx, [esp + 0x6c]
call fcn.00402870
cmp bl, 0xff
jne 0x47333e
cmp byte [esp + 0x15], bl
jne 0x47333e
add ebp, 3
cmp ebp, dword [esp + 0x5c]
jbe 0x472f93
call fcn.00497123
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x472fa2
lea eax, [esp + 0x4c]
movsx eax, byte [eax + ebp]
inc ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
test eax, eax
jle 0x473039
mov ebx, dword [esp + 0x18]
mov edi, ebp
add edi, 2
mov ebp, eax
cmp ebx, dword [esp + 0x5c]
jbe 0x472fcd
call fcn.00497123
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x472fdc
lea eax, [esp + 0x4c]
mov al, byte [eax + ebx]
mov byte [esp + 0x40], al
mov ecx, dword [esp + 0x40]
push ecx
push 1
lea ecx, [esp + 0x88]
call fcn.004026e0
cmp edi, dword [esp + 0x5c]
jbe 0x473001
call fcn.00497123
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x473010
lea eax, [esp + 0x4c]
mov dl, byte [eax + edi]
mov byte [esp + 0x3c], dl
mov eax, dword [esp + 0x3c]
push eax
push 1
lea ecx, [esp + 0x88]
call fcn.004026e0
add ebx, 3
add edi, 3
sub ebp, 1
jne 0x472fc2
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x18]
cmp edi, dword [esp + 0x5c]
jbe 0x473048
call fcn.00497123
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x473057
lea eax, [esp + 0x4c]
movsx ebx, byte [eax + edi]
inc edi
mov dword [esp + 0x18], edi
test ebx, ebx
jle 0x4730e2
mov ebp, dword [esp + 0x18]
add edi, 2
mov dword [esp + 0x20], ebx
cmp ebp, dword [esp + 0x5c]
jbe 0x47307a
call fcn.00497123
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x473089
lea eax, [esp + 0x4c]
mov cl, byte [eax + ebp]
mov byte [esp + 0x38], cl
mov edx, dword [esp + 0x38]
push edx
push 1
lea ecx, [esp + 0x6c]
call fcn.004026e0
cmp edi, dword [esp + 0x5c]
jbe 0x4730ab
call fcn.00497123
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x4730ba
lea eax, [esp + 0x4c]
mov al, byte [eax + edi]
mov byte [esp + 0x34], al
mov ecx, dword [esp + 0x34]
push ecx
push 1
lea ecx, [esp + 0x6c]
call fcn.004026e0
add ebp, 3
add edi, 3
sub dword [esp + 0x20], 1
jne 0x47306f
mov dword [esp + 0x18], ebp
mov ecx, dword [esi + 0x4d4]
mov eax, dword [esi + 0xc8]
add eax, ecx
imul eax, ebx
cdq
idiv dword [esp + 0x1c]
mov edx, dword [esi + 0x570]
mov dword [esp + 0x20], edx
lea edx, [ebx + 1]
imul edx, ecx
add edx, dword [esi + 0x1c4]
add edx, dword [esp + 0x30]
cmp edx, dword [esi + 0x23c]
mov dword [esp + 0x1c], eax
mov eax, 1
mov dword [esi + 0x570], eax
jl 0x473251
mov edi, dword [esi + 0x1bc]
cmp edi, dword [esi + 0xb4]
mov ecx, dword [esi + 0x238]
mov dword [esi + 0x1c4], ecx
jge 0x473216
add dword [esi + 0x1c0], eax
mov edx, dword [esi + 0x4d8]
add edx, dword [esi + 0xcc]
mov eax, dword [esi + 0x1b8]
add dword [esi + 0x1c8], edx
inc edi
add eax, 3
cmp dword [esp + 0x2c], eax
mov dword [esi + 0x1bc], edi
jg 0x473251
mov dword [esi + 0x1b8], 0
mov ebx, 0x10
cmp dword [esp + 0x60], ebx
jb 0x47319f
mov eax, dword [esp + 0x4c]
push eax
call fcn.00485fc1
add esp, 4
xor esi, esi
mov edi, 0xf
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], esi
mov byte [esp + 0x4c], 0
cmp dword [esp + 0x7c], ebx
jb 0x4731c6
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00485fc1
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], esi
mov byte [esp + 0x68], 0
cmp dword [esp + 0x98], ebx
jb 0x4731ec
mov edx, dword [esp + 0x84]
push edx
call fcn.00485fc1
add esp, 4
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00497565
add esp, 0x98
ret 8
mov eax, dword [esi + 0x4d8]
mov ecx, dword [esi + 0xcc]
mov edx, dword [esi + 0x1c8]
lea ebp, [ecx + eax]
lea ebp, [edx + ebp*2]
cmp ebp, 0xbe
jge 0x473187
add ecx, edx
add ecx, eax
inc edi
inc dword [esi + 0x1c0]
mov dword [esi + 0x1c8], ecx
mov dword [esi + 0x1bc], edi
mov edx, dword [esp + 0x24]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push 0xffffffffffffffff
xor edi, edi
push edi
lea eax, [esp + 0xa8]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
push eax
mov byte [ecx + 4], 0
call fcn.00402790
mov ecx, dword [esp + 0x3c]
push ebx
push ecx
mov ecx, esi
call fcn.0046b860
lea eax, [ebx + ebx]
cmp eax, edi
mov dword [esp + 0x1c], eax
jle 0x47332b
jmp 0x4732a0
cmp edi, dword [esp + 0x78]
jbe 0x4732ab
call fcn.00497123
cmp dword [esp + 0x7c], 0x10
mov eax, dword [esp + 0x68]
jae 0x4732ba
lea eax, [esp + 0x68]
mov bl, byte [eax + edi]
lea ebp, [edi + 1]
cmp ebp, dword [esp + 0x78]
jbe 0x4732cb
call fcn.00497123
cmp dword [esp + 0x7c], 0x10
mov eax, dword [esp + 0x68]
jae 0x4732da
lea eax, [esp + 0x68]
mov cl, byte [eax + ebp]
mov al, byte [esi + 0xcf9]
mov dl, byte [esi + 0x8ac]
add dl, al
dec dl
xor cl, dl
xor bl, al
push 0
mov byte [esp + 0x19], cl
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x20], bl
call fcn.00470b30
mov edx, dword [esi + 0xc8]
add edx, dword [esi + 0x4d4]
add edi, 2
add dword [esi + 0x1c4], edx
cmp edi, dword [esp + 0x1c]
jl 0x4732a0
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov dword [esi + 0x570], eax
jmp 0x47345e
add ebp, 3
cmp bl, 0xfe
je 0x47340b
cmp byte [esp + 0x15], 0xfe
je 0x47340b
mov al, byte [esi + 0xcf9]
mov cl, byte [esi + 0x8ac]
add cl, al
push 0
xor bl, al
mov eax, dword [esp + 0x28]
dec cl
xor byte [esp + 0x19], cl
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x20], bl
call fcn.00470b30
mov eax, dword [esi + 0xd4]
mov ecx, dword [esi + 0x4d4]
mov edx, dword [esi + 0x1c4]
add eax, eax
lea edi, [edx + ecx*2]
add edi, eax
cmp edi, dword [esi + 0x23c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], 0
jl 0x4733f9
mov ecx, dword [esi + 0x238]
mov eax, dword [esi + 0x4d8]
mov dword [esi + 0x1c4], ecx
mov ecx, dword [esi + 0xcc]
lea edx, [ecx + eax]
add dword [esi + 0x1c8], edx
mov edx, dword [esi + 0x1c8]
add edx, ecx
add edx, eax
cmp edx, 0xbe
jge 0x473187
cmp byte [esp + 0x14], 0xfe
je 0x4733f4
cmp byte [esp + 0x15], 0xfe
jne 0x47345e
add ebp, 3
jmp 0x47345e
mov eax, dword [esi + 0xc8]
add eax, edx
add eax, ecx
mov dword [esi + 0x1c4], eax
jmp 0x47345e
cmp dword [esp + 0x28], 0
jne 0x47345e
mov ecx, dword [esi + 0x238]
mov eax, dword [esi + 0x4d8]
mov dword [esi + 0x1c4], ecx
mov ecx, dword [esi + 0xcc]
lea edx, [ecx + eax]
add dword [esi + 0x1c8], edx
mov edx, dword [esi + 0x1c8]
mov edi, 1
add dword [esi + 0x1bc], edi
add dword [esi + 0x1c0], edi
add edx, ecx
add edx, eax
cmp edx, 0xbe
mov dword [esp + 0x28], edi
jge 0x473187
cmp ebp, dword [esp + 0x2c]
jl 0x472f05
jmp 0x473187