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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x499dc4
sub esp, 0x6c
mov ebx, dword [esp + 0x70]
mov byte [ebx + 0x7c], 0
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
xor eax, eax
xor ecx, ecx
jmp 0x499131
inc eax
cmp eax, ebp
jge 0x499028
jae 0x499dbc
movzx edi, byte [esi + eax]
xchg edi, eax
cmp al, 0x25
xchg edi, eax
jne 0x499012
mov dword [esp + 0x38], ecx
cmp eax, edx
jg 0x499c73
cmp eax, ebp
jge 0x499c6a
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x25], 0
mov dword [ebx + 0x29], 0
lea edx, [eax + 1]
jmp 0x499057
inc edx
cmp edx, ebp
jge 0x499c5c
jae 0x499da1
movzx edi, byte [esi + edx]
xchg edi, eax
cmp al, 0x23
xchg edi, eax
ja 0x499c1c
xchg edi, eax
cmp al, 0x20
xchg edi, eax
jne 0x499081
mov byte [ebx + 0x29], 1
jmp 0x499056
xchg edi, eax
cmp al, 0x23
xchg edi, eax
jne 0x49908e
mov byte [ebx + 0x28], 1
jmp 0x499056
xchg edi, eax
cmp al, 0x61
xchg edi, eax
jb 0x499c0e
xchg edi, eax
cmp al, 0x7a
xchg edi, eax
ja 0x499c00
mov eax, edx
mov edx, dword [esp + 0x80]
cmp ecx, edx
jge 0x499148
xchg edi, eax
cmp al, 0x76
xchg edi, eax
jne 0x499144
movzx esi, byte [ebx + 0x28]
xchg esi, eax
mov byte [ebx + 0x2c], al
xchg esi, eax
mov byte [ebx + 0x28], 0
movzx esi, byte [ebx + 0x27]
xchg esi, eax
mov byte [ebx + 0x2b], al
xchg esi, eax
mov byte [ebx + 0x27], 0
cmp ecx, edx
jae 0x499d98
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x7c]
lea edx, [eax + ecx*8]
mov ebp, dword [edx + 4]
mov edx, dword [edx]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
xchg edi, eax
movzx edx, al
xchg edi, eax
mov dword [esp + 0xc], edx
call fcn.00495ed0
mov eax, dword [esp + 0x38]
inc eax
mov ecx, dword [esp + 0x4c]
inc ecx
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov ebx, edx
mov ebp, edi
mov esi, dword [esp + 0x74]
mov ebp, eax
mov eax, ecx
mov ecx, ebp
mov ebp, edi
cmp eax, ebp
jge 0x499d5d
mov byte [ebx + 0x7d], 1
mov edx, eax
jmp 0x499013
cmp ecx, edx
jmp 0x4990dc
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.00498c40
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x1c]
movzx edx, byte [esp + 0x20]
mov byte [esp + 0x27], dl
mov ebx, dword [esp + 0x78]
cmp ecx, ebx
jge 0x499bf7
jae 0x499d8f
mov ebp, dword [esp + 0x74]
movzx esi, byte [ebp + ecx]
xchg esi, eax
cmp al, 0x2a
xchg esi, eax
je 0x499ae4
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.004936d0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x24], cl
movzx eax, byte [esp + 0x27]
test al, al
je 0x4991db
test cl, cl
je 0x4991db
mov byte [ebx + 0x7d], 0
mov ecx, dword [esp + 0x4c]
lea ebp, [edx + 1]
mov esi, dword [esp + 0x78]
cmp ebp, esi
jge 0x499adb
cmp edx, esi
jae 0x499d86
mov dword [esp + 0x4c], ebp
mov edi, dword [esp + 0x74]
movzx ebp, byte [edi + edx]
xchg ebp, eax
cmp al, 0x2e
xchg ebp, eax
je 0x49990a
test al, al
je 0x4998ce
mov dword [esp + 0x4c], ecx
cmp edx, esi
jge 0x4993d0
jae 0x499d74
movzx ebp, byte [edi + edx]
cmp ebp, 0x80
jge 0x49938d
mov eax, 1
lea edi, [eax + edx]
mov dword [esp + 0x34], edi
cmp ebp, 0x25
jne 0x4992cd
nop
mov ebp, dword [ebx + 4]
mov eax, esi
lea esi, [ebp + 1]
mov edx, edi
mov edi, dword [ebx]
mov ebx, dword [ebx + 8]
cmp esi, ebx
ja 0x499277
lea ebx, [ebp + 1]
mov esi, dword [esp + 0x70]
mov dword [esi + 4], ebx
mov byte [edi + ebp], 0x25
mov eax, ecx
mov ecx, edx
jmp 0x499115
lea eax, [0x4cc420]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.0043e480
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x70]
mov dword [edi + 8], edx
mov edx, dword [0x5af4d0]
test edx, edx
jne 0x4992c6
mov dword [edi], eax
mov edx, dword [esp + 0x34]
mov ebp, ecx
mov edi, eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x4c]
jmp 0x499260
call fcn.00453b50
jmp 0x4992b4
movzx edx, byte [ebx + 0x7d]
test dl, dl
je 0x49936c
mov edx, dword [esp + 0x80]
cmp ecx, edx
jge 0x49934b
cmp ebp, 0x76
jne 0x499345
mov eax, esi
movzx esi, byte [ebx + 0x28]
xchg esi, eax
mov byte [ebx + 0x2c], al
xchg esi, eax
mov byte [ebx + 0x28], 0
movzx esi, byte [ebx + 0x27]
xchg esi, eax
mov byte [ebx + 0x2b], al
xchg esi, eax
mov byte [ebx + 0x27], 0
cmp ecx, edx
jae 0x499d6b
mov eax, dword [esp + 0x7c]
lea edx, [eax + ecx*8]
mov esi, dword [edx + 4]
mov edx, dword [edx]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
call fcn.00495ed0
mov eax, dword [esp + 0x4c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x70]
jmp 0x49926e
cmp ecx, edx
mov eax, esi
jmp 0x499307
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00498e80
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x4c]
jmp 0x49926e
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00498d20
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x4c]
jmp 0x49926e
mov dword [esp + 0x34], edx
sub esi, edx
mov ecx, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, edx
lea ebx, [edi + esi]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0045b0b0
mov ebp, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
jmp 0x49923c
nop
mov eax, dword [ebx + 4]
lea edx, [eax + 0xa]
mov dword [esp + 0x48], edx
mov ebp, dword [ebx + 8]
mov esi, dword [ebx]
cmp edx, ebp
ja 0x49989b
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], ebp
add eax, esi
mov dword [esp], eax
lea eax, [0x4e3c20]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.00454440
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x70]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 8], eax
mov eax, dword [0x5af4d0]
test eax, eax
jne 0x49988d
mov eax, dword [esp + 0x60]
mov dword [edi], eax
mov eax, dword [esp + 0x4c]
movzx ecx, byte [edi + 0x7c]
test cl, cl
jne 0x4997f1
mov ecx, dword [esp + 0x80]
cmp eax, ecx
jge 0x4997f1
mov dword [esp + 0x38], eax
nop
mov dword [edi + 0x24], 0
mov dword [edi + 0x25], 0
mov dword [edi + 0x29], 0
nop
mov edx, dword [edi + 4]
lea ebx, [edx + 9]
mov dword [esp + 0x4c], ebx
mov ebp, dword [edi + 8]
mov esi, dword [edi]
cmp ebx, ebp
ja 0x49985a
mov dword [esp + 0x48], ebp
mov dword [esp + 0x60], esi
lea eax, [esi + edx]
mov dword [esp], eax
lea eax, [0x4e3938]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
call fcn.00454440
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x70]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 8], eax
mov eax, dword [0x5af4d0]
test eax, eax
jne 0x49983f
mov edx, dword [esp + 0x60]
mov dword [edi], edx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x80]
cmp eax, ecx
ja 0x499d66
sub ecx, eax
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x84]
sub edx, eax
neg edx
shl eax, 3
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0x7c]
add edx, eax
mov dword [esp + 0x5c], edx
xor eax, eax
jmp 0x499515
inc eax
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x5c]
mov ecx, ebx
mov edx, ebp
cmp eax, ecx
jge 0x4997d7
mov dword [esp + 0x30], eax
lea ebx, [edx + eax*8]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x58], ebp
mov ebx, dword [ebx]
mov dword [esp + 0x3c], ebx
test eax, eax
jle 0x499568
nop
mov esi, dword [edi + 4]
lea ebp, [esi + 2]
mov edx, dword [edi + 8]
mov ecx, dword [edi]
cmp ebp, edx
ja 0x499790
mov ebx, 0x202c
mov word [ecx + esi], bx
mov dword [edi + 4], ebp
mov dword [edi + 8], edx
mov edx, dword [0x5af4d0]
test edx, edx
jne 0x499780
mov dword [edi], ecx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x4995ff
nop
mov ecx, dword [edi + 4]
lea edx, [ecx + 5]
mov ebx, dword [edi + 8]
mov ebp, dword [edi]
cmp edx, ebx
ja 0x4995bf
mov esi, 0x6c696e3c
mov dword [ebp + ecx], esi
mov esi, 0x3e
xchg esi, eax
mov byte [ebp + ecx + 4], al
xchg esi, eax
mov dword [edi + 4], edx
mov dword [edi + 8], ebx
mov ecx, dword [0x5af4d0]
test ecx, ecx
jne 0x4995af
mov dword [edi], ebp
jmp 0x499508
mov ecx, eax
mov eax, ebp
call fcn.00453b50
mov eax, ecx
jmp 0x499508
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ecx
lea eax, [0x4cc420]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.0043e480
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x70]
jmp 0x499584
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x499777
lea ebp, [0x504680]
mov eax, dword [ebp + 0x80]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 4]
mov dword [esp + 0x48], ebx
lea ebp, [ebx + eax]
mov dword [esp + 0x44], ebp
mov esi, dword [edx + 8]
mov edi, dword [edx]
cmp ebp, esi
ja 0x49973c
mov dword [esp + 0x40], esi
mov dword [esp + 0x60], edi
lea edx, [edi + ebx]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00454440
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x70]
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x40]
mov dword [edi + 8], ecx
mov edx, dword [0x5af4d0]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x28]
lea ebx, [ebp + ebx + 1]
test edx, edx
jne 0x499726
mov edx, dword [esp + 0x60]
mov dword [edi], edx
nop
cmp ebx, ecx
ja 0x4996dc
lea ecx, [eax + 1]
mov dword [edi + 4], ecx
mov byte [edx + eax], 0x3d
mov dword [esp], edi
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x76
call fcn.00495ed0
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x70]
jmp 0x499508
lea ebp, [0x4cc420]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.0043e480
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x70]
mov dword [edi + 8], edx
mov edx, dword [0x5af4d0]
test edx, edx
jne 0x49971f
mov dword [edi], eax
mov edx, eax
mov eax, ecx
jmp 0x4996a5
call fcn.00453b50
jmp 0x499719
mov edx, eax
mov eax, dword [esp + 0x60]
call fcn.00453b50
mov eax, edx
mov edx, dword [esp + 0x60]
jmp 0x4996a0
mov dword [esp + 0x50], ecx
lea eax, [0x4cc420]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.0043e480
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x48]
jmp 0x499653
xor ebx, ebx
xor ebp, ebp
jmp 0x49961d
mov edx, eax
mov eax, ecx
call fcn.00453b50
mov eax, edx
jmp 0x499568
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], esi
lea eax, [0x4cc420]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043e480
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x70]
jmp 0x499549
nop
mov eax, dword [edi + 4]
lea ecx, [eax + 1]
mov edx, dword [edi]
mov ebx, dword [edi + 8]
cmp ecx, ebx
ja 0x4997f5
lea ecx, [eax + 1]
mov dword [edi + 4], ecx
mov byte [edx + eax], 0x29
add esp, 0x6c
ret
lea ebp, [0x4cc420]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.0043e480
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x70]
mov dword [edi + 8], edx
mov edx, dword [0x5af4d0]
test edx, edx
jne 0x499838
mov dword [edi], eax
mov edx, eax
mov eax, ecx
jmp 0x4997e7
call fcn.00453b50
jmp 0x499832
mov eax, dword [esp + 0x60]
call fcn.00453b50
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x80]
cmp eax, ecx
jmp 0x4994db
mov dword [esp + 0x48], edx
lea eax, [0x4cc420]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0043e480
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
jmp 0x499483
mov eax, dword [esp + 0x60]
call fcn.00453b50
jmp 0x499432
mov dword [esp + 0x44], eax
lea ecx, [0x4cc420]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.0043e480
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
jmp 0x4993e8
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], eax
call fcn.00498c40
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
jmp 0x499215
test al, al
je 0x499912
mov byte [ebx + 0x7d], 0
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], eax
call fcn.00498c40
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x1c]
movzx edx, byte [esp + 0x20]
mov byte [esp + 0x27], dl
mov ebx, dword [esp + 0x78]
cmp ecx, ebx
jge 0x499ad2
jae 0x499d7d
mov ebp, dword [esp + 0x74]
movzx esi, byte [ebp + ecx]
xchg esi, eax
cmp al, 0x2a
xchg esi, eax
je 0x4999c2
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.004936d0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x34], eax
mov byte [ebx + 0x25], cl
test cl, cl
je 0x4999b5
movzx eax, byte [esp + 0x27]
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
jmp 0x49920d
mov dword [ebx + 0x34], 0
mov byte [ebx + 0x25], 1
jmp 0x49999f
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x84]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00498860
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x34], eax
mov byte [ebx + 0x25], cl
mov eax, dword [ebx + 0x34]
test eax, eax
jge 0x499a15
mov dword [ebx + 0x34], 0
mov byte [ebx + 0x25], 0
movzx ebp, byte [ebx + 0x25]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x499a2f
mov ebp, dword [esp + 0x34]
inc ebp
xor eax, eax
mov ecx, edx
mov edx, ebp
jmp 0x4999a8
mov dword [esp + 0x48], edx
mov eax, dword [ebx + 4]
lea ecx, [eax + 0xb]
mov dword [esp + 0x4c], ecx
mov ebp, dword [ebx + 8]
mov esi, dword [ebx]
cmp ecx, ebp
ja 0x499a9f
mov dword [esp + 0x44], ebp
mov dword [esp + 0x60], esi
add eax, esi
mov dword [esp], eax
lea eax, [0x4e3f65]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xb
call fcn.00454440
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x70]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 8], eax
mov eax, dword [0x5af4d0]
test eax, eax
jne 0x499a94
mov ebx, dword [esp + 0x60]
mov dword [edi], ebx
mov edx, dword [esp + 0x48]
mov ebx, edi
jmp 0x499a1f
mov eax, dword [esp + 0x60]
call fcn.00453b50
jmp 0x499a8c
mov dword [esp + 0x44], eax
lea edx, [0x4cc420]
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.0043e480
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
jmp 0x499a46
mov ebp, dword [esp + 0x74]
jmp 0x499970
mov edi, dword [esp + 0x74]
jmp 0x49920d
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x84]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00498860
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x24], cl
test cl, cl
je 0x499b51
mov ebp, dword [ebx + 0x30]
test ebp, ebp
jge 0x499b41
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [ebx + 0x30], ebp
mov byte [ebx + 0x26], 1
mov byte [ebx + 0x2a], 0
mov ebp, dword [esp + 0x34]
inc ebp
xor eax, eax
mov ecx, edx
mov edx, ebp
jmp 0x4991df
mov dword [esp + 0x40], edx
mov eax, dword [ebx + 4]
lea ecx, [eax + 0xc]
mov dword [esp + 0x4c], ecx
mov ebp, dword [ebx + 8]
mov esi, dword [ebx]
cmp ecx, ebp
ja 0x499bc4
mov dword [esp + 0x44], ebp
mov dword [esp + 0x60], esi
add eax, esi
mov dword [esp], eax
lea eax, [0x4e4329]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xc
call fcn.00454440
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x70]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 8], eax
mov eax, dword [0x5af4d0]
test eax, eax
jne 0x499bb9
mov ebx, dword [esp + 0x60]
mov dword [edi], ebx
mov edx, dword [esp + 0x40]
mov ebx, edi
jmp 0x499b29
mov eax, dword [esp + 0x60]
call fcn.00453b50
jmp 0x499bae
mov dword [esp + 0x44], eax
lea edx, [0x4cc420]
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.0043e480
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
jmp 0x499b68
mov ebp, dword [esp + 0x74]
jmp 0x49919f
mov eax, edx
mov edx, dword [esp + 0x80]
jmp 0x499148
mov eax, edx
mov edx, dword [esp + 0x80]
jmp 0x499148
xchg edi, eax
cmp al, 0x2b
xchg edi, eax
jne 0x499c2c
mov byte [ebx + 0x27], 1
jmp 0x499056
xchg edi, eax
cmp al, 0x2d
xchg edi, eax
jne 0x499c40
mov byte [ebx + 0x26], 1
mov byte [ebx + 0x2a], 0
jmp 0x499056
xchg edi, eax
cmp al, 0x30
xchg edi, eax
jne 0x49908e
movzx edi, byte [ebx + 0x26]
xor edi, 1
xchg edi, eax
mov byte [ebx + 0x2a], al
xchg edi, eax
jmp 0x499056
mov eax, edx
mov edx, dword [esp + 0x80]
jmp 0x499148
mov edi, ebx
mov eax, ecx
jmp 0x499436
cmp eax, ebp
ja 0x499db3
cmp edx, eax
ja 0x499daa
mov dword [esp + 0x34], eax
sub eax, edx
mov dword [esp + 0x2c], eax
neg eax
sar eax, 0x1f
and edx, eax
lea eax, [esi + edx]
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x2c]
lea esi, [ecx + edx]
mov dword [esp + 0x4c], esi
mov ebp, dword [ebx]
mov edi, dword [ebx + 8]
cmp esi, edi
ja 0x499d1e
mov dword [esp + 0x44], edi
mov dword [esp + 0x60], ebp
add edx, ebp
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00454440
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x70]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 8], eax
mov eax, dword [0x5af4d0]
test eax, eax
jne 0x499d09
mov edx, dword [esp + 0x60]
mov dword [edi], edx
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x78]
cmp edx, ecx
mov eax, edx
mov ecx, dword [esp + 0x38]
mov ebx, edi
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
jmp 0x499036
mov eax, dword [esp + 0x60]
call fcn.00453b50
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x78]
cmp edx, ecx
jmp 0x499cf4
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], eax
lea eax, [0x4cc420]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
call fcn.0043e480
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
jmp 0x499cae
mov edi, ebx
mov eax, ecx
jmp 0x499436
call fcn.00453c30
mov eax, ecx
mov ecx, edx
call fcn.00453bd0
mov eax, edx
mov ecx, esi
call fcn.00453bd0
mov eax, ecx
mov ecx, ebx
call fcn.00453bd0
mov eax, edx
mov ecx, esi
call fcn.00453bd0
mov eax, ecx
mov ecx, ebx
call fcn.00453bd0
mov eax, ecx
mov ecx, edx
call fcn.00453bd0
mov eax, edx
mov ecx, ebp
call fcn.00453bd0
mov ecx, eax
mov eax, edx
call fcn.00453c30
mov ecx, eax
mov edx, ebp
call fcn.00453bf0
mov ecx, ebp
call fcn.00453bd0
nop
call fcn.00452310
jmp fcn.00498fe0