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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x497f44
sub esp, 0x74
mov eax, dword [esp + 0x78]
movzx ecx, byte [eax + 5]
test cl, cl
je 0x497efb
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x44], ecx
lea edx, [eax + 0x18]
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], 0x44
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0xc], xmm0
mov edx, dword [esp + 0x88]
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x1c], ebx
call fcn.0045fc40
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
cmp edx, 1
jbe 0x497f37
movzx ebx, byte [ecx + 1]
cmp bl, 0x2d
jne 0x497ee6
lea ebx, [eax - 1]
lea ebp, [ecx + 1]
dec edx
mov esi, dword [esp + 0x78]
movzx edi, byte [esi + 9]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4978b4
test edx, edx
jbe 0x497f2e
cmp byte [ebp], 0x2b
jne 0x4978b4
movzx edi, byte [esi + 7]
xchg edi, eax
test al, al
xchg edi, eax
je 0x497edd
cmp edx, 1
jbe 0x497f22
movzx edi, byte [ebp + 1]
xchg edi, eax
cmp al, 0x49
xchg edi, eax
je 0x497e92
xchg edi, eax
cmp al, 0x4e
xchg edi, eax
je 0x497e92
movzx edi, byte [esi + 8]
xchg edi, eax
test al, al
xchg edi, eax
je 0x497e89
mov edi, dword [esp + 0x88]
cmp edi, 0x62
je 0x497e89
cmp edi, 0x67
jg 0x497e75
cmp edi, 0x47
jne 0x497e63
mov eax, esi
mov esi, dword [esp + 0x44]
cmp esi, 0xffffffff
jne 0x497e5c
mov ecx, 6
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x52], 0
mov word [esp + 0x56], 0
mov esi, 1
xor esi, esi
xchg esi, eax
mov byte [esp + 0x2e], al
xchg esi, eax
mov esi, 6
mov dword [esp + 0x34], esi
xor esi, esi
mov dword [esp + 0x30], esi
lea esi, [esp + 0x52]
mov dword [esp + 0x58], esi
mov esi, 1
jmp 0x497966
inc esi
mov byte [esp + 0x2e], bl
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x44], ecx
cmp esi, edx
jge 0x497b36
jae 0x497f19
mov dword [esp + 0x40], esi
movzx ebx, byte [ebp + esi]
cmp bl, 0x45
ja 0x497a66
cmp bl, 0x2e
jne 0x497996
mov ebx, 1
jmp 0x49795d
cmp bl, 0x45
jne 0x4979a5
cmp edi, 0x78
je 0x4979a5
cmp edi, 0x58
jne 0x4979ad
dec ecx
movzx ebx, byte [esp + 0x2e]
jmp 0x49795d
sub edx, esi
mov ebx, dword [esp + 0x30]
lea eax, [ebx + edx]
mov dword [esp + 0x4c], eax
mov edi, dword [esp + 0x3c]
sub edi, esi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, esi
add edi, ebp
mov ebp, dword [esp + 0x34]
cmp eax, ebp
ja 0x497a1f
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x58]
lea ecx, [eax + ebx]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], edx
call fcn.00456180
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x88]
mov edx, esi
movzx ebx, byte [esp + 0x2e]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
jmp 0x49795d
mov dword [esp + 0x48], edx
mov dword [esp + 0x70], edi
lea ecx, [0x4c7880]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.0043fbe0
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x58], eax
jmp 0x4979d5
cmp bl, 0x50
je 0x497a7d
cmp bl, 0x65
je 0x49799b
cmp bl, 0x70
jne 0x4979a5
sub edx, esi
mov ebx, dword [esp + 0x30]
lea eax, [ebx + edx]
mov dword [esp + 0x4c], eax
mov edi, dword [esp + 0x3c]
sub edi, esi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, esi
add edi, ebp
mov ebp, dword [esp + 0x34]
cmp eax, ebp
ja 0x497aef
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x58]
lea ecx, [eax + ebx]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], edx
call fcn.00456180
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x88]
mov edx, esi
movzx ebx, byte [esp + 0x2e]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
jmp 0x49795d
mov dword [esp + 0x48], edx
mov dword [esp + 0x70], edi
lea ecx, [0x4c7880]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.0043fbe0
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x58], eax
jmp 0x497aa5
movzx esi, byte [esp + 0x2e]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x497b4e
jmp 0x497e0a
mov byte [ebp + edx], 0x30
dec ecx
mov edx, esi
mov dword [esp + 0x38], edx
test ecx, ecx
jle 0x497b9c
lea esi, [edx + 1]
cmp esi, ebx
jbe 0x497b46
mov dword [esp + 0x44], ecx
lea eax, [0x4c7880]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.0043fbe0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
jmp 0x497b46
mov ecx, dword [esp + 0x30]
lea esi, [ecx + edx]
mov dword [esp + 0x4c], esi
cmp esi, ebx
ja 0x497dd7
mov dword [esp + 0x60], ebp
mov dword [esp + 0x3c], ebx
lea eax, [ebp + edx]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00456180
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x78]
movzx ebp, byte [ebx + 7]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x497d9e
movzx ebp, byte [ebx + 0xa]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x497d86
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x497d86
cmp dword [ebx + 0x10], edx
jle 0x497d86
mov ebp, dword [ebx]
test edx, edx
jbe 0x497f07
mov dword [esp + 0x60], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
movzx esi, byte [eax]
mov edi, dword [ebp]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
lea edx, [eax + 1]
cmp edx, ecx
ja 0x497d24
lea ecx, [eax + 1]
mov dword [ebp + 4], ecx
xchg esi, ebx
mov byte [edi + eax], bl
xchg esi, ebx
mov eax, dword [ebx + 0x10]
mov dword [esp], ebx
mov ecx, dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 4], eax
call fcn.00495c10
mov eax, dword [esp + 0x78]
mov eax, dword [eax]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x3c]
dec ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
mov edx, dword [esp + 0x60]
add ecx, edx
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x38]
lea ebp, [ebx + edx - 1]
mov dword [esp + 0x4c], ebp
mov esi, dword [eax + 8]
mov edi, dword [eax]
cmp ebp, esi
ja 0x497ce5
mov dword [esp + 0x48], esi
mov dword [esp + 0x6c], edi
lea eax, [edi + edx]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [ebx - 1]
mov dword [esp + 8], eax
call fcn.00456180
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x68]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 8], eax
mov eax, dword [0x5a9b20]
test eax, eax
jne 0x497cda
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
add esp, 0x74
ret
mov eax, dword [esp + 0x6c]
call fcn.00455860
jmp 0x497cd6
mov dword [esp + 0x48], edx
mov dword [esp + 0x5c], ecx
lea eax, [0x4c7880]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.0043fbe0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x38]
jmp 0x497c96
mov dword [esp + 0x64], ebp
xchg esi, eax
mov byte [esp + 0x2f], al
xchg esi, eax
lea ebx, [0x4c7880]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.0043fbe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x64]
mov dword [edi + 8], edx
mov edx, dword [0x5a9b20]
test edx, edx
jne 0x497d7f
mov dword [edi], eax
mov ebx, dword [esp + 0x78]
mov ebp, edi
movzx esi, byte [esp + 0x2f]
mov edi, eax
mov eax, ecx
jmp 0x497c3f
call fcn.00455860
jmp 0x497d6b
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.00495d70
add esp, 0x74
ret
test edx, edx
jbe 0x497f10
cmp byte [eax], 0x2b
jne 0x497bed
mov dword [esp], ebx
dec ecx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add eax, ecx
mov dword [esp + 4], eax
lea eax, [edx - 1]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.00495d70
add esp, 0x74
ret
lea eax, [0x4c7880]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.0043fbe0
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
jmp 0x497baf
lea esi, [edx + 1]
cmp esi, ebx
ja 0x497e1d
mov byte [ebp + edx], 0x2e
mov edx, esi
jmp 0x497b4e
mov dword [esp + 0x38], edx
lea eax, [0x4c7880]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.0043fbe0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
jmp 0x497e11
mov ecx, esi
jmp 0x49791b
cmp edi, 0x67
je 0x497907
mov eax, esi
xor ecx, ecx
jmp 0x49791b
cmp edi, 0x76
je 0x497907
cmp edi, 0x78
je 0x497907
jmp 0x497e6c
mov eax, ebp
mov ecx, ebx
jmp 0x497bdb
movzx eax, byte [esi + 0xa]
mov byte [esp + 0x2d], al
mov byte [esi + 0xa], 0
cmp byte [ebp + 1], 0x4e
jne 0x497eac
movzx ecx, byte [esi + 9]
test cl, cl
je 0x497ed0
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00495d70
movzx eax, byte [esp + 0x2d]
mov ecx, dword [esp + 0x78]
mov byte [ecx + 0xa], al
add esp, 0x74
ret
movzx ecx, byte [esi + 7]
test cl, cl
jne 0x497eac
dec ebx
inc ebp
dec edx
jmp 0x497eac
mov byte [ebp], 0x20
jmp 0x4978b4
cmp bl, 0x2b
je 0x497883
mov byte [ecx], 0x2b
mov ebx, eax
mov ebp, ecx
jmp 0x49788a
mov ecx, dword [esp + 0x8c]
jmp 0x49781c
xor eax, eax
mov ecx, edx
call fcn.004558e0
xor eax, eax
mov ecx, edx
call fcn.004558e0
mov eax, esi
mov ecx, edx
call fcn.004558e0
mov eax, 1
mov ecx, edx
call fcn.004558e0
xor eax, eax
mov ecx, edx
call fcn.004558e0
mov eax, 1
mov ecx, edx
call fcn.004558e0
nop
call fcn.00454020
jmp fcn.004977f0