Function at 0x51a5ab
Capabilities:
Encode data using base64
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov ecx, dword [esp + 0x98]
xor eax, eax
push ebx
mov dword [esp + 0x6c], eax
xor edx, edx
push ebp
mov ebp, dword [esp + 0xa8]
push esi
push edi
xor edi, edi
mov dword [esp + 0x88], edx
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x84], eax
xor eax, eax
mov ebx, dword [ebp + 0x7c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x7c], eax
mov eax, dword [ebp]
mov dword [esp + 0x10], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x14], ebx
mov eax, dword [eax + 0x24]
mov dword [esp + 0x70], eax
mov eax, ecx
shr eax, 0x13
and eax, 1
mov dword [esp + 0x28], edx
mov dword [esp + 0x48], eax
mov eax, ecx
shr eax, 2
and eax, 1
mov dword [esp + 0x68], edx
test byte [esp + 0x70], 8
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x8c], edx
je 0x519eda
mov dword [ebx], 0x80090000
jmp 0x519ee7
test byte [esp + 0x70], 4
je 0x519ef5
mov dword [ebx], 0x80180005
mov dword [ebx + 4], 0x801a0000
add ebx, 8
mov dword [esp + 0x14], ebx
test ecx, 0x2000000
je 0x51a048
mov esi, dword [esp + 0xa4]
cmp esi, eax
jae 0x519fd9
cmp ebx, dword [esp + 0x84]
jae 0x51c6b6
cmp dword [esp + 0x48], 0
mov edx, esi
movzx ecx, word [esi]
lea esi, [edx + 2]
je 0x519f5a
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x519f56
movzx eax, word [esi]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add esi, 2
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x74], 0
je 0x519fc6
mov eax, dword [esp + 0x10]
mov edi, ebx
mov dword [esp + 0x10], eax
test eax, eax
je 0x519f9b
mov eax, edx
sub eax, dword [ebp + 0x1c]
mov ebp, dword [esp + 0x10]
sar eax, 1
sub eax, dword [ebp + 4]
mov dword [ebp + 8], eax
lea eax, [ebx - 0x10]
cmp ebp, eax
mov ebp, dword [esp + 0xb0]
jne 0x519f9b
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xc], 0xff
je 0x519fb8
mov eax, ebx
mov dword [ebx], 0x80060000
mov dword [esp + 0x10], eax
lea edi, [ebx + 0x10]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0xff
sub edx, dword [ebp + 0x1c]
mov ebx, edi
sar edx, 1
mov dword [eax + 4], edx
mov eax, dword [esp + 0x18]
mov dword [ebx], ecx
add ebx, 4
cmp esi, eax
jb 0x519f10
mov edi, dword [esp + 0x10]
xor edx, edx
mov ecx, ebx
test edi, edi
je 0x519fec
mov eax, esi
sub eax, dword [ebp + 0x1c]
sar eax, 1
sub eax, dword [edi + 4]
mov dword [edi + 8], eax
cmp dword [esp + 0x74], 0
je 0x51a02a
test edi, edi
je 0x51a007
lea eax, [ebx - 0x10]
cmp edi, eax
jne 0x51a007
cmp dword [edi + 0xc], 0xff
je 0x51a020
mov edi, ebx
mov dword [ebx], 0x80060000
lea ecx, [ebx + 0x10]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0xff
mov eax, esi
sub eax, dword [ebp + 0x1c]
sar eax, 1
mov dword [edi + 4], eax
mov eax, dword [esp + 0x70]
test al, 8
je 0x51c699
mov dword [ecx], 0x80190000
mov dword [ecx + 4], 0x80160000
jmp 0x51c6aa
mov esi, dword [ebp + 0x28]
xor eax, eax
add esi, esi
mov dword [esp + 0x50], eax
xor edx, edx
mov dword [esp + 0x20], 0xc
mov eax, esi
div dword [esp + 0x20]
sub esi, edx
mov edx, ecx
add esi, dword [ebp + 0x14]
or edx, 0x80
test ecx, 0x1000000
mov dword [esp + 0x80], esi
mov esi, dword [esp + 0xa4]
cmove edx, ecx
mov dword [esp + 0x2c], edx
cmp esi, dword [esp + 0x18]
jae 0x519fd7
nop word [eax + eax]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x60], 0
mov dword [esp + 0x20], 0
cmp ebx, dword [esp + 0x84]
jae 0x51c6b6
mov ebp, dword [ebp]
movzx eax, di
cmp eax, dword [ebp + 0x20]
ja 0x51c692
cmp dword [esp + 0x48], 0
mov eax, esi
movzx edi, word [esi]
mov dword [esp + 0x30], eax
mov ecx, edi
mov dword [esp + 0x40], edi
lea esi, [eax + 2]
mov dword [esp + 0xa4], esi
mov edx, esi
je 0x51a12b
mov eax, edi
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51a12b
movzx eax, word [esi]
and edi, 0x3ff
shl edi, 0xa
and eax, 0x3ff
or edi, eax
add edi, 0x10000
add esi, 2
mov dword [esp + 0x40], edi
mov ecx, edi
mov dword [esp + 0xa4], esi
mov edx, esi
cmp dword [esp + 0x38], 0
je 0x51a1b1
cmp ecx, 0x5c
jne 0x51a153
cmp edx, dword [esp + 0x18]
jae 0x51a153
cmp word [esi], 0x45
jne 0x51a153
mov dword [esp + 0x38], 0
add esi, 2
jmp 0x51c49f
cmp dword [esp + 0x6c], 0
jg case.0x51a583.34
cmp dword [esp + 0x1c], 0
jne 0x51a1a4
mov ecx, dword [esp + 0x68]
mov eax, ecx
dec ecx
mov dword [esp + 0x68], ecx
test eax, eax
jg 0x51a19c
mov ecx, dword [esp + 0xb0]
lea eax, [esp + 0x64]
push ecx
push ebx
push dword [esp + 0x7c]
push eax
push dword [esp + 0x40]
call fcn.00519db0
mov ebx, eax
add esp, 0x14
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x58], 0
jmp 0x51c496
cmp dword [esp + 0x1c], 0
je 0x51a30a
mov eax, dword [esp + 0x2c]
and eax, 0x400080
cmp eax, 0x400080
jne 0x51a21e
cmp ecx, 0xff
jbe 0x51a1e7
mov eax, edi
or eax, 1
cmp eax, 0x200f
je 0x51a1e7
cmp eax, 0x2029
jne 0x51a21e
mov edx, dword [esp + 0xb0]
cmp edi, 0x100
jae 0x51a311
cmp edi, 0x23
je 0x51a311
mov eax, dword [edx + 0x10]
test byte [edi + eax], 1
jne 0x51a311
cmp edi, 0x85
je 0x51a311
jmp 0x51a225
mov edx, dword [esp + 0xb0]
cmp edi, 0x29
je 0x51a2b1
cmp edi, 0x5c
jne 0x51c496
mov eax, dword [esp + 0x2c]
test eax, 0x400000
je 0x51c496
push edx
push 0
push dword [ebp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0xc0]
push eax
call fcn.00513d20
mov ecx, dword [esp + 0x44]
add esp, 0x20
test ecx, ecx
jne 0x51c53d
sub eax, ecx
je 0x51a2a1
sub eax, 0x19
je 0x51c099
mov esi, dword [esp + 0xa4]
sub eax, 1
jne 0x51c4d3
mov dword [esp + 0x38], 1
jmp 0x51c49f
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0x40]
jmp 0x51c496
mov eax, esi
xor ecx, ecx
sub eax, dword [esp + 0x8c]
sar eax, 1
dec eax
mov dword [esp + 0x1c], ecx
cmp eax, 0xffff
jg 0x51c4dd
mov edx, dword [esp + 0x88]
mov eax, ebx
mov ebp, dword [esp + 0xb0]
sub eax, edx
mov edi, dword [esp + 0x10]
sar eax, 2
dec eax
mov dword [edx], eax
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x51c4ae
mov dword [ebx], edx
add ebx, 4
xor eax, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x7c], eax
jmp 0x51c4ae
mov edx, dword [esp + 0xb0]
mov ebp, dword [esp + 0x18]
cmp edi, 0x5c
jne 0x51a33f
cmp esi, ebp
jae 0x51a33f
movzx eax, word [esi]
cmp eax, 0x51
je 0x51a32b
cmp eax, 0x45
jne 0x51a33f
xor ecx, ecx
cmp eax, 0x51
sete cl
add esi, 2
mov dword [esp + 0x38], ecx
jmp 0x51c49f
test byte [esp + 0x2c], 0x80
je 0x51a458
cmp edi, 0x100
jae 0x51a35f
mov eax, dword [edx + 0x10]
test byte [edi + eax], 1
jne 0x51c49f
cmp edi, 0x85
je 0x51c49f
mov eax, edi
or eax, 1
cmp eax, 0x200f
je 0x51c49f
cmp eax, 0x2029
je 0x51c49f
cmp edi, 0x23
jne 0x51a458
cmp esi, ebp
jae 0x51c49f
nop word [eax + eax]
mov eax, dword [edx + 0x90]
lea edi, [edx + 0x94]
mov ecx, dword [edx + 0x20]
test eax, eax
je 0x51a412
cmp esi, ecx
jae 0x51a3d2
push dword [esp + 0x48]
push edi
push ecx
push eax
push esi
call fcn.0054e9a0
add esp, 0x14
test eax, eax
je 0x51a3d2
mov eax, 1
jmp 0x51a3d4
xor eax, eax
test eax, eax
jne 0x51a44a
mov edx, dword [esp + 0xb0]
add esi, 2
cmp dword [esp + 0x48], 0
mov eax, esi
je 0x51a409
cmp esi, ebp
jae 0x51a409
mov ax, word [esi]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x51a3a0
add esi, 2
mov eax, esi
cmp eax, ebp
jb 0x51a3a0
jmp 0x51c49f
mov edx, dword [edi]
lea eax, [edx + edx]
sub ecx, eax
cmp esi, ecx
ja 0x51a3d8
mov ecx, dword [esp + 0xb0]
mov ax, word [esi]
cmp ax, word [ecx + 0xa0]
jne 0x51a454
cmp edx, 1
je 0x51a44a
mov ax, word [esi + 2]
mov edx, ecx
cmp ax, word [edx + 0xa2]
jne 0x51a3df
lea edi, [edx + 0x94]
mov eax, dword [edi]
lea esi, [esi + eax*2]
jmp 0x51c49f
mov edx, ecx
jmp 0x51a3df
cmp edi, 0x28
jne 0x51a4a1
mov eax, ebp
sub eax, esi
and eax, 0xfffffffe
cmp eax, 4
jl 0x51a4d4
cmp word [esi], 0x3f
jne 0x51a4d4
cmp word [esi + 2], 0x23
jne 0x51a4d4
nop word [eax + eax]
add esi, 2
cmp esi, ebp
jae 0x51c4ea
cmp word [esi], 0x29
jne 0x51a480
cmp esi, ebp
jae 0x51c4ea
add esi, 2
jmp 0x51c49f
cmp edi, 0x2a
je 0x51a50f
cmp edi, 0x2b
je 0x51a50f
cmp edi, 0x3f
je 0x51a50f
cmp edi, 0x7b
jne 0x51a4d4
lea eax, [esp + 0x24]
mov dword [esp + 0x5c], esi
push eax
push 0
push 0
lea eax, [esp + 0x68]
push ebp
push eax
call fcn.0051df80
add esp, 0x14
test eax, eax
jne 0x51a50f
mov ecx, dword [esp + 0x68]
mov eax, ecx
dec ecx
mov dword [esp + 0x68], ecx
test eax, eax
jg 0x51a50f
mov ecx, dword [esp + 0xb0]
lea eax, [esp + 0x64]
push ecx
push ebx
push dword [esp + 0x7c]
push eax
push dword [esp + 0x40]
call fcn.00519db0
mov ebx, eax
add esp, 0x14
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x6c]
test edx, edx
jle case.0x51a583.33
cmp edi, 0x28
jne case.0x51a583.34
mov eax, ebp
sub eax, esi
and eax, 0xfffffffe
cmp eax, 6
jl case.0x51a583.34
movzx eax, word [esi]
cmp eax, 0x3f
je 0x51a546
cmp eax, 0x2a
je 0x51a54c
sub esi, 2
mov ecx, 0x80
jmp 0x51c6da
cmp word [esi], 0x2a
jne 0x51a570
movzx eax, word [esi + 2]
mov ecx, 0xff
cmp ax, cx
ja 0x51a56c
mov ecx, eax
mov eax, dword [esp + 0xb0]
mov eax, dword [eax + 0x10]
test byte [ecx + eax], 4
jne case.0x51a583.33
xor eax, eax
jmp 0x51a5a7
movzx eax, word [esi + 2]
add eax, 0xffffffdf
cmp eax, 0x22
ja case.0x51a583.34
movzx eax, byte [eax + 0x51c708]
jmp dword [eax*4 + 0x51c6f8]
xor eax, eax
cmp edx, 2
sete al
jmp 0x51a5a7
movzx eax, word [esi + 4]
cmp eax, 0x3d
je 0x51a5a2
cmp eax, 0x21
jne case.0x51a583.34
mov eax, 1
test eax, eax
je case.0x51a583.34
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x30], edx
mov edx, eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x58], 0
test eax, eax
je 0x51a60b
cmp edi, 0x3f
je 0x51a5df
cmp edi, 0x2b
jne 0x51a60b
cmp edi, 0x3f
mov ecx, 0x10000
mov ebp, 0x20000
cmove ecx, ebp
add ecx, eax
xor eax, eax
cmp edx, 0x803d0000
setne al
lea eax, [eax*8 - 0xc]
mov dword [eax + ebx], ecx
jmp 0x51c49f
lea eax, [edi - 0x24]
cmp eax, 0x58
ja case.0x51a61e.37
movzx eax, byte [eax + 0x51c760]
jmp dword [eax*4 + 0x51c72c]
mov ebp, dword [esp + 0xb0]
push ebp
push 0
mov dword [esp + 0x64], esi
mov eax, dword [ebp]
push dword [eax + 0x24]
lea eax, [esp + 0x30]
push dword [esp + 0x38]
push eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0xc0]
push eax
call fcn.00513d20
mov ecx, dword [esp + 0x44]
add esp, 0x20
mov edi, eax
test ecx, ecx
jne 0x51a883
test edi, edi
je 0x51a9da
js 0x51a990
lea eax, [edi - 6]
cmp eax, 0x16
ja case.0x51a68a.13
movzx eax, byte [eax + 0x51c7d4]
jmp dword [eax*4 + 0x51c7bc]
test dword [esp + 0x2c], 0x100000
mov esi, dword [esp + 0xa4]
je 0x51a6b0
mov ecx, 0xb7
mov dword [esp + 0x24], ecx
jmp 0x51a88a
lea eax, [edi - 0x7fe80000]
mov dword [esp + 0x34], 1
mov dword [ebx], eax
add ebx, 4
mov dword [esp + 0x14], ebx
jmp 0x51c4a6
push ebp
lea eax, [esp + 0x28]
mov dword [esp + 0x34], 0
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.00519640
add esp, 0x18
test eax, eax
je 0x51a87f
cmp dword [esp + 0x98], 0
je 0x51a721
xor eax, eax
cmp edi, 0xf
sete al
lea edi, [eax + 0xf]
movzx ecx, word [esp + 0x30]
lea eax, [edi - 0x7fe80000]
mov esi, dword [esp + 0xa4]
mov dword [ebx], eax
movzx eax, word [esp + 0x40]
shl ecx, 0x10
or ecx, eax
mov dword [esp + 0x34], 1
mov dword [ebx + 4], ecx
add ebx, 8
mov dword [esp + 0x14], ebx
jmp 0x51c4a6
mov esi, dword [esp + 0xa4]
mov ecx, dword [esp + 0x18]
cmp esi, ecx
jae 0x51a8c9
movzx eax, word [esi]
cmp eax, 0x7b
je 0x51a77f
cmp eax, 0x3c
je 0x51a7ee
cmp eax, 0x27
jne 0x51a8c9
cmp eax, 0x27
mov ebp, 0x7d
mov eax, 0x27
cmove ebp, eax
cmp edi, 0x1b
jne 0x51a80f
cmp ebp, 0x7d
je 0x51a80f
lea eax, [esi + 2]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0xb8]
push 0xa1
push 0xffff
push dword [eax + 0x74]
lea eax, [esp + 0x44]
push ecx
push eax
call fcn.0051de40
add esp, 0x1c
test eax, eax
je 0x51a803
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
cmp ecx, edi
jae 0x51a7f5
movzx eax, word [ecx]
cmp eax, ebp
jne 0x51a7f5
mov eax, dword [esp + 0x44]
mov esi, ecx
jmp 0x51c13a
mov ebp, 0x3e
jmp 0x51a78f
mov ecx, 0x9d
mov dword [esp + 0x24], ecx
jmp 0x51a88e
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x51a88a
mov ecx, dword [esp + 0x18]
push dword [esp + 0xb0]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x5c]
push eax
push ebp
push dword [esp + 0x60]
lea eax, [esp + 0xc0]
push ecx
push eax
call fcn.0051dc10
add esp, 0x24
test eax, eax
je 0x51a87f
cmp edi, 0x1c
je 0x51a853
mov eax, 0x80210000
cmp ebp, 0x7d
jne 0x51a858
mov eax, 0x80040000
mov esi, dword [esp + 0xa4]
mov dword [ebx], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [ebx + 8], eax
add ebx, 0xc
mov dword [esp + 0x34], 1
jmp 0x51c49b
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0x18]
test byte [esp + 0x70], 2
je 0x51c6da
mov eax, dword [esp + 0x5c]
mov esi, eax
cmp eax, edi
jb 0x51a9fb
mov ecx, 0x5c
mov ebp, dword [esp + 0xb0]
mov dword [ebx], ecx
add ebx, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], 1
jmp 0x51c4a6
cmp edi, 0x1b
mov ecx, 0xa9
mov eax, 0x9d
cmove ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x51a88a
mov dword [esp + 0x34], 1
lea eax, [edi - 0x7fe80000]
mov dword [ebx], eax
add ebx, 4
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0xa4]
jmp 0x51c4a6
test dword [esp + 0x2c], 0x20000
mov dword [esp + 0x34], 1
je case.0x51a68a.13
cmp edi, 7
je 0x51a928
cmp edi, 9
je 0x51a928
mov eax, 0x8018000f
cmp edi, 0xb
jne 0x51a92d
mov eax, 0x80180010
mov dword [ebx], eax
add edi, 0xfffffffa
add ebx, 4
mov dword [esp + 0x14], ebx
cmp edi, 5
ja case.default.0x51a93e
jmp dword [edi*4 + 0x51c7ec]
mov esi, dword [esp + 0xa4]
mov dword [ebx], 0x3000d
add ebx, 4
mov dword [esp + 0x14], ebx
jmp 0x51c4a6
mov esi, dword [esp + 0xa4]
mov dword [ebx], 0x70000
add ebx, 4
mov dword [esp + 0x14], ebx
jmp 0x51c4a6
mov esi, dword [esp + 0xa4]
mov dword [ebx], 0x90000
add ebx, 4
mov dword [esp + 0x14], ebx
jmp 0x51c4a6
mov esi, dword [esp + 0xa4]
neg edi
mov ecx, esi
mov eax, edi
sub ecx, dword [ebp + 0x1c]
or eax, 0x80030000
sar ecx, 1
dec ecx
mov dword [ebx], eax
add ebx, 4
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x14], ebx
cmp edi, 0xa
jge 0x51a8b3
cmp dword [ebp + edi*4 + 0x2c], 0xffffffff
jne 0x51a8bc
mov dword [ebp + edi*4 + 0x2c], ecx
mov dword [esp + 0x34], 1
jmp 0x51c4a6
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0xa4]
mov dword [ebx], ecx
add ebx, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], 1
jmp 0x51c4a6
cmp dword [esp + 0x48], 0
lea esi, [eax + 2]
movzx ecx, word [eax]
je 0x51a8ac
mov ebp, dword [esp + 0xb0]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51a8b3
movzx eax, word [esi]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
mov dword [esp + 0x34], 1
add ecx, 0x10000
add esi, 2
mov dword [ebx], ecx
add ebx, 4
mov dword [esp + 0x14], ebx
jmp 0x51c4a6
mov dword [ebx], 0x80090000
jmp 0x51c498
mov dword [ebx], 0x80160000
jmp 0x51c498
mov dword [ebx], 0x80170000
mov dword [esp + 0x34], 1
jmp 0x51c498
mov dword [esp + 0x58], 0x80340000
jmp 0x51aaf9
mov dword [esp + 0x58], 0x80370000
jmp 0x51aaf9
mov dword [esp + 0x58], 0x803a0000
jmp 0x51aaf9
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0xb4]
push eax
call fcn.0051df80
add esp, 0x14
test eax, eax
jne 0x51aaea
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x51c53d
mov esi, dword [esp + 0xa4]
mov dword [ebx], edi
add ebx, 4
mov dword [esp + 0x34], 1
jmp 0x51c49b
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x58], 0x803d0000
test ebp, ebp
je 0x51c4f4
cmp dword [ebx - 4], 0x802a0000
lea ecx, [ebx - 4]
jne 0x51ab31
mov edx, dword [esp + 0x78]
cmp ecx, edx
jb 0x51ab21
mov eax, dword [ecx]
mov dword [ecx + 4], eax
sub ecx, 4
cmp ecx, edx
jae 0x51ab15
mov dword [edx], 0x801a0000
mov dword [ebx + 4], 0x80190000
add ebx, 8
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0xb0]
mov ecx, dword [esp + 0x1c]
mov dword [ebx], eax
add ebx, 4
cmp edi, 0x7b
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0x10]
jne 0x51c4ae
mov eax, dword [esp + 0x60]
mov dword [ebx], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 4], eax
add ebx, 8
mov dword [esp + 0x14], ebx
jmp 0x51c4ae
mov edx, dword [esp + 0x18]
mov eax, edx
sub eax, esi
mov dword [esp + 0x34], 1
and eax, 0xfffffffe
cmp eax, 0xc
jl 0x51ac31
push 6
push 0x6d61c8
push esi
call fcn.0054cf90
add esp, 0xc
test eax, eax
je 0x51abb3
push 6
push str._:_:__
push esi
call fcn.0054cf90
add esp, 0xc
test eax, eax
jne 0x51ac2d
mov dword [ebx], 0x80180005
lea eax, [ebx + 8]
cmp word [esi + 4], 0x3c
jne 0x51abcc
mov dword [ebx + 4], 0x80230000
jmp 0x51abe9
mov ecx, dword [esp + 0xac]
mov dword [ebx + 4], 0x80250000
mov dword [ecx], 1
mov dword [eax], 0
add eax, 4
test dword [esp + 0x2c], 0x20000
lea ebx, [eax + 4]
jne 0x51ac0d
mov dword [eax], 0x8018000b
mov dword [ebx], 0x80190000
add ebx, 4
add esi, 0xc
jmp 0x51c49b
mov dword [eax], 0x80180010
mov dword [ebx], 0x90000
add ebx, 4
mov dword [ebx], 0x80190000
add ebx, 4
add esi, 0xc
jmp 0x51c49b
mov edx, dword [esp + 0x18]
cmp esi, edx
jae 0x51ac62
movzx eax, word [esi]
cmp eax, 0x3a
je 0x51ac47
cmp eax, 0x2e
je 0x51ac47
cmp eax, 0x3d
jne 0x51ac62
lea eax, [esp + 0x5c]
push eax
push edx
push esi
call fcn.00514e50
add esp, 0xc
test eax, eax
jne 0x51c501
mov edx, dword [esp + 0x18]
xor ebp, ebp
cmp esi, edx
jae 0x51ad38
mov ebx, dword [esp + 0x18]
movzx edi, word [esi]
add esi, 2
cmp dword [esp + 0x48], 0
mov edx, edi
mov dword [esp + 0x40], edi
mov ecx, esi
mov dword [esp + 0xa4], esi
je 0x51acc5
mov eax, edi
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51acc5
movzx eax, word [esi]
and edi, 0x3ff
shl edi, 0xa
and eax, 0x3ff
or edi, eax
add edi, 0x10000
add esi, 2
mov dword [esp + 0x40], edi
mov edx, edi
mov dword [esp + 0xa4], esi
mov ecx, esi
cmp edx, 0x5c
jne 0x51ad0c
cmp ecx, ebx
jae 0x51ace0
cmp word [esi], 0x45
jne 0x51ace0
lea esi, [ecx + 2]
mov dword [esp + 0xa4], esi
jmp 0x51ad2c
mov eax, ebx
sub eax, ecx
and eax, 0xfffffffe
cmp eax, 6
jl 0x51ad34
push 3
push 0x6d61d8
push esi
call fcn.0054cf90
add esp, 0xc
test eax, eax
jne 0x51ad34
add esi, 6
mov dword [esp + 0xa4], esi
jmp 0x51ad2c
test dword [esp + 0x2c], 0x1000000
je 0x51ad20
cmp edx, 0x20
je 0x51ad2c
cmp edx, 9
je 0x51ad2c
test ebp, ebp
jne 0x51ad34
cmp edi, 0x5e
jne 0x51ad34
lea ebp, [edi - 0x5d]
cmp esi, ebx
jb 0x51ac70
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0xb0]
cmp edi, 0x5d
jne 0x51ad60
test byte [ecx + 0x6c], 1
je 0x51ad60
test ebp, ebp
mov eax, 0x800b0000
mov ecx, 0x800c0000
cmovne eax, ecx
mov dword [ebx], eax
jmp 0x51c498
test ebp, ebp
mov dword [esp + 0x34], 1
mov edx, 0x800e0000
mov eax, 0x800a0000
cmovne eax, edx
mov dword [ebx], eax
add ebx, 4
xor edx, edx
mov dword [esp + 0x14], edx
cmp dword [esp + 0x38], 0
mov ebp, 1
je 0x51adbd
cmp edi, 0x5c
jne 0x51b037
cmp esi, dword [esp + 0x18]
jae 0x51b037
cmp word [esi], 0x45
jne 0x51b037
add esi, 2
mov dword [esp + 0x38], 0
xor ebp, ebp
jmp 0x51b20a
test dword [esp + 0x2c], 0x1000000
je 0x51add9
cmp edi, 0x20
je 0x51b206
cmp edi, 9
je 0x51b206
cmp edi, 0x5b
jne 0x51af4a
mov ecx, dword [esp + 0x18]
mov eax, ecx
sub eax, esi
and eax, 0xfffffffe
cmp eax, 6
jl 0x51b037
movzx eax, word [esi]
cmp eax, 0x3a
je 0x51ae0c
cmp eax, 0x2e
je 0x51ae0c
cmp eax, 0x3d
jne 0x51b037
lea eax, [esp + 0x5c]
push eax
push ecx
push esi
call fcn.00514e50
add esp, 0xc
test eax, eax
je 0x51b033
mov dword [esp + 0x30], 0
cmp dword [esp + 0x14], ebp
je 0x51c550
cmp word [esi], 0x3a
jne 0x51c517
add esi, 2
mov edx, esi
cmp word [esi], 0x5e
jne 0x51ae53
add esi, 2
mov dword [esp + 0x30], ebp
mov edx, esi
mov ecx, dword [esp + 0x5c]
mov ebp, 0x6d5f08
sub ecx, edx
sar ecx, 1
xor edi, edi
mov dword [esp + 0x20], ecx
nop word [eax + eax]
movzx eax, byte [edi + 0x6d5f5c]
cmp ecx, eax
jne 0x51ae90
push ecx
push ebp
push edx
call fcn.0054cf90
add esp, 0xc
test eax, eax
je 0x51aeae
mov ecx, dword [esp + 0x20]
mov edx, esi
movzx eax, byte [edi + 0x6d5f5c]
inc ebp
inc edi
add ebp, eax
cmp byte [edi + 0x6d5f5c], 0
jne 0x51ae70
mov ecx, 0x82
jmp 0x51c6da
test edi, edi
js 0x51aea4
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x18]
add esi, 4
add eax, 0xfffffffe
cmp esi, eax
jae 0x51aed5
cmp word [esi], 0x2d
jne 0x51aed5
cmp word [esi + 2], 0x5d
jne 0x51c550
xor edx, edx
test dword [esp + 0x2c], 0x20000
mov dword [esp + 0x14], edx
je 0x51af31
mov eax, dword [edi*8 + 0x7322c0]
mov ecx, dword [edi*8 + 0x7322c4]
test eax, eax
js 0x51af1a
mov edx, dword [esp + 0x30]
xor edx, 1
shl eax, 0x10
sub edx, 0x7fe7fff1
or eax, ecx
mov dword [ebx], edx
mov edx, dword [esp + 0x14]
mov dword [ebx + 4], eax
add ebx, 8
jmp 0x51b206
test ecx, ecx
je 0x51af31
mov eax, dword [esp + 0x30]
xor eax, 1
sub eax, 0x7fe7ffee
mov dword [ebx], eax
jmp 0x51b203
mov eax, dword [esp + 0x30]
add eax, 0x801c
shl eax, 0x10
mov dword [ebx], eax
mov dword [ebx + 4], edi
add ebx, 8
jmp 0x51b206
cmp edi, 0x2d
jne 0x51af71
cmp edx, 2
jb 0x51b037
cmp edx, 3
mov eax, 0x801e0000
mov ecx, 0x801f0000
mov edx, ebp
cmove eax, ecx
mov dword [ebx], eax
jmp 0x51b1ff
cmp edi, 0x5c
jne 0x51b037
mov eax, dword [ecx]
mov edi, esi
push ecx
push 1
mov dword [esp + 0x64], edi
mov ebp, esi
push dword [eax + 0x24]
lea eax, [esp + 0x30]
mov dword [esp + 0x2c], esi
push dword [esp + 0x38]
push eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0xc0]
push eax
call fcn.00513d20
mov ecx, dword [esp + 0x44]
add esp, 0x20
mov esi, eax
test ecx, ecx
je 0x51b011
test byte [esp + 0x70], 2
je 0x51c53d
mov esi, edi
cmp ebp, dword [esp + 0x18]
jb 0x51afd4
mov edi, 0x5c
jmp 0x51b031
mov esi, dword [esp + 0x20]
movzx edi, word [edi]
add esi, 2
cmp dword [esp + 0x48], 0
je 0x51b031
mov eax, edi
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51b031
movzx eax, word [esi]
and edi, 0x3ff
shl edi, 0xa
and eax, 0x3ff
or edi, eax
add edi, 0x10000
add esi, 2
jmp 0x51b031
mov eax, esi
cmp esi, 0x1a
ja case.0x51b01f.1
movzx eax, byte [eax + 0x51c81c]
jmp dword [eax*4 + 0x51c804]
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0x40]
xor ebp, ebp
mov edx, dword [esp + 0x14]
cmp edx, 1
jne 0x51b1fa
cmp edi, dword [ebx - 8]
jne 0x51b1d3
sub ebx, 4
xor edx, edx
mov dword [esp + 0x14], edx
jmp 0x51b206
mov esi, dword [esp + 0xa4]
mov edi, 8
xor ebp, ebp
jmp 0x51b033
mov esi, dword [esp + 0xa4]
mov ebp, 1
mov edx, dword [esp + 0x14]
mov dword [esp + 0x38], ebp
jmp 0x51b20a
mov esi, dword [esp + 0xa4]
mov edx, dword [esp + 0x14]
jmp 0x51b206
cmp dword [esp + 0x14], 1
je 0x51c549
xor edx, edx
lea eax, [esi - 6]
mov dword [esp + 0x14], edx
cmp eax, 0xf
ja case.0x51b0b4.13
movzx eax, byte [eax + 0x51c84c]
jmp dword [eax*4 + 0x51c838]
lea eax, [esi - 0x7fe80000]
mov dword [ebx], eax
add ebx, 4
jmp case.default.0x51b10f
test dword [esp + 0x2c], 0x20000
jne 0x51b0e5
lea eax, [esi - 0x7fe80000]
mov dword [ebx], eax
add ebx, 4
jmp case.default.0x51b10f
cmp esi, 7
je 0x51b0f9
cmp esi, 9
je 0x51b0f9
mov eax, 0x8018000f
cmp esi, 0xb
jne 0x51b0fe
mov eax, 0x80180010
mov dword [ebx], eax
add esi, 0xfffffffa
add ebx, 4
cmp esi, 5
ja case.default.0x51b10f
jmp dword [esi*4 + 0x51c85c]
mov dword [ebx], 0x3000d
add ebx, 4
jmp case.default.0x51b10f
mov dword [ebx], 0x70000
add ebx, 4
jmp case.default.0x51b10f
mov dword [ebx], 0x90000
add ebx, 4
jmp case.default.0x51b10f
push dword [esp + 0xb0]
lea eax, [esp + 0x28]
mov dword [esp + 0x24], edx
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0x68], edx
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.00519640
add esp, 0x18
test eax, eax
je 0x51c601
cmp dword [esp + 0x9c], 0
je 0x51b18d
xor eax, eax
cmp esi, 0xf
sete al
lea esi, [eax + 0xf]
movzx ecx, word [esp + 0x20]
lea eax, [esi - 0x7fe80000]
mov edx, dword [esp + 0x14]
mov dword [ebx], eax
movzx eax, word [esp + 0x60]
shl ecx, 0x10
or ecx, eax
mov dword [ebx + 4], ecx
add ebx, 8
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0xa4]
add eax, 0xfffffffe
cmp esi, eax
jae 0x51b206
cmp word [esi], 0x2d
jne 0x51b206
cmp word [esi + 2], 0x5d
jne 0x51c550
jmp 0x51b206
jb 0x51c55a
test ebp, ebp
jne 0x51b1ed
cmp dword [ebx - 4], 0x801f0000
jne 0x51b1ed
mov dword [ebx - 4], 0x801e0000
mov dword [ebx], edi
add ebx, 4
xor edx, edx
mov dword [esp + 0x14], edx
jmp 0x51b206
lea edx, [ebp + 2]
mov dword [ebx], edi
mov dword [esp + 0x14], edx
add ebx, 4
mov ebp, dword [esp + 0x38]
cmp esi, dword [esp + 0x18]
jae 0x51c567
movzx edi, word [esi]
add esi, 2
cmp dword [esp + 0x48], 0
mov ecx, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0xa4], esi
je 0x51b265
mov eax, edi
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51b265
movzx eax, word [esi]
and edi, 0x3ff
shl edi, 0xa
and eax, 0x3ff
or edi, eax
add edi, 0x10000
add esi, 2
mov dword [esp + 0x40], edi
mov ecx, edi
mov dword [esp + 0xa4], esi
cmp ecx, 0x5d
mov ecx, dword [esp + 0xb0]
jne 0x51ad82
test ebp, ebp
jne 0x51ad82
cmp edx, 1
jne 0x51b289
mov dword [ebx - 4], 0x2d
mov dword [ebx], 0x800d0000
mov ebp, ecx
add ebx, 4
mov dword [esp + 0x14], ebx
jmp 0x51c4a6
cmp esi, dword [esp + 0x18]
jae 0x51c6d5
movzx eax, word [esi]
cmp eax, 0x3f
je 0x51b6de
cmp eax, 0x2a
je 0x51b2f7
inc dword [esp + 0x28]
test dword [esp + 0x2c], 0x2000
jne 0x51b2eb
mov edi, dword [esp + 0xb0]
mov eax, dword [edi + 0x74]
cmp eax, 0xffff
jae 0x51c65c
inc eax
mov dword [edi + 0x74], eax
or eax, 0x80080000
mov dword [ebx], eax
jmp 0x51c498
mov eax, 0x801a0000
mov dword [ebx], eax
jmp 0x51c498
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0xb0]
sub eax, esi
and eax, 0xfffffffe
cmp eax, 2
jle 0x51c4a6
movzx ecx, word [esi + 2]
mov dword [esp + 0x40], ecx
cmp ecx, 0x29
je 0x51c4a6
cmp ecx, 0xff
ja 0x51b538
mov eax, dword [ebp + 0x10]
test byte [ecx + eax], 4
je 0x51b538
push ebp
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 0x6d5da0
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x5c]
push eax
push 0
push dword [esp + 0x60]
lea eax, [esp + 0xc0]
push dword [esp + 0x34]
push eax
call fcn.0051dc10
add esp, 0x24
test eax, eax
je 0x51c601
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x40], esi
cmp esi, dword [esp + 0x18]
jae 0x51c58f
cmp word [esi], 0x3a
jne 0x51c58f
mov esi, dword [esp + 0x20]
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0x44], 0
xor edx, edx
xor edi, edi
xor ebx, ebx
nop
lea eax, [edi*8 + 0x6d5e78]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
cmp edi, dword [eax]
jne 0x51b3e4
push dword [esp + 0x3c]
mov dword [esp + 0x64], edx
mov edi, ebx
push esi
push dword [esp + 0x5c]
call fcn.0054cf90
add esp, 0xc
test eax, eax
je 0x51b401
mov eax, dword [esp + 0x20]
mov ecx, ebp
mov eax, dword [eax]
lea ebp, [ecx + 1]
inc eax
mov dword [esp + 0x44], ebp
mov edi, ebp
add esi, eax
mov ecx, ebp
mov edx, ebp
mov eax, ebp
mov ebx, edi
cmp edi, 0x11
jl 0x51b3b0
jmp 0x51b405
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x14]
cmp eax, 0x11
jge 0x51c58f
mov edx, dword [edi*8 + 0x6d5e7c]
mov edi, dword [esp + 0x30]
test edi, edi
jle 0x51b436
lea eax, [edx + 0x7fdd0000]
cmp eax, 0x30000
ja 0x51c571
cmp edx, 0x80250000
ja 0x51b494
je 0x51b4bf
cmp edx, 0x80230000
ja 0x51b47e
je 0x51bd9f
cmp edx, 0x80020000
je case.0x51b70c.62
cmp edx, 0x80220000
jne 0x51b48a
mov ecx, dword [esp + 0x28]
add esi, 2
mov dword [ebx], edx
add ebx, 4
movzx eax, cx
inc eax
movzx ebp, ax
mov dword [esp + 0x28], ebp
jmp 0x51c49b
cmp edx, 0x80240000
je 0x51bdd1
mov ecx, 0xbd
jmp 0x51c6da
cmp edx, 0x80280000
ja 0x51b4c7
je 0x51b4bf
cmp edx, 0x80260000
je 0x51b4bf
cmp edx, 0x80270000
jne 0x51b48a
mov ebp, dword [esp + 0xb0]
add esi, 2
mov dword [ebx], edx
jmp 0x51be54
sub esi, 2
jmp 0x51be27
cmp edx, 0x8fff0000
jne 0x51b48a
mov ebp, dword [esp + 0x28]
add esi, 2
mov edi, dword [esp + 0x50]
inc ebp
mov dword [ebx], 0x80220000
mov dword [ebx + 4], 0x80020000
add ebx, 8
mov dword [esp + 0x28], ebp
mov dword [esp + 0x14], ebx
test edi, edi
jne 0x51b507
mov eax, dword [esp + 0xb0]
mov edi, dword [eax + 0x14]
mov dword [esp + 0x50], edi
jmp 0x51b51b
add edi, 0xc
mov dword [esp + 0x50], edi
cmp edi, dword [esp + 0x80]
jae 0x51c681
mov eax, 4
mov word [edi], bp
mov word [edi + 6], ax
mov eax, dword [esp + 0x2c]
and eax, 0x10424e8
mov dword [edi + 8], eax
jmp 0x51c49f
push ebp
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 0x6d5cd0
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x5c]
push eax
push 0
push dword [esp + 0x60]
lea eax, [esp + 0xc0]
push dword [esp + 0x34]
push eax
call fcn.0051dc10
add esp, 0x24
test eax, eax
je 0x51c601
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x40], esi
cmp esi, dword [esp + 0x18]
jae 0x51c4c9
movzx eax, word [esi]
cmp eax, 0x3a
je 0x51b59d
cmp eax, 0x29
jne 0x51c4c9
mov ebx, dword [esp + 0x20]
xor edi, edi
xor esi, esi
mov dword [esp + 0x44], edi
xor ecx, ecx
xor edx, edx
xor eax, eax
nop
mov ebp, dword [esp + 0x3c]
lea eax, [eax + eax*2]
mov dword [esp + 0x20], eax
cmp ebp, dword [eax*4 + 0x6d5d00]
jne 0x51b5e1
push dword [esp + 0x3c]
mov ebp, edx
push ebx
push dword [esp + 0x5c]
call fcn.0054cf90
add esp, 0xc
test eax, eax
je 0x51b601
mov eax, dword [esp + 0x20]
mov ecx, esi
mov eax, dword [eax*4 + 0x6d5d00]
lea edi, [ecx + 1]
inc eax
mov dword [esp + 0x44], edi
add ebx, eax
mov esi, edi
mov eax, edi
mov ecx, edi
mov edx, edi
mov ebp, edi
cmp eax, 9
jl 0x51b5b0
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x14]
cmp ebp, 9
jge 0x51c4c9
cmp word [esi], 0x3a
jne 0x51b628
lea eax, [esi + 2]
cmp eax, dword [esp + 0x18]
jae 0x51b628
cmp word [eax], 0x29
cmove esi, eax
lea ecx, [edi + edi*2]
mov edi, dword [ecx*4 + 0x6d5d08]
test edi, edi
jle 0x51b69e
cmp word [esi], 0x3a
jne 0x51c599
mov ecx, dword [ecx*4 + 0x6d5d04]
lea edx, [ebx + 4]
xor eax, eax
mov dword [esp + 0x78], ebx
add esi, 2
cmp ecx, 0x802a0000
sete al
mov dword [esp + 0x34], eax
xor eax, eax
mov ebp, 0x10000
cmp ecx, 0x80290000
cmovne eax, ebp
add eax, ecx
mov ebp, dword [esp + 0xb0]
mov ecx, 1
mov dword [ebx], eax
lea ebx, [edx + 4]
mov dword [esp + 0x88], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x1c], ecx
jmp 0x51c4aa
mov ecx, dword [ecx*4 + 0x6d5d04]
lea edx, [ebx + 4]
xor eax, eax
mov dword [esp + 0x78], ebx
cmp ecx, 0x802a0000
sete al
mov dword [esp + 0x34], eax
movzx eax, word [esi]
add esi, 2
cmp eax, 0x3a
jne 0x51b6d5
test edi, edi
jns 0x51b660
mov dword [esp + 0x7c], ecx
mov eax, 0x80290000
jmp 0x51b672
mov dword [ebx], ecx
mov ebx, edx
jmp 0x51c49b
add esi, 2
mov edi, esi
mov dword [esp + 0xa4], esi
cmp esi, dword [esp + 0x18]
jae 0x51c6d5
movzx ecx, word [esi]
mov edx, ecx
lea eax, [ecx - 0x21]
cmp eax, 0x31
ja case.0x51b70c.34
movzx eax, byte [eax + 0x51c8ac]
jmp dword [eax*4 + 0x51c874]
mov ecx, dword [esp + 0x18]
add esi, 2
mov dword [esp + 0xa4], esi
cmp esi, ecx
jae 0x51c6d5
movzx eax, word [esi]
cmp eax, 0x3c
jne 0x51b73b
mov eax, 0x3e
jmp 0x51beb3
cmp eax, 0x3e
je 0x51b817
cmp eax, 0x3d
jne 0x51c5a3
mov ebp, dword [esp + 0xb0]
lea eax, [esp + 0x24]
push ebp
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x5c]
push eax
push 0x29
push dword [esp + 0x60]
lea eax, [esp + 0xc0]
push ecx
push eax
call fcn.0051dc10
add esp, 0x24
test eax, eax
je 0x51c601
mov dword [ebx], 0x80040000
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0xa4]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [ebx + 8], eax
add ebx, 0xc
mov dword [esp + 0x34], 1
mov dword [esp + 0x14], ebx
jmp 0x51c4a6
xor eax, eax
add esi, 2
mov dword [esp + 0x44], eax
cmp esi, dword [esp + 0x18]
jae 0x51b7d0
cmp word [esi], 0x29
je 0x51c13a
mov ecx, 0x9e
jmp 0x51c6da
mov eax, dword [esp + 0x18]
sub eax, esi
and eax, 0xfffffffe
cmp eax, 4
jl 0x51c5ad
mov ax, word [edi + 2]
sub ax, 0x30
cmp ax, 9
ja 0x51c5ad
lea eax, [edx - 0x30]
cmp ax, 9
ja 0x51c0d9
or eax, 0xffffffff
jmp 0x51c0e3
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0xb0]
lea eax, [esp + 0x24]
push ebp
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x5c]
push eax
push 0x29
push dword [esp + 0x60]
lea eax, [esp + 0xc0]
push ecx
push eax
call fcn.0051dc10
add esp, 0x24
test eax, eax
je 0x51c601
mov dword [ebx], 0x80210000
jmp 0x51b78e
mov eax, dword [esp + 0x18]
add esi, 2
cmp esi, eax
jae 0x51c6d5
mov ecx, dword [esp + 0x30]
dec ecx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x51b899
test byte [esp + 0x2c], 4
je 0x51b899
lea eax, [ebx - 0x10]
cmp ecx, eax
mov eax, dword [esp + 0x18]
jne 0x51b899
cmp dword [ebx - 4], 0xff
cmove ebx, ecx
movzx ecx, word [esi]
mov edi, ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], 1
cmp ecx, 0x29
je 0x51b969
cmp ecx, 0x30
jb 0x51b8c5
cmp ecx, 0x39
jbe 0x51b969
mov ebp, dword [0x6f431c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x44], 0
test ebp, ebp
je 0x51c5c5
mov edi, ecx
xor eax, eax
xor edx, edx
cmp edi, ebp
je 0x51b90a
nop dword [eax]
inc eax
mov edx, eax
mov dword [esp + 0x44], eax
mov ecx, dword [edx*4 + 0x6f431c]
test ecx, ecx
je 0x51c5c5
cmp edi, ecx
jne 0x51b8f0
mov ecx, dword [edx*4 + 0x6f42f8]
test ecx, ecx
je 0x51c5c5
mov edx, dword [esp + 0x18]
mov dword [ebx], 0x80070000
add esi, 2
cmp esi, edx
jae 0x51c5b7
movzx eax, word [esi]
cmp eax, ecx
jne 0x51b923
add esi, 2
cmp esi, edx
jae 0x51b943
movzx eax, word [esi]
cmp eax, ecx
je 0x51b923
mov ecx, dword [esp + 0x20]
mov eax, esi
mov ebp, dword [esp + 0xb0]
sub eax, ecx
mov edi, dword [esp + 0x10]
sar eax, 1
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub ecx, dword [ebp + 0x1c]
sar ecx, 1
mov dword [esp + 0x4c], ecx
jmp 0x51b9b3
mov dword [ebx], 0x80060000
xor ecx, ecx
add ebx, 0xc
cmp esi, eax
jae 0x51b9ac
nop dword [eax + eax]
movzx edx, word [esi]
lea eax, [edx - 0x30]
cmp ax, 9
ja 0x51b9ac
lea ecx, [ecx + ecx*4]
mov eax, edx
lea ecx, [ecx - 0x18]
add esi, 2
lea ecx, [eax + ecx*2]
cmp ecx, 0xff
jg 0x51c5cf
cmp esi, dword [esp + 0x18]
jb 0x51b980
mov ebp, dword [esp + 0xb0]
mov dword [ebx], ecx
cmp esi, dword [esp + 0x18]
jae 0x51c5d9
cmp word [esi], 0x29
jne 0x51c5d9
mov ecx, dword [esp + 0x1c]
add esi, 2
mov eax, esi
sub eax, dword [ebp + 0x1c]
sar eax, 1
add ebx, 4
mov dword [edi + 4], eax
mov dword [edi + 8], 0
mov dword [esp + 0x14], ebx
jmp 0x51c4ae
add esi, 2
mov dword [esp + 0xa4], esi
cmp esi, dword [esp + 0x18]
jae 0x51c6d5
movzx eax, word [esi]
inc dword [esp + 0x28]
cmp eax, 0x3f
je 0x51bd71
cmp eax, 0x2a
je 0x51bd71
mov ebp, dword [esp + 0xb0]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x48]
push eax
push 0xa1
push 0xffff
push dword [ebp + 0x74]
lea eax, [esp + 0xb8]
push dword [esp + 0x2c]
push eax
call fcn.0051de40
add esp, 0x1c
test eax, eax
je 0x51ba85
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0xa4]
test ecx, ecx
jle 0x51c5e3
mov dword [ebx], 0x80120000
mov eax, esi
sub eax, dword [ebp + 0x1c]
sar eax, 1
sub eax, 2
mov dword [ebx + 8], ecx
mov dword [ebx + 4], eax
add ebx, 8
mov dword [esp + 0x4c], eax
jmp 0x51bd4e
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x51c53d
mov ecx, dword [esp + 0x18]
mov ebp, ecx
mov edi, dword [esp + 0xa4]
sub ebp, edi
sar ebp, 1
cmp ebp, 0xa
jl 0x51bbdb
push 7
push str.VERSION
push edi
call fcn.0054cf90
add esp, 0xc
test eax, eax
jne 0x51bbd7
cmp word [edi + 0xe], 0x29
lea esi, [edi + 0xe]
je 0x51bbd7
xor ebp, ebp
xor edi, edi
cmp word [esi], 0x3e
mov eax, esi
mov dword [esp + 0x20], ebp
jne 0x51bae9
add esi, 2
lea ebp, [edi + 1]
mov eax, esi
cmp word [esi], 0x3d
jne 0x51c5ed
lea esi, [eax + 2]
movzx eax, word [esi]
mov dword [esp + 0xa4], esi
cmp eax, 0x30
jb 0x51c5ed
cmp eax, 0x39
ja 0x51c5ed
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
push 0xb3
push 0x3e8
push 0xffffffffffffffff
push dword [esp + 0x2c]
lea eax, [esp + 0xbc]
push eax
call fcn.0051de40
add esp, 0x1c
test eax, eax
je 0x51c601
mov esi, dword [esp + 0xa4]
mov eax, dword [esp + 0x18]
cmp esi, eax
jae 0x51c5ed
cmp word [esi], 0x2e
jne 0x51bbbd
add esi, 2
cmp esi, eax
jae 0x51c5ed
movzx eax, word [esi]
cmp eax, 0x30
jb 0x51c5ed
cmp eax, 0x39
ja 0x51c5ed
mov ecx, dword [esp + 0x18]
sub eax, 0x30
add esi, 2
lea edi, [eax + eax*4]
add edi, edi
cmp esi, ecx
jae 0x51c5ed
movzx eax, word [esi]
cmp eax, 0x30
jb 0x51bbb3
cmp eax, 0x39
ja 0x51bbb3
add eax, 0xffffffd0
add edi, eax
lea eax, [esi + 2]
mov esi, eax
cmp eax, ecx
jae 0x51c5ed
cmp word [esi], 0x29
jne 0x51c5ed
mov eax, dword [esp + 0x20]
mov dword [ebx], 0x80150000
mov dword [ebx + 4], ebp
mov dword [ebx + 8], eax
add ebx, 0xc
mov dword [ebx], edi
jmp 0x51bd47
mov ecx, dword [esp + 0x18]
movzx eax, word [edi]
mov dword [esp + 0x30], 0
cmp eax, 0x52
jne 0x51bc08
cmp ebp, 1
jle 0x51bc23
cmp word [edi + 2], 0x26
lea eax, [edi + 2]
jne 0x51bc23
mov ebp, 1
mov dword [esp + 0xa4], eax
jmp 0x51bc31
cmp eax, 0x3c
jne 0x51bc16
mov ebp, dword [esp + 0x30]
lea esi, [eax + 2]
jmp 0x51bc36
cmp eax, 0x27
jne 0x51bc23
mov ebp, dword [esp + 0x30]
mov esi, eax
jmp 0x51bc36
mov ebp, dword [esp + 0x30]
sub edi, 2
mov dword [esp + 0xa4], edi
mov esi, 0x29
push dword [esp + 0xb0]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x5c]
push eax
push esi
push dword [esp + 0x60]
lea eax, [esp + 0xc0]
push ecx
push eax
call fcn.0051dc10
add esp, 0x24
test eax, eax
je 0x51c601
test ebp, ebp
mov ebp, dword [esp + 0x3c]
je 0x51bc8c
mov esi, dword [esp + 0xa4]
mov dword [ebx], 0x80130000
sub esi, 2
jmp 0x51bd30
cmp esi, 0x29
jne 0x51bd23
mov edi, dword [esp + 0x54]
cmp ebp, 6
jne 0x51bcc5
push 6
push str.DEFINE
push edi
call fcn.0054cf90
add esp, 0xc
test eax, eax
jne 0x51bcc5
mov eax, 0x80100000
mov dword [ebx], eax
mov esi, dword [esp + 0xa4]
sub esi, 2
jmp 0x51bd30
mov eax, 1
mov dword [esp + 0x44], 1
cmp ebp, eax
jle 0x51bd01
mov esi, eax
mov edx, eax
mov ecx, eax
nop dword [eax]
movzx ecx, word [edi + ecx*2]
cmp ecx, 0x30
jb 0x51bd01
mov eax, edx
cmp ecx, 0x39
ja 0x51bd01
lea eax, [esi + 1]
mov ecx, eax
mov dword [esp + 0x44], eax
mov esi, eax
mov edx, eax
cmp ecx, ebp
jl 0x51bce0
cmp word [edi], 0x52
jne 0x51bd10
cmp eax, ebp
mov eax, 0x80140000
jge 0x51bd15
mov eax, 0x80110000
mov dword [ebx], eax
mov esi, dword [esp + 0xa4]
sub esi, 2
jmp 0x51bd30
mov esi, dword [esp + 0xa4]
mov dword [ebx], 0x80110000
mov eax, dword [ebx]
add ebx, 4
cmp eax, 0x80100000
je 0x51bd41
mov dword [ebx], ebp
add ebx, 4
mov eax, dword [esp + 0x4c]
mov dword [ebx], eax
mov ebp, dword [esp + 0xb0]
cmp esi, dword [esp + 0x18]
jae 0x51c5f7
cmp word [esi], 0x29
jne 0x51c5f7
add esi, 2
add ebx, 4
mov dword [esp + 0x14], ebx
jmp 0x51c4a6
mov dword [ebx], 0x800f0000
mov esi, edi
mov dword [esp + 0x6c], 2
jmp 0x51c498
inc dword [esp + 0x28]
mov dword [ebx], 0x80020000
add ebx, 4
add esi, 2
jmp 0x51c49b
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0xb0]
add esi, 2
mov dword [ebx], 0x80230000
jmp 0x51be54
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0xb0]
add esi, 2
mov dword [ebx], 0x80270000
jmp 0x51be54
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0xb0]
add esi, 2
mov dword [ebx], 0x80240000
jmp 0x51be54
mov eax, dword [esp + 0x18]
sub eax, esi
and eax, 0xfffffffe
cmp eax, 2
jle 0x51b731
movzx eax, word [edi + 2]
cmp eax, 0x3d
je 0x51be1e
cmp eax, 0x21
je 0x51be0c
cmp eax, 0x2a
jne 0x51b731
cmp eax, 0x21
mov edx, 0x80280000
mov eax, 0x80260000
cmove edx, eax
jmp 0x51be23
mov edx, 0x80250000
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0xac]
mov ebp, dword [esp + 0xb0]
mov dword [ebx], edx
mov dword [eax], 1
mov eax, esi
sub eax, dword [ebp + 0x1c]
add esi, 4
sar eax, 1
sub eax, 2
mov dword [ebx + 4], eax
add ebx, 4
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
add ebx, 4
inc eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], eax
test edi, edi
jle 0x51c4a6
mov edi, dword [esp + 0x50]
test edi, edi
jne 0x51be7d
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x50], edi
jmp 0x51be91
add edi, 0xc
mov dword [esp + 0x50], edi
cmp edi, dword [esp + 0x80]
jae 0x51c681
mov word [edi], ax
mov eax, 2
mov word [edi + 6], ax
mov eax, dword [esp + 0x2c]
and eax, 0x10424e8
mov dword [edi + 8], eax
jmp 0x51c4a6
mov eax, 0x27
mov edi, dword [esp + 0xb0]
lea ecx, [esp + 0x24]
push edi
push ecx
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x5c]
push ecx
push eax
push dword [esp + 0x60]
lea eax, [esp + 0xc0]
push dword [esp + 0x34]
push eax
call fcn.0051dc10
add esp, 0x24
test eax, eax
je 0x51c601
mov eax, dword [edi + 0x74]
cmp eax, 0xffff
jae 0x51c655
inc dword [esp + 0x28]
inc eax
mov dword [edi + 0x74], eax
or eax, 0x80080000
mov dword [ebx], eax
add ebx, 4
movzx edx, word [edi + 0x58]
mov eax, 0x2710
mov dword [esp + 0x14], ebx
cmp dx, ax
jae 0x51c644
mov ecx, dword [esp + 0x3c]
movzx eax, word [edi + 0x5a]
add ecx, 2
cmp ecx, eax
mov ecx, dword [esp + 0x3c]
jbe 0x51bf40
lea eax, [ecx + 2]
mov word [edi + 0x5a], ax
mov esi, dword [edi + 0x64]
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x20], 0
xor edi, edi
mov dword [esp + 0x44], ebp
cmp ax, dx
jae 0x51bfd3
nop word [eax + eax]
movzx eax, word [esi + 8]
cmp ecx, eax
jne 0x51bfaa
push ecx
push dword [esi]
push dword [esp + 0x5c]
call fcn.0054cf50
add esp, 0xc
test eax, eax
jne 0x51bfaa
mov ecx, dword [esp + 0xb0]
mov eax, dword [esi + 4]
cmp eax, dword [ecx + 0x74]
je 0x51bfd3
test byte [esp + 0x2c], 0x40
je 0x51c611
mov eax, 1
mov word [esi + 0xa], ax
mov dword [esp + 0x20], eax
mov dword [ecx + 0xbc], eax
jmp 0x51bfbd
mov ecx, dword [esp + 0xb0]
mov eax, dword [esi + 4]
cmp eax, dword [ecx + 0x74]
je 0x51c622
movzx eax, word [ecx + 0x58]
inc ebp
mov ecx, dword [esp + 0x3c]
add esi, 0xc
mov dword [esp + 0x44], ebp
mov edi, ebp
cmp ebp, eax
jl 0x51bf60
mov ebp, dword [esp + 0xb0]
movzx eax, word [ebp + 0x58]
cmp edi, eax
jl case.default.0x51a93e
mov ecx, dword [ebp + 0x68]
cmp eax, ecx
jb 0x51c041
lea edi, [ecx + ecx]
mov ecx, dword [ebp]
lea eax, [edi + edi*2]
shl eax, 2
push dword [ecx + 8]
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
add esp, 8
test esi, esi
je 0x51c633
mov ecx, dword [ebp + 0x68]
lea ecx, [ecx + ecx*2]
shl ecx, 2
push ecx
push dword [ebp + 0x64]
push esi
call fcn.00554ff0
add esp, 0xc
cmp dword [ebp + 0x68], 0x14
jbe 0x51c03b
mov eax, dword [ebp]
push dword [eax + 8]
mov eax, dword [eax + 4]
push dword [ebp + 0x64]
call eax
add esp, 8
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x68], edi
movzx eax, word [ebp + 0x58]
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x3c]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0x64]
mov dword [eax + ecx*4], edx
movzx eax, word [ebp + 0x58]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0x64]
mov word [eax + ecx*4 + 8], si
movzx eax, word [ebp + 0x58]
mov ecx, dword [ebp + 0x64]
mov esi, dword [esp + 0xa4]
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0x74]
mov dword [ecx + edx*4 + 4], eax
movzx eax, word [ebp + 0x58]
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0x64]
mov word [eax + ecx*4 + 0xa], dx
inc word [ebp + 0x58]
jmp 0x51c4a6
mov ebp, dword [esp + 0xb0]
mov esi, dword [esp + 0xa4]
jmp 0x51c4a6
cmp ecx, 0x2d
jne 0x51c16d
mov eax, dword [esp + 0x18]
sub eax, esi
and eax, 0xfffffffe
cmp eax, 2
jle 0x51c16d
mov ax, word [edi + 2]
sub ax, 0x30
cmp ax, 9
ja 0x51c16d
mov eax, dword [esp + 0xb0]
mov eax, dword [eax + 0x74]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x48]
push ecx
push 0xa1
push 0xffff
push eax
lea eax, [esp + 0xb8]
push edi
push eax
call fcn.0051de40
add esp, 0x1c
test eax, eax
je 0x51c601
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0xa4]
test eax, eax
js 0x51c663
cmp esi, edi
jae 0x51c6d5
cmp word [esi], 0x29
jne 0x51c6d5
mov ebp, dword [esp + 0xb0]
or eax, 0x80200000
mov dword [ebx], eax
mov eax, esi
add esi, 2
mov dword [esp + 0x34], 1
sub eax, dword [ebp + 0x1c]
sar eax, 1
mov dword [ebx + 4], eax
add ebx, 8
mov dword [esp + 0x4c], eax
mov dword [esp + 0x14], ebx
jmp 0x51c4a6
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x50]
inc eax
mov dword [esp + 0x28], eax
test edi, edi
jne 0x51c18e
mov ebp, dword [esp + 0xb0]
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x50], edi
jmp 0x51c1a9
add edi, 0xc
mov dword [esp + 0x50], edi
cmp edi, dword [esp + 0x80]
jae 0x51c681
mov ebp, dword [esp + 0xb0]
mov edx, dword [esp + 0x2c]
mov word [edi], ax
xor eax, eax
mov word [edi + 6], ax
mov eax, edx
and eax, 0x10424e8
mov dword [edi + 8], eax
cmp word [esi], 0x7c
jne 0x51c1fb
movzx eax, word [ebp + 0x74]
mov word [edi + 2], ax
movzx eax, word [ebp + 0x74]
mov word [edi + 4], ax
mov eax, 1
mov word [edi + 6], ax
or dword [ebp + 0x70], 0x200000
mov dword [ebx], 0x801a0000
add ebx, 4
mov dword [esp + 0x14], ebx
add esi, 2
jmp 0x51c4a6
xor eax, eax
mov dword [esp + 0x20], edx
mov dword [edi + 2], eax
lea edx, [esp + 0x90]
mov eax, dword [esp + 0x18]
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], edi
mov ebp, 1
cmp esi, eax
jae 0x51c309
cmp word [esi], 0x5e
jne 0x51c241
and dword [esp + 0x2c], 0xfeffdb57
xor ebp, ebp
add esi, 2
cmp esi, eax
jae 0x51c309
mov edi, eax
nop dword [eax + eax]
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x29
je 0x51c2fb
cmp eax, 0x3a
je 0x51c2fb
lea eax, [ecx - 0x2d]
add esi, 2
cmp eax, 0x4b
ja case.0x51c27d.46
movzx eax, byte [eax + 0x51c904]
jmp dword [eax*4 + 0x51c8e0]
test ebp, ebp
je 0x51c66d
lea edx, [esp + 0x94]
xor ebp, ebp
jmp 0x51c2f1
mov eax, dword [esp + 0xb0]
or dword [edx], 0x40
or dword [eax + 0x70], 0x400
jmp 0x51c2f1
or dword [edx], 8
jmp 0x51c2f1
or dword [edx], 0x400
jmp 0x51c2f1
or dword [edx], 0x2000
jmp 0x51c2f1
or dword [edx], 0x20
jmp 0x51c2f1
or dword [edx], 0x40000
jmp 0x51c2f1
mov ecx, dword [edx]
mov eax, esi
or ecx, 0x80
mov dword [edx], ecx
cmp esi, edi
jae 0x51c2f3
cmp word [esi], 0x78
jne 0x51c250
or ecx, 0x1000000
add esi, 2
mov dword [edx], ecx
mov eax, esi
cmp eax, edi
jb 0x51c250
mov edi, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov eax, edi
and eax, 0x1000080
cmp eax, 0x80
je 0x51c31b
test cl, cl
jns 0x51c321
or ecx, 0x1000000
or edi, dword [esp + 0x2c]
not ecx
and edi, ecx
mov edx, edi
mov dword [esp + 0x2c], edx
cmp esi, dword [esp + 0x18]
jae 0x51c6d5
movzx eax, word [esi]
add esi, 2
mov ebp, dword [esp + 0xb0]
cmp eax, 0x29
jne 0x51c374
add dword [esp + 0x28], 0xffff
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
cmp edi, dword [ebp + 0x14]
jbe 0x51c36f
cmp word [edi - 0xc], cx
lea eax, [edi - 0xc]
jne 0x51c36f
mov dword [esp + 0x50], eax
jmp 0x51c381
mov word [edi], cx
jmp 0x51c381
mov dword [ebx], 0x801a0000
add ebx, 4
mov dword [esp + 0x14], ebx
cmp edx, dword [esp + 0x20]
je 0x51c4a6
mov dword [ebx], 0x801b0000
mov dword [ebx + 4], edx
add ebx, 8
mov dword [esp + 0x14], ebx
jmp 0x51c4a6
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0xb0]
test edi, edi
je 0x51c3d4
mov ecx, dword [esp + 0x28]
cmp word [edi], cx
jne 0x51c3d4
test byte [edi + 6], 1
je 0x51c3d4
movzx eax, word [edi + 4]
mov ecx, dword [ebp + 0x74]
cmp ecx, eax
jbe 0x51c3cd
mov word [edi + 4], cx
movzx eax, word [edi + 2]
mov dword [ebp + 0x74], eax
mov dword [ebx], 0x80010000
add ebx, 4
mov dword [esp + 0x14], ebx
jmp 0x51c4a6
mov edi, dword [esp + 0x50]
mov dword [esp + 0x34], 1
test edi, edi
je 0x51c461
mov ecx, dword [esp + 0x28]
cmp word [edi], cx
jne 0x51c461
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0xb0]
and edx, 0xfefbdb17
or edx, dword [edi + 8]
test byte [edi + 6], 1
mov dword [esp + 0x2c], edx
je 0x51c429
movzx eax, word [edi + 4]
cmp eax, dword [ebp + 0x74]
jbe 0x51c429
mov dword [ebp + 0x74], eax
movzx eax, word [edi + 6]
mov ecx, eax
not ecx
shr ecx, 1
and ecx, 1
mov dword [esp + 0x34], ecx
test al, 4
je 0x51c447
mov dword [ebx], 0x80190000
add ebx, 4
cmp edi, dword [ebp + 0x14]
jne 0x51c454
xor eax, eax
mov dword [esp + 0x50], eax
jmp 0x51c468
sub edi, 0xc
mov dword [esp + 0x34], ecx
mov dword [esp + 0x50], edi
jmp 0x51c468
mov ebp, dword [esp + 0xb0]
mov edi, dword [esp + 0x28]
test di, di
je 0x51c688
add edi, 0xffff
mov dword [ebx], 0x80190000
add ebx, 4
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], ebx
jmp 0x51c4a6
mov dword [esp + 0x34], 1
mov dword [ebx], edi
add ebx, 4
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 0xb0]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
movzx eax, ax
cmp esi, dword [esp + 0x18]
jb 0x51a0a0
mov edx, eax
test ecx, ecx
je 0x519fd9
mov ecx, 0xa0
jmp 0x51c6da
mov ecx, 0x8c
jmp 0x51c6da
sub esi, 2
mov ecx, 0xb0
jmp 0x51c6da
mov ecx, 0x76
jmp 0x51c6da
mov ecx, 0x6d
sub esi, 2
jmp 0x51c6da
movzx eax, word [esi]
xor ecx, ecx
sub esi, 2
cmp eax, 0x3a
setne cl
add ecx, 0x70
jmp 0x51c6da
mov ecx, 0x71
sub esi, 2
jmp 0x51c6da
mov esi, dword [esp + 0xa4]
mov ecx, 0x6b
sub esi, 2
jmp 0x51c6da
mov ecx, 0xab
mov esi, dword [esp + 0xa4]
jmp 0x51c6da
mov esi, dword [esp + 0xa4]
mov ecx, 0x96
jmp 0x51c6da
mov ecx, 0x6c
sub esi, 2
jmp 0x51c6da
mov ecx, 0x6a
jmp 0x51c6da
cmp edx, 0x80270000
je 0x51c585
cmp edx, 0x80280000
jne 0x51a53c
mov ecx, 0xc6
jmp 0x51c6da
mov ecx, 0xc3
jmp 0x51c6da
mov ecx, 0xa6
jmp 0x51c6da
mov ecx, 0x8d
jmp 0x51c6da
mov ecx, 0x81
jmp 0x51c6da
mov esi, dword [esp + 0x20]
mov ecx, 0xb5
jmp 0x51c6da
mov ecx, 0xb6
jmp 0x51c6da
mov ecx, 0x8a
jmp 0x51c6da
mov ecx, 0x8b
jmp 0x51c6da
mov ecx, 0x73
jmp 0x51c6da
mov ecx, 0xb3
jmp 0x51c6da
mov ecx, 0x7c
jmp 0x51c6da
mov esi, dword [esp + 0xa4]
mov ecx, dword [esp + 0x24]
jmp 0x51c6da
mov esi, dword [esp + 0xa4]
mov ecx, 0x8f
jmp 0x51c6da
mov esi, dword [esp + 0xa4]
mov ecx, 0xa5
jmp 0x51c6da
mov esi, dword [esp + 0xa4]
mov ecx, 0x79
jmp 0x51c6da
mov esi, dword [esp + 0xa4]
mov ecx, 0x95
jmp 0x51c6da
mov esi, dword [esp + 0xa4]
mov ecx, 0xc5
jmp 0x51c6da
mov ecx, 0x73
sub esi, 2
jmp 0x51c6da
mov ecx, 0xc2
add esi, 0xfffffffe
jmp 0x51c6da
mov ecx, 0x6f
add esi, 0xfffffffe
jmp 0x51c6da
mov ecx, 0xb8
jmp 0x51c6da
mov ecx, 0x7a
sub esi, 2
jmp 0x51c6da
mov ecx, 0x77
jmp 0x51c6da
test al, 4
je 0x51c6ad
mov dword [ecx], 0x80190000
mov dword [ecx + 4], 0x80180005
add ecx, 8
cmp ecx, dword [esp + 0x84]
jb 0x51c6bd
mov ecx, 0xa3
jmp 0x51c6da
mov dword [ecx], 0x80000000
test dx, dx
jne 0x51c6d5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x90
ret
mov ecx, 0x72
mov eax, dword [esp + 0xb0]
pop edi
sub esi, dword [eax + 0x1c]
sar esi, 1
mov dword [eax + 0x54], esi
mov eax, ecx
pop esi
pop ebp
pop ebx
add esp, 0x90
ret