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

Disassembly:
push 0xffffffffffffffff
push 0x4ca5b8
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x521da0]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521da0]
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 0x471e42
call fcn.00496353
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.00402800
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 0x472107
mov ebp, ebx
jmp 0x471e89
mov eax, dword [esp + 0x5c]
cmp ebp, eax
jbe 0x471e96
call fcn.00496353
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x60], 0x10
mov ecx, dword [esp + 0x4c]
jae 0x471ea5
lea ecx, [esp + 0x4c]
mov bl, byte [ecx + ebp]
lea edi, [ebp + 2]
cmp edi, eax
jbe 0x471eb4
call fcn.00496353
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x471ec3
lea eax, [esp + 0x4c]
mov dl, byte [eax + edi]
push 0
push 0x4ce97b
lea ecx, [esp + 0x88]
mov byte [esp + 0x1d], dl
mov byte [esp + 0x1e], 0
call fcn.004028e0
push 0
push 0x4ce97b
lea ecx, [esp + 0x6c]
call fcn.004028e0
cmp bl, 0xff
jne 0x4722be
cmp byte [esp + 0x15], bl
jne 0x4722be
add ebp, 3
cmp ebp, dword [esp + 0x5c]
jbe 0x471f13
call fcn.00496353
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x471f22
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 0x471fb9
mov ebx, dword [esp + 0x18]
mov edi, ebp
add edi, 2
mov ebp, eax
cmp ebx, dword [esp + 0x5c]
jbe 0x471f4d
call fcn.00496353
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x471f5c
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.00402750
cmp edi, dword [esp + 0x5c]
jbe 0x471f81
call fcn.00496353
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x471f90
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.00402750
add ebx, 3
add edi, 3
sub ebp, 1
jne 0x471f42
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x18]
cmp edi, dword [esp + 0x5c]
jbe 0x471fc8
call fcn.00496353
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x471fd7
lea eax, [esp + 0x4c]
movsx ebx, byte [eax + edi]
inc edi
mov dword [esp + 0x18], edi
test ebx, ebx
jle 0x472062
mov ebp, dword [esp + 0x18]
add edi, 2
mov dword [esp + 0x20], ebx
cmp ebp, dword [esp + 0x5c]
jbe 0x471ffa
call fcn.00496353
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x472009
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.00402750
cmp edi, dword [esp + 0x5c]
jbe 0x47202b
call fcn.00496353
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x47203a
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.00402750
add ebp, 3
add edi, 3
sub dword [esp + 0x20], 1
jne 0x471fef
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 0x4721d1
mov edi, dword [esi + 0x1bc]
cmp edi, dword [esi + 0xb4]
mov ecx, dword [esi + 0x238]
mov dword [esi + 0x1c4], ecx
jge 0x472196
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 0x4721d1
mov dword [esi + 0x1b8], 0
mov ebx, 0x10
cmp dword [esp + 0x60], ebx
jb 0x47211f
mov eax, dword [esp + 0x4c]
push eax
call fcn.00485196
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 0x472146
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00485196
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], esi
mov byte [esp + 0x68], 0
cmp dword [esp + 0x98], ebx
jb 0x47216c
mov edx, dword [esp + 0x84]
push edx
call fcn.00485196
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.00496795
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 0x472107
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.00402800
mov ecx, dword [esp + 0x3c]
push ebx
push ecx
mov ecx, esi
call fcn.0046a670
lea eax, [ebx + ebx]
cmp eax, edi
mov dword [esp + 0x1c], eax
jle 0x4722ab
jmp 0x472220
cmp edi, dword [esp + 0x78]
jbe 0x47222b
call fcn.00496353
cmp dword [esp + 0x7c], 0x10
mov eax, dword [esp + 0x68]
jae 0x47223a
lea eax, [esp + 0x68]
mov bl, byte [eax + edi]
lea ebp, [edi + 1]
cmp ebp, dword [esp + 0x78]
jbe 0x47224b
call fcn.00496353
cmp dword [esp + 0x7c], 0x10
mov eax, dword [esp + 0x68]
jae 0x47225a
lea eax, [esp + 0x68]
mov cl, byte [eax + ebp]
mov al, byte [esi + 0xd15]
mov dl, byte [esi + 0x8c8]
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.0046fab0
mov edx, dword [esi + 0xc8]
add edx, dword [esi + 0x4d4]
add edi, 2
add dword [esi + 0x1c4], edx
cmp edi, dword [esp + 0x1c]
jl 0x472220
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov dword [esi + 0x570], eax
jmp 0x4723de
add ebp, 3
cmp bl, 0xfe
je 0x47238b
cmp byte [esp + 0x15], 0xfe
je 0x47238b
mov al, byte [esi + 0xd15]
mov cl, byte [esi + 0x8c8]
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.0046fab0
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 0x472379
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 0x472107
cmp byte [esp + 0x14], 0xfe
je 0x472374
cmp byte [esp + 0x15], 0xfe
jne 0x4723de
add ebp, 3
jmp 0x4723de
mov eax, dword [esi + 0xc8]
add eax, edx
add eax, ecx
mov dword [esi + 0x1c4], eax
jmp 0x4723de
cmp dword [esp + 0x28], 0
jne 0x4723de
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 0x472107
cmp ebp, dword [esp + 0x2c]
jl 0x471e85
jmp 0x472107