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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x144
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x58], eax
mov edx, dword [edx]
mov eax, edx
shr eax, 0xb
and eax, 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], eax
mov eax, edx
push ebx
mov ebx, dword [ebp + 0x10]
and edx, 1
shr eax, 9
push esi
mov esi, dword [ebp + 0xc]
and eax, 1
mov ebx, dword [ebx]
mov dword [esp + 0x104], eax
xor eax, 1
push edi
mov esi, dword [esi]
xor edi, edi
mov dword [esp + 0x114], eax
xor eax, eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xf4], esi
mov dword [esp + 0x7c], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x60], 0xfffffffe
mov dword [esp + 0x70], 0xfffffffe
mov dword [esp + 0x5c], 0xfffffffe
mov dword [esp + 0x3c], 0xfffffffe
mov dword [esp + 0xb8], edx
mov dword [esp + 0xb0], 0x7fffffeb
jmp 0x505d28
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
movzx ecx, byte [ebx]
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x505d4a
test eax, eax
je 0x505d4a
mov ebx, eax
xor eax, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], eax
movzx ecx, byte [ebx]
mov dword [esp + 0x24], ecx
cmp dword [ebp + 0x34], 0
mov edx, dword [ebp + 0x30]
je 0x505e07
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x3c]
add eax, 0xffffff9c
add eax, ecx
cmp esi, eax
ja 0x509b8f
mov eax, dword [esp + 0xc0]
cmp esi, eax
jae 0x505d7b
mov esi, eax
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0x34]
mov ecx, esi
sub ecx, dword [esp + 0xc0]
mov edx, dword [eax]
mov eax, dword [esp + 0xb0]
sub eax, edx
cmp eax, ecx
jl 0x509b78
sub edx, dword [esp + 0xc0]
mov eax, dword [ebp + 0x34]
add edx, esi
mov dword [eax], edx
test edi, edi
je 0x505df0
mov ecx, dword [esp + 0xf4]
cmp edi, ecx
jbe 0x505dfb
mov eax, esi
sub eax, edi
push eax
push edi
push ecx
call sub.MSVCRT.dll_memmove
mov eax, dword [esp + 0x100]
add esp, 0xc
mov ebx, dword [esp + 0x10]
sub eax, edi
mov edi, dword [esp + 0xf4]
add esi, eax
mov edx, dword [ebp + 0x30]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0xc0], esi
jmp 0x505e16
mov esi, dword [esp + 0xf4]
mov dword [esp + 0x14], esi
mov edx, dword [ebp + 0x30]
mov dword [esp + 0xc0], esi
jmp 0x505e16
mov eax, dword [edx + 0x3c]
add eax, dword [edx + 0x10]
cmp dword [edx + 0x20], eax
ja 0x50a0a0
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x505f8a
cmp ecx, 0x5c
jne 0x505e48
cmp byte [ebx + 1], 0x45
lea eax, [ebx + 1]
jne 0x505e48
mov ebx, eax
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x505d28
cmp dword [esp + 0x7c], 0
je 0x505f64
mov edi, dword [esp + 0xac]
test edi, edi
je 0x505e90
cmp dword [ebp + 0x34], 0
jne 0x505e85
movzx ecx, byte [edi + 2]
movzx eax, byte [edi + 3]
shl ecx, 8
or ecx, eax
sub ebx, ecx
sub ebx, dword [edx + 0x18]
mov eax, ebx
mov byte [edi + 5], bl
sar eax, 8
mov byte [edi + 4], al
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xac], 0
test dword [esp + 0x38], 0x4000
mov ecx, dword [esp + 0x24]
je case.0x506205.1
mov word [esi], 0xff76
mov eax, ebx
sub eax, dword [edx + 0x18]
sar eax, 8
mov byte [esi + 2], al
lea eax, [esi + 6]
sub bl, byte [edx + 0x18]
mov byte [esi + 3], bl
mov word [esi + 4], 0
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xac], esi
mov dword [esp + 0x14], eax
cmp dword [esp + 0x44], 0
mov esi, 1
mov byte [esp + 0x84], cl
je 0x505f0a
cmp ecx, 0xc0
jb 0x505f0a
mov al, byte [ebx + 1]
inc ebx
and al, 0xc0
cmp al, 0x80
jne 0x505f0a
mov dword [esp + 0x10], ebx
movzx eax, byte [ebx]
inc ebx
mov byte [esp + esi + 0x84], al
inc esi
movzx eax, byte [ebx]
and al, 0xc0
cmp al, 0x80
je 0x505ef1
mov ebx, dword [esp + 0x38]
mov edi, dword [ebp + 0x30]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
mov ecx, dword [edi + 0x20]
sub ecx, dword [edi + 0x10]
cmp dword [esp + 0x44], 0
mov dword [esp + 0x64], ecx
je 0x509a53
test bl, 1
je 0x509a53
movzx ebx, byte [esp + 0x84]
cmp ebx, 0xc0
jb 0x5099d5
test bl, 0x20
jne 0x509928
movzx eax, byte [esp + 0x85]
and ebx, 0x1f
jmp 0x5099cd
cmp ecx, 0x5c
jne 0x505f8a
cmp byte [ebx + 1], 0x51
lea eax, [ebx + 1]
jne 0x505f8a
mov ebx, eax
mov dword [esp + 0x7c], 1
mov eax, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x505d28
mov edi, dword [esp + 0x38]
and edi, 8
je 0x50602a
mov eax, dword [edx + 0xc]
mov esi, ebx
test byte [eax + ecx], 1
je 0x505fb4
inc ebx
mov dword [esp + 0x10], ebx
movzx ecx, byte [ebx]
mov dword [esp + 0x24], ecx
test byte [eax + ecx], 1
jne 0x505fa2
cmp ecx, 0x23
jne 0x50601e
inc ebx
mov dword [esp + 0x10], ebx
mov al, byte [ebx]
mov byte [esp + 0x43], al
test al, al
je 0x50601e
jmp 0x505fd0
mov edx, dword [edx + 0x84]
test edx, edx
je 0x50607e
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax + 0x1c]
cmp ebx, ecx
jae 0x5060b6
push dword [esp + 0x44]
add eax, 0x88
push eax
push ecx
push edx
push ebx
call fcn.0051d260
mov ebx, dword [esp + 0x24]
add esp, 0x14
mov edx, dword [ebp + 0x30]
test eax, eax
je 0x5060b8
add ebx, dword [edx + 0x88]
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x24]
cmp ebx, esi
mov esi, dword [esp + 0x14]
ja 0x505d20
cmp ecx, 0x28
jne 0x50610b
cmp byte [ebx + 1], 0x3f
jne 0x506137
cmp byte [ebx + 2], 0x23
jne 0x506137
add ebx, 3
mov dword [esp + 0x10], ebx
mov al, byte [ebx]
test al, al
je 0x506067
cmp al, 0x29
je 0x5060f0
inc ebx
mov dword [esp + 0x10], ebx
mov al, byte [ebx]
test al, al
jne 0x506054
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x12
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x30]
mov eax, dword [edx + 0x1c]
mov ecx, dword [edx + 0x88]
sub eax, ecx
cmp ebx, eax
ja 0x5060b8
mov al, byte [esp + 0x43]
cmp al, byte [edx + 0x8c]
jne 0x5060b8
cmp ecx, 1
je 0x506010
mov al, byte [ebx + 1]
cmp al, byte [edx + 0x8d]
je 0x506010
jmp 0x5060b8
mov edx, eax
inc ebx
cmp dword [esp + 0x44], 0
mov dword [esp + 0x10], ebx
je 0x5060dd
mov al, byte [ebx]
and al, 0xc0
cmp al, 0x80
jne 0x5060dd
lea esp, [esp]
inc ebx
mov dword [esp + 0x10], ebx
mov al, byte [ebx]
and al, 0xc0
cmp al, 0x80
je 0x5060d0
mov al, byte [ebx]
mov byte [esp + 0x43], al
test al, al
jne 0x505fd0
jmp 0x50601a
cmp byte [ebx], 0
je 0x506067
mov edi, dword [esp + 0x1c]
inc ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], ebx
jmp 0x505d28
cmp ecx, 0x2a
je 0x50619e
cmp ecx, 0x2b
je 0x50619e
cmp ecx, 0x3f
je 0x50619e
cmp ecx, 0x7b
jne 0x506137
lea eax, [ebx + 1]
push eax
call fcn.0050bdf0
add esp, 4
test eax, eax
jne 0x50619e
mov ecx, dword [esp + 0xac]
xor edx, edx
mov eax, dword [esp + 0x28]
test ecx, ecx
je 0x5061a7
test eax, eax
jne 0x5061a7
mov eax, dword [esp + 0xc8]
dec dword [esp + 0xc8]
test eax, eax
jg 0x5061a3
cmp dword [ebp + 0x34], edx
jne 0x506195
mov eax, dword [esp + 0xac]
movzx ecx, byte [ecx + 2]
shl ecx, 8
movzx eax, byte [eax + 3]
or ecx, eax
mov eax, dword [ebp + 0x30]
sub ebx, ecx
mov ecx, dword [esp + 0xac]
sub ebx, dword [eax + 0x18]
mov eax, ebx
mov byte [ecx + 5], bl
sar eax, 8
mov byte [ecx + 4], al
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xac], edx
jmp 0x5061a3
mov edx, 1
mov eax, dword [esp + 0x28]
test dword [esp + 0x38], 0x4000
je 0x5061ee
test edx, edx
jne 0x5061ee
test eax, eax
jne 0x5061ee
mov byte [esi], 0x76
lea ecx, [esi + 1]
mov dword [esp + 0xac], esi
mov eax, ebx
mov esi, dword [ebp + 0x30]
mov byte [ecx], 0xff
sub eax, dword [esi + 0x18]
sar eax, 8
mov byte [ecx + 1], al
lea eax, [ecx + 5]
sub bl, byte [esi + 0x18]
mov byte [ecx + 2], bl
mov word [ecx + 3], dx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
jmp 0x5061f1
mov esi, dword [ebp + 0x30]
mov ecx, dword [esp + 0x24]
cmp ecx, 0x7c
ja case.0x506205.1
movzx eax, byte [ecx + 0x50a0ec]
jmp dword [eax*4 + 0x50a0b8]
xor edi, edi
test byte [esp + 0x38], 2
mov dword [esp + 0x1c], edi
je 0x50624e
cmp dword [esp + 0x3c], 0xfffffffe
jne 0x506230
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x70], 0xffffffff
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov byte [esi], 0x1c
inc esi
mov ebx, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
jmp 0x505d28
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov byte [esi], 0x1b
inc esi
mov ebx, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
jmp 0x505d28
mov esi, dword [esp + 0x14]
xor edi, edi
test byte [esp + 0x38], 2
mov dword [esp + 0x1c], edi
setne al
add al, 0x19
mov byte [esi], al
inc esi
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
jmp 0x505d28
mov edx, dword [esp + 0x3c]
cmp edx, 0xfffffffe
jne 0x5062a9
or edx, 0xffffffff
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x78]
mov ecx, dword [esi + 0x20]
sub ecx, dword [esi + 0x10]
mov edi, dword [esp + 0x14]
mov esi, edi
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
shr eax, 2
and al, 1
mov dword [esp + 0x70], edx
or al, 0xc
mov dword [esp + 0x1c], edi
mov byte [esi], al
inc esi
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
jmp 0x505d28
test dword [esi + 0x60], 0x2000000
je case.0x506205.1
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x40
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 6
lea eax, [ebx + 1]
push 0x5ee068
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x50635b
mov esi, dword [esp + 0x14]
add eax, 7
mov ebx, str._b__w_
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ebx
jmp 0x505d24
push 6
inc eax
push str._:_:__
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x50638d
mov eax, dword [esp + 0x10]
mov ebx, str._b___w_
mov esi, dword [esp + 0x14]
add eax, 7
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ebx
jmp 0x505d24
mov ebx, dword [esp + 0x10]
mov edx, dword [esi + 0x20]
sub edx, dword [esi + 0x10]
mov edi, dword [esp + 0x14]
mov al, byte [ebx + 1]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x64], edx
cmp al, 0x3a
je 0x5063b2
cmp al, 0x2e
je 0x5063b2
cmp al, 0x3d
jne 0x5063cf
lea eax, [esp + 0x9c]
push eax
push ebx
call fcn.005050c0
mov ebx, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x509c6e
xor ecx, ecx
mov dword [esp + 0x34], ecx
inc ebx
mov dword [esp + 0x10], ebx
movzx eax, byte [ebx]
mov dword [esp + 0x30], eax
cmp eax, 0x5c
jne 0x50640d
inc ebx
cmp byte [ebx], 0x45
je 0x5063d5
push 3
push 0x5ee078
push ebx
call sub.MSVCRT.dll_strncmp
mov ebx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x506423
mov ecx, dword [esp + 0x34]
add ebx, 3
jmp 0x5063d5
test ecx, ecx
jne 0x5064d4
cmp eax, 0x5e
jne 0x5064d4
lea ecx, [eax - 0x5d]
jmp 0x5063d1
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], ecx
lea ecx, [edi + 4]
mov edx, ecx
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov dword [esp + 0x20], edx
xor edi, edi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], ecx
test eax, eax
je 0x509c57
mov edi, edi
cmp dword [esp + 0x44], 0
je 0x506600
cmp eax, 0xc0
jb 0x506600
movzx eax, byte [ebx]
mov dword [esp + 0x30], eax
cmp eax, 0xc0
jb 0x506600
test al, 0x20
jne 0x506534
mov ecx, dword [esp + 0x30]
inc ebx
and ecx, 0x1f
shl ecx, 6
movzx eax, byte [ebx]
and eax, 0x3f
or eax, ecx
jmp 0x5065f8
cmp eax, 0x5d
jne 0x506427
test dword [esi + 0x60], 0x2000000
je 0x506427
mov esi, dword [esp + 0x14]
neg ecx
sbb cl, cl
and cl, 0x70
add cl, 0x9d
mov byte [esi], cl
inc esi
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], esi
cmp ecx, 0xfffffffe
jne 0x50650f
or ecx, 0xffffffff
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
inc ebx
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x10], ebx
jmp 0x505d28
movzx ecx, byte [ebx + 1]
and ecx, 0x3f
test al, 0x10
jne 0x50655b
and eax, 0xf
shl eax, 6
or ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 6
and eax, 0x3f
or eax, ecx
add ebx, 2
jmp 0x5065f4
test al, 8
jne 0x506584
and eax, 7
shl eax, 6
or ecx, eax
movzx eax, byte [ebx + 2]
and eax, 0x3f
shl ecx, 6
or ecx, eax
movzx eax, byte [ebx + 3]
shl ecx, 6
and eax, 0x3f
or eax, ecx
add ebx, 3
jmp 0x5065f4
test al, 4
jne 0x5065b9
and eax, 3
shl eax, 6
or ecx, eax
movzx eax, byte [ebx + 2]
and eax, 0x3f
shl ecx, 6
or ecx, eax
movzx eax, byte [ebx + 3]
and eax, 0x3f
shl ecx, 6
or ecx, eax
movzx eax, byte [ebx + 4]
shl ecx, 6
and eax, 0x3f
or eax, ecx
add ebx, 4
jmp 0x5065f4
and eax, 1
shl eax, 6
or ecx, eax
movzx eax, byte [ebx + 2]
and eax, 0x3f
shl ecx, 6
or ecx, eax
movzx eax, byte [ebx + 3]
and eax, 0x3f
shl ecx, 6
or ecx, eax
movzx eax, byte [ebx + 4]
and eax, 0x3f
shl ecx, 6
or ecx, eax
movzx eax, byte [ebx + 5]
shl ecx, 6
and eax, 0x3f
or eax, ecx
add ebx, 5
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x2c], edx
jbe 0x50660e
mov dword [esp + 0x4c], 1
cmp dword [ebp + 0x34], 0
je 0x50662a
mov ecx, dword [esp + 0x2c]
cmp ecx, edx
jbe 0x50662a
mov esi, dword [ebp + 0x34]
sub ecx, edx
mov dword [esp + 0x2c], edx
add dword [esi], ecx
mov esi, dword [ebp + 0x30]
cmp dword [esp + 0x7c], 0
je 0x506656
cmp eax, 0x5c
jne 0x506c5f
cmp byte [ebx + 1], 0x45
lea eax, [ebx + 1]
jne 0x506c5f
mov dword [esp + 0x7c], 0
mov ebx, eax
jmp 0x506f5f
cmp eax, 0x5b
jne 0x5068e1
mov al, byte [ebx + 1]
cmp al, 0x3a
je 0x506672
cmp al, 0x2e
je 0x506672
cmp al, 0x3d
jne 0x506c5f
lea eax, [esp + 0x9c]
push eax
push ebx
call fcn.005050c0
mov ebx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x506c5f
mov eax, dword [esi + 8]
xor edi, edi
cmp byte [ebx + 1], 0x3a
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], eax
jne 0x509bca
add ebx, 2
mov dword [esp + 0x10], ebx
cmp byte [ebx], 0x5e
jne 0x5066cd
mov edi, 1
inc ebx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x9c]
sub eax, ebx
push eax
push ebx
call fcn.00505070
mov esi, eax
add esp, 8
test esi, esi
js 0x509baf
mov ecx, dword [esp + 0x38]
test cl, 1
je 0x5066fe
xor eax, eax
cmp esi, 2
setle al
dec eax
and esi, eax
test ecx, 0x20000000
je 0x5067a1
mov eax, edi
neg eax
sbb eax, eax
and eax, 0xe
add eax, esi
mov ebx, dword [eax*4 + 0x725f48]
test ebx, ebx
je 0x506739
mov eax, dword [esp + 0x9c]
mov edi, dword [esp + 0x24]
inc eax
mov esi, dword [ebp + 0x30]
dec ebx
mov dword [esp + 0x28], eax
jmp 0x506f5b
mov eax, esi
sub eax, 8
je 0x506800
dec eax
je 0x5067f9
dec eax
je 0x5067f2
test edi, edi
je 0x5067a1
cmp dword [esp + 0x4c], 0
jne 0x50676a
mov eax, dword [esp + 0x9c]
cmp byte [eax + 2], 0x5d
je 0x5067a1
mov eax, dword [esp + 0x2c]
mov byte [eax], 2
mov eax, dword [esp + 0x2c]
inc eax
push eax
push 0x100
mov dword [esp + 0x34], eax
call fcn.0051cb90
mov ecx, dword [esp + 0x34]
add ecx, eax
push ecx
push 0x10ffff
mov dword [esp + 0x3c], ecx
call fcn.0051cb90
add esp, 0x10
add dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x90]
lea eax, [esi + esi*2]
mov esi, dword [eax*4 + 0x5ecdb0]
lea edi, [esp + 0x130]
mov edx, dword [eax*4 + 0x5ecdb4]
add esi, ebx
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [eax*4 + 0x5ecdb8]
test edx, edx
js 0x506862
xor ecx, ecx
add edx, ebx
test esi, esi
js 0x506850
mov al, byte [edx + ecx]
or byte [esp + ecx + 0x130], al
inc ecx
cmp ecx, 0x20
jb 0x5067e0
jmp 0x506862
mov edx, 0xd
jmp 0x506805
mov edx, 0xc
jmp 0x506805
mov edx, 0xb
mov eax, dword [esp + 0x2c]
test edi, edi
mov ebx, dword [esp + 0x9c]
mov edi, dword [esp + 0x24]
setne cl
mov esi, dword [ebp + 0x30]
add cl, 3
mov byte [eax], cl
mov ecx, 1
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], eax
mov byte [eax], dl
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x2c], eax
mov byte [eax], 0
inc dword [esp + 0x2c]
inc ebx
jmp 0x506f63
mov al, byte [edx + ecx]
not al
and byte [esp + ecx + 0x130], al
inc ecx
cmp ecx, 0x20
jb 0x506850
test esi, esi
jns 0x506868
neg esi
cmp esi, 1
jne 0x506877
and byte [esp + 0x131], 0xc3
jmp 0x506884
cmp esi, 2
jne 0x506884
and byte [esp + 0x13b], 0x7f
xor ecx, ecx
cmp dword [esp + 0x8c], ecx
je 0x5068b0
nop
mov al, byte [esp + ecx + 0x130]
not al
or byte [esp + ecx + 0xd0], al
inc ecx
cmp ecx, 0x20
jb 0x506890
jmp 0x5068c4
mov al, byte [esp + ecx + 0x130]
or byte [esp + ecx + 0xd0], al
inc ecx
cmp ecx, 0x20
jb 0x5068b0
mov ebx, dword [esp + 0x9c]
mov edi, 1
mov esi, dword [ebp + 0x30]
inc ebx
mov dword [esp + 0x60], 2
jmp 0x506f57
cmp eax, 0x5c
jne 0x506c5f
mov ebx, dword [ebp + 0x14]
lea eax, [esp + 0xf8]
push 1
push dword [esp + 0x3c]
push dword [esi + 0x40]
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.005048a0
add esp, 0x18
mov esi, eax
cmp dword [ebx], 0
jne 0x509bb8
test esi, esi
jne 0x506932
mov edx, dword [esp + 0xf8]
mov ebx, dword [esp + 0x10]
mov esi, dword [ebp + 0x30]
mov dword [esp + 0x30], edx
jmp 0x506c63
cmp esi, 5
jne 0x50694c
mov ebx, dword [esp + 0x10]
mov edx, 8
mov esi, dword [ebp + 0x30]
mov dword [esp + 0x30], edx
jmp 0x506c63
cmp esi, 0xc
je 0x509bf9
cmp esi, 0x1a
jne 0x506985
mov ebx, dword [esp + 0x10]
cmp byte [ebx + 1], 0x5c
jne 0x506975
cmp byte [ebx + 2], 0x45
jne 0x506975
mov esi, dword [ebp + 0x30]
add ebx, 2
jmp 0x506f5b
mov esi, dword [ebp + 0x30]
mov dword [esp + 0x7c], 1
jmp 0x506f5b
cmp esi, 0x19
je 0x5069f1
mov eax, dword [ebp + 0x30]
inc edi
mov ecx, dword [esp + 0x60]
add ecx, 2
mov dword [esp + 0x24], edi
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 8]
lea eax, [esi - 6]
cmp eax, 0x1c
ja case.0x5069b3.12
movzx eax, byte [eax + 0x50a1a0]
jmp dword [eax*4 + 0x50a16c]
mov ebx, dword [esi*4 + 0x725ebc]
mov eax, dword [esp + 0x10]
dec ebx
mov esi, dword [ebp + 0x30]
dec edi
mov dword [esp + 0x28], eax
jmp 0x506f57
xor ecx, ecx
jmp 0x5069e0
mov al, byte [edx + ecx + 0x40]
or byte [esp + ecx + 0xd0], al
inc ecx
cmp ecx, 0x20
jb 0x5069e0
mov ebx, dword [esp + 0x10]
mov esi, dword [ebp + 0x30]
jmp 0x506f5b
mov dword [esp + 0x50], 1
xor ecx, ecx
jmp 0x506a10
mov al, byte [edx + ecx + 0x40]
not al
or byte [esp + ecx + 0xd0], al
inc ecx
cmp ecx, 0x20
jb 0x506a10
mov ebx, dword [esp + 0x10]
mov esi, dword [ebp + 0x30]
jmp 0x506f5b
xor ecx, ecx
mov al, byte [edx + ecx + 0xa0]
or byte [esp + ecx + 0xd0], al
inc ecx
cmp ecx, 0x20
jb 0x506a31
mov ebx, dword [esp + 0x10]
mov esi, dword [ebp + 0x30]
jmp 0x506f5b
mov dword [esp + 0x50], 1
xor ecx, ecx
jmp 0x506a60
mov al, byte [edx + ecx + 0xa0]
not al
or byte [esp + ecx + 0xd0], al
inc ecx
cmp ecx, 0x20
jb 0x506a60
mov ebx, dword [esp + 0x10]
mov esi, dword [ebp + 0x30]
jmp 0x506f5b
lea eax, [esp + 0xd0]
xor esi, esi
sub edx, eax
lea ecx, [ecx]
lea ecx, [esp + 0xd0]
add ecx, esi
inc esi
mov al, byte [edx + ecx]
or byte [ecx], al
cmp esi, 0x20
jb 0x506a90
mov ebx, dword [esp + 0x10]
mov esi, dword [ebp + 0x30]
jmp 0x506f5b
lea eax, [esp + 0xd0]
mov dword [esp + 0x50], 1
xor esi, esi
sub edx, eax
lea ecx, [esp + 0xd0]
add ecx, esi
inc esi
mov al, byte [edx + ecx]
not al
or byte [ecx], al
cmp esi, 0x20
jb 0x506ac3
mov ebx, dword [esp + 0x10]
mov esi, dword [ebp + 0x30]
jmp 0x506f5b
mov esi, dword [ebp + 0x30]
lea eax, [esp + 0x2c]
push 0xffffffffffffffff
push 0x5eeb80
push esi
push dword [esp + 0x44]
push eax
lea eax, [esp + 0xe4]
push eax
call fcn.00503bd0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x506f5b
mov esi, dword [ebp + 0x30]
lea eax, [esp + 0x2c]
push 0x5eeb80
push esi
push dword [esp + 0x40]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.00503d20
mov ebx, dword [esp + 0x24]
add esp, 0x14
jmp 0x506f5b
mov esi, dword [ebp + 0x30]
lea eax, [esp + 0x2c]
push 0xffffffffffffffff
push 0x5eebd0
push esi
push dword [esp + 0x44]
push eax
lea eax, [esp + 0xe4]
push eax
call fcn.00503bd0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x506f5b
mov esi, dword [ebp + 0x30]
lea eax, [esp + 0x2c]
push 0x5eebd0
push esi
push dword [esp + 0x40]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.00503d20
mov ebx, dword [esp + 0x24]
add esp, 0x14
jmp 0x506f5b
push ebx
lea eax, [esp + 0x110]
mov dword [esp + 0x114], 0
push eax
lea eax, [esp + 0x118]
mov dword [esp + 0x114], 0
push eax
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0050bb80
add esp, 0x14
test eax, eax
je 0x509bb8
xor eax, eax
mov edx, dword [esp + 0x20]
cmp esi, 0x10
mov esi, dword [ebp + 0x30]
sete al
cmp eax, dword [esp + 0x128]
mov eax, dword [esp + 0x2c]
sete cl
add cl, 3
mov byte [eax], cl
mov ecx, dword [esp + 0x2c]
movzx eax, byte [esp + 0x110]
inc ecx
mov dword [esp + 0x2c], ecx
mov byte [ecx], al
mov ecx, dword [esp + 0x2c]
movzx eax, byte [esp + 0x10c]
inc ecx
mov dword [esp + 0x2c], ecx
mov byte [ecx], al
mov ecx, 1
inc dword [esp + 0x2c]
dec edi
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edi
jmp 0x506f63
test byte [esp + 0x38], 0x40
jne 0x509be1
mov ebx, dword [esp + 0x10]
dec edi
mov esi, dword [ebp + 0x30]
sub ecx, 2
mov dword [esp + 0x60], ecx
movzx edx, byte [ebx]
mov dword [esp + 0x30], edx
jmp 0x506c63
mov edx, dword [esp + 0x30]
cmp byte [ebx + 1], 0x5c
jne 0x506c8d
lea esp, [esp]
cmp byte [ebx + 2], 0x45
lea eax, [ebx + 2]
jne 0x506c8d
mov ebx, eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x10], ebx
cmp byte [ebx + 1], 0x5c
je 0x506c70
mov ecx, ebx
cmp edx, 0xd
je 0x506c99
cmp edx, 0xa
jne 0x506ca0
or dword [esi + 0x64], 0x800
cmp dword [esp + 0x7c], 0
jne 0x506f0a
cmp byte [ebx + 1], 0x2d
jne 0x506f0a
add ebx, 2
mov dword [esp + 0x10], ebx
cmp byte [ebx], 0x5c
jne 0x506d0e
cmp byte [ebx + 1], 0x45
jne 0x506cd5
add ebx, 2
mov dword [esp + 0x10], ebx
cmp byte [ebx], 0x5c
je 0x506cc1
jmp 0x506d0e
cmp byte [ebx], 0x5c
jne 0x506d0e
lea ebx, [ebx]
cmp byte [ebx + 1], 0x51
jne 0x506d0e
add ebx, 2
mov dword [esp + 0x10], ebx
cmp byte [ebx], 0x5c
jne 0x506d06
cmp byte [ebx + 1], 0x45
jne 0x506d06
add ebx, 2
mov dword [esp + 0x10], ebx
cmp byte [ebx], 0x5c
je 0x506ce0
jmp 0x506d0e
mov dword [esp + 0x7c], 1
mov al, byte [ebx]
test al, al
je 0x506f04
cmp dword [esp + 0x7c], 0
jne 0x506d27
cmp al, 0x5d
je 0x506f04
cmp dword [esp + 0x44], 0
movzx eax, al
mov dword [esp + 0x24], eax
mov dword [esp + 0xa4], eax
je 0x506e3a
cmp eax, 0xc0
jb 0x506e3a
test al, 0x20
jne 0x506d67
mov ecx, dword [esp + 0x24]
inc ebx
and ecx, 0x1f
shl ecx, 6
movzx eax, byte [ebx]
and eax, 0x3f
or eax, ecx
jmp 0x506e2b
movzx ecx, byte [ebx + 1]
mov edx, dword [esp + 0x30]
and ecx, 0x3f
test al, 0x10
jne 0x506d92
and eax, 0xf
shl eax, 6
or ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 6
and eax, 0x3f
or eax, ecx
add ebx, 2
jmp 0x506e2b
test al, 8
jne 0x506dbb
and eax, 7
shl eax, 6
or ecx, eax
movzx eax, byte [ebx + 2]
and eax, 0x3f
shl ecx, 6
or ecx, eax
movzx eax, byte [ebx + 3]
shl ecx, 6
and eax, 0x3f
or eax, ecx
add ebx, 3
jmp 0x506e2b
test al, 4
jne 0x506df0
and eax, 3
shl eax, 6
or ecx, eax
movzx eax, byte [ebx + 2]
and eax, 0x3f
shl ecx, 6
or ecx, eax
movzx eax, byte [ebx + 3]
and eax, 0x3f
shl ecx, 6
or ecx, eax
movzx eax, byte [ebx + 4]
shl ecx, 6
and eax, 0x3f
or eax, ecx
add ebx, 4
jmp 0x506e2b
and eax, 1
shl eax, 6
or ecx, eax
movzx eax, byte [ebx + 2]
and eax, 0x3f
shl ecx, 6
or ecx, eax
movzx eax, byte [ebx + 3]
and eax, 0x3f
shl ecx, 6
or ecx, eax
movzx eax, byte [ebx + 4]
and eax, 0x3f
shl ecx, 6
or ecx, eax
movzx eax, byte [ebx + 5]
shl ecx, 6
and eax, 0x3f
or eax, ecx
add ebx, 5
mov dword [esp + 0x24], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x7c], 0
jne 0x506eda
cmp eax, 0x5c
jne 0x506ea9
mov ebx, dword [ebp + 0x14]
lea eax, [esp + 0xa4]
push 1
push dword [esp + 0x3c]
push dword [esi + 0x40]
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.005048a0
add esp, 0x18
cmp dword [ebx], 0
jne 0x509bb8
test eax, eax
je 0x506e98
cmp eax, 5
jne 0x509c11
mov ebx, dword [esp + 0x10]
mov ecx, 8
mov edx, dword [esp + 0x30]
mov dword [esp + 0xa4], ecx
jmp 0x506ede
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x30]
jmp 0x506ede
cmp eax, 0x5b
jne 0x506eda
mov al, byte [ebx + 1]
cmp al, 0x3a
je 0x506ebd
cmp al, 0x2e
je 0x506ebd
cmp al, 0x3d
jne 0x506eda
lea eax, [esp + 0x9c]
push eax
push ebx
call fcn.005050c0
mov ebx, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x509c29
mov ecx, dword [esp + 0x24]
cmp ecx, edx
jb 0x509c40
je 0x506f0a
mov dword [esp + 0x60], 2
cmp ecx, 0xd
je 0x506efa
cmp ecx, 0xa
jne 0x506f01
or dword [esi + 0x64], 0x800
push ecx
jmp 0x506f36
mov ebx, ecx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x60]
cmp eax, 2
jge 0x506f18
inc eax
mov dword [esp + 0x60], eax
cmp dword [esp + 0x7c], 0
jne 0x506f35
cmp dword [esp + 0x18], 0
jne 0x506f35
cmp eax, 1
jne 0x506f35
cmp byte [ebx + 1], 0x5d
je 0x5070eb
push edx
push edx
push esi
push dword [esp + 0x44]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0xe4]
push eax
call fcn.00503fe0
mov ebx, dword [esp + 0x28]
add esp, 0x18
add edi, eax
mov dword [esp + 0x24], edi
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
inc ebx
mov dword [esp + 0x10], ebx
movzx eax, byte [ebx]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x506f9d
mov eax, dword [esp + 0x28]
test eax, eax
je 0x509c57
lea ebx, [eax + 1]
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], ebx
movzx eax, byte [ebx]
mov dword [esp + 0x30], eax
test eax, eax
je 0x509c57
cmp eax, 0x5d
jne 0x506490
cmp dword [esp + 0x7c], 0
jne 0x506490
mov eax, 1
cmp dword [esp + 0x2c], edx
ja 0x506fc0
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x3c]
cmp ebx, 0xfffffffe
jne 0x506fd0
or ebx, 0xffffffff
mov dword [esp + 0x3c], ebx
mov esi, dword [esp + 0x78]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xa0], esi
mov dword [esp + 0x60], ebx
test eax, eax
je 0x507244
mov eax, dword [esp + 0x38]
test ecx, ecx
mov ecx, dword [esp + 0x50]
jne 0x507015
test ecx, ecx
je 0x507015
test eax, 0x20000000
je 0x507248
cmp dword [esp + 0x44], 0
mov esi, dword [esp + 0x34]
je 0x507066
test ecx, ecx
je 0x507066
test esi, esi
jne 0x507066
test eax, 0x20000000
jne 0x507066
mov eax, dword [esp + 0x2c]
mov byte [eax], 2
mov eax, dword [esp + 0x2c]
inc eax
push eax
push 0x100
mov dword [esp + 0x34], eax
call fcn.0051cb90
mov ecx, dword [esp + 0x34]
add ecx, eax
push ecx
push 0x10ffff
mov dword [esp + 0x3c], ecx
call fcn.0051cb90
add esp, 0x10
add dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov byte [eax], 0
inc dword [esp + 0x2c]
test esi, esi
mov byte [ecx], 0x70
setne al
mov byte [ecx + 3], al
test ebx, ebx
je 0x50708d
or al, 4
mov byte [ecx + 3], al
test edi, edi
jle 0x507222
or byte [ecx + 3], 2
add ecx, 4
mov eax, dword [esp + 0x2c]
sub eax, ecx
mov dword [esp + 0x14], ecx
push eax
push ecx
lea eax, [ecx + 0x20]
push eax
call sub.MSVCRT.dll_memmove
add esp, 0xc
test esi, esi
je 0x5070cd
test ebx, ebx
jne 0x5070cd
xor ecx, ecx
mov edi, edi
not byte [esp + ecx + 0xd0]
inc ecx
cmp ecx, 0x20
jb 0x5070c0
mov edi, dword [esp + 0x14]
lea esi, [esp + 0xd0]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x2c]
add edx, 0x20
jmp 0x507226
mov eax, dword [esp + 0x6c]
inc ebx
mov esi, dword [esp + 0x34]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x60], eax
test esi, esi
je 0x5071ed
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xfffffffe
jne 0x50711f
or ecx, 0xffffffff
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], ecx
test ebx, ebx
je 0x5071a8
test al, 1
je 0x5071aa
mov eax, edx
cdq
and edx, 0x7f
add eax, edx
mov edx, dword [esp + 0x30]
sar eax, 7
movzx ecx, byte [eax + 0x5f0460]
mov eax, edx
shl ecx, 7
and eax, 0x8000007f
jns 0x507165
dec eax
or eax, 0xffffff80
inc eax
add ecx, eax
movzx eax, word [ecx*2 + 0x5f2660]
movzx eax, byte [eax*8 + 0x5eede3]
test eax, eax
je 0x5071a4
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov word [esi], 0x90f
mov byte [esi + 2], al
add esi, 3
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
jmp 0x505d28
mov eax, dword [esp + 0x38]
test al, 1
mov esi, dword [esp + 0x14]
setne al
add al, 0x1f
mov byte [esi], al
inc esi
test ebx, ebx
je 0x50986c
cmp edx, 0x7f
jbe 0x50986c
push esi
push edx
call fcn.0051cb90
mov ebx, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x1c]
add esi, eax
mov eax, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
jmp 0x505d28
cmp dword [esp + 0x44], 0
je 0x507211
cmp edx, 0x7f
jbe 0x507211
lea eax, [esp + 0x84]
push eax
push edx
call fcn.0051cb90
add esp, 8
mov esi, eax
jmp 0x505f0a
mov byte [esp + 0x84], dl
mov esi, 1
jmp 0x505f0a
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov eax, edx
sub eax, ecx
mov dword [esp + 0x14], edx
sar eax, 8
mov byte [ecx + 1], al
mov al, dl
sub al, cl
mov byte [ecx + 2], al
jmp case.default.0x508378
mov ecx, dword [esp + 0x50]
mov ebx, dword [ebp + 0x34]
test ebx, ebx
je 0x507257
mov eax, dword [esp + 0x2c]
sub eax, edx
add dword [ebx], eax
mov esi, dword [esp + 0x34]
cmp esi, ecx
mov edx, dword [esp + 0x14]
setne al
add al, 0x6e
mov byte [edx], al
test ebx, ebx
jne 0x507290
test esi, esi
je 0x50727f
xor ecx, ecx
not byte [esp + ecx + 0xd0]
inc ecx
cmp ecx, 0x20
jb 0x507272
mov ecx, 8
lea esi, [esp + 0xd0]
lea edi, [edx + 1]
rep movsd dword es:[edi], dword [esi]
add edx, 0x21
mov dword [esp + 0x14], edx
jmp case.default.0x508378
test edx, edx
je case.0x506205.1
mov edx, dword [ebp + 0x14]
lea eax, [esp + 0x80]
push edx
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [ebx + 1]
push eax
call fcn.0050cd00
add esp, 0x10
mov ebx, eax
cmp dword [edx], 0
mov dword [esp + 0x10], ebx
jne 0x50a0a9
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x68]
jmp 0x507303
xor ecx, ecx
or eax, 0xffffffff
jmp 0x5072f5
mov ecx, 1
or eax, 0xffffffff
jmp 0x5072f5
xor ecx, ecx
mov eax, 1
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x80], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
test esi, esi
je 0x509cac
test ecx, ecx
jne 0x507340
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x5c], edx
mov edx, dword [ebp + 0x14]
sub ecx, eax
mov dword [esp + 0x4c], 0
neg ecx
mov dword [esp + 0x48], esi
sbb ecx, ecx
and ecx, 2
test edi, edi
mov edi, dword [ebp + 0x30]
mov dword [esp + 0xa8], ecx
je 0x507435
inc ebx
jmp 0x507370
mov ecx, dword [edi + 0xc]
movzx eax, byte [ebx]
test byte [eax + ecx], 1
je 0x50738b
lea esp, [esp]
movzx eax, byte [ebx + 1]
inc ebx
test byte [eax + ecx], 1
jne 0x507380
cmp byte [ebx], 0x23
jne 0x50742d
mov al, byte [ebx + 1]
inc ebx
mov byte [esp + 0x43], al
test al, al
je 0x507370
mov edx, dword [edi + 0x84]
test edx, edx
je 0x5073d3
mov ecx, dword [edi + 0x1c]
cmp ebx, ecx
jae 0x5073fe
push dword [esp + 0x44]
lea eax, [edi + 0x88]
push eax
push ecx
push edx
push ebx
call fcn.0051d260
add esp, 0x14
test eax, eax
je 0x5073fe
add ebx, dword [edi + 0x88]
jmp 0x507370
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x88]
sub eax, ecx
cmp ebx, eax
ja 0x5073fe
mov al, byte [esp + 0x43]
cmp al, byte [edi + 0x8c]
jne 0x5073fe
cmp ecx, 1
je 0x5073cb
mov al, byte [ebx + 1]
cmp al, byte [edi + 0x8d]
je 0x5073cb
inc ebx
cmp dword [esp + 0x44], 0
je 0x50741a
mov al, byte [ebx]
and al, 0xc0
cmp al, 0x80
jne 0x50741a
mov edi, edi
mov al, byte [ebx + 1]
inc ebx
and al, 0xc0
cmp al, 0x80
je 0x507410
mov al, byte [ebx]
mov byte [esp + 0x43], al
test al, al
jne 0x5073a0
jmp 0x507370
mov edx, dword [ebp + 0x14]
dec ebx
mov dword [esp + 0x10], ebx
cmp byte [ebx + 1], 0x28
jne 0x50747c
cmp byte [ebx + 2], 0x3f
jne 0x50747c
cmp byte [ebx + 3], 0x23
jne 0x50747c
add ebx, 4
mov dword [esp + 0x10], ebx
mov al, byte [ebx]
test al, al
je 0x507463
cmp al, 0x29
je 0x507477
inc ebx
mov dword [esp + 0x10], ebx
mov al, byte [ebx]
test al, al
jne 0x507454
mov eax, dword [ebp + 0x10]
mov dword [edx], 0x12
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx], 0
je 0x507463
mov cl, byte [ebx + 1]
cmp cl, 0x2b
jne 0x50749b
inc ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x10], ebx
jmp 0x5074bd
cmp cl, 0x3f
jne 0x5074b2
mov ecx, dword [esp + 0x114]
inc ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebx
jmp 0x5074bd
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], eax
cmp byte [esi], 0x75
jne 0x507542
push 3
lea eax, [esi + 3]
push esi
push eax
call sub.MSVCRT.dll_memmove
mov word [esi], 0x81
add esp, 0xc
mov byte [esi + 2], 6
mov word [esi + 6], 0x78
mov byte [esi + 8], 6
mov esi, dword [esp + 0x14]
add esi, 6
mov dword [esp + 0xb4], 9
cmp dword [ebp + 0x34], 0
mov dword [esp + 0x14], esi
jne 0x50753c
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x20]
add eax, 2
cmp edx, eax
jb 0x50753c
movzx ecx, byte [edx - 2]
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x1c]
sub eax, dword [edi + 0x14]
inc eax
cmp ecx, eax
jne 0x50753c
lea eax, [ecx + 3]
sar eax, 8
add cl, 3
mov byte [edx - 2], al
mov eax, dword [edi + 0x20]
mov byte [eax - 1], cl
mov ebx, dword [esp + 0x10]
jmp 0x507546
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov dl, byte [eax]
mov byte [esp + 0x43], dl
cmp dl, 0x1d
je 0x507ce0
cmp dl, 0x1e
je 0x507ce0
cmp dl, 0x1f
je 0x507ce0
cmp dl, 0x20
je 0x507ce0
cmp dl, 0x17
jae 0x50758e
mov esi, 0x34
movzx ecx, dl
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], ecx
jmp 0x507da3
cmp dl, 0x6e
je 0x507c51
cmp dl, 0x6f
je 0x507c51
cmp dl, 0x70
je 0x507c51
cmp dl, 0x71
je 0x507c51
cmp dl, 0x72
je 0x507c51
cmp dl, 0x73
je 0x507c51
cmp dl, 0x74
je 0x507c51
cmp dl, 0x7d
jb 0x507c31
cmp dl, 0x87
ja 0x507c31
mov ecx, dword [esp + 0x1c]
mov eax, esi
mov esi, dword [esp + 0x64]
sub eax, ecx
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x90], eax
cmp dl, 0x87
jne 0x50760f
cmp byte [ecx + 3], 0x91
je 0x50768f
mov ecx, dword [esp + 0x68]
cmp dl, 0x81
jae 0x50763b
test ecx, ecx
jg 0x50768f
mov eax, dword [esp + 0x20]
test eax, eax
js 0x507629
cmp eax, 1
jle 0x50763f
mov eax, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x80], eax
jmp 0x50763f
mov eax, dword [esp + 0x20]
test ecx, ecx
jne 0x507737
push dword [esp + 0x64]
push edi
push dword [esp + 0x4c]
cmp eax, 1
jg 0x5076d8
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
push 1
push ebx
mov byte [eax], cl
call fcn.005041f0
push dword [esp + 0x38]
lea edi, [ebx + 1]
push ebx
push edi
call sub.MSVCRT.dll_memmove
inc dword [esp + 0x34]
add esp, 0x20
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x5076b8
mov byte [ebx], 0xa1
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 0x30]
mov eax, dword [esp + 0xa8]
or dword [edi + 0x68], eax
xor edi, edi
mov eax, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], ebx
jmp 0x505d28
mov al, byte [esp + 0x18]
sub al, 0x6e
mov dword [esp + 0x90], ebx
mov byte [ebx], al
dec edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], edi
mov edi, dword [ebp + 0x30]
jmp 0x5078ac
mov ebx, dword [esp + 0x20]
push 4
push dword [esp + 0x2c]
mov byte [ebx], 0
call fcn.005041f0
push dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push eax
add eax, 4
push eax
call sub.MSVCRT.dll_memmove
mov ecx, dword [esp + 0x3c]
add ebx, 4
mov al, byte [esp + 0x38]
add esp, 0x20
mov edx, dword [esp + 0x20]
sub al, 0x6e
mov dword [esp + 0x14], ebx
mov byte [ecx], al
mov byte [ecx + 1], 0x83
add ecx, 2
mov dword [esp + 0x34], ecx
mov word [ecx], 0
add ecx, 2
mov ebx, dword [esp + 0x10]
dec edx
mov dword [esp + 0x1c], ecx
jmp 0x5078ac
cmp ecx, 1
jle 0x5078a2
mov edx, dword [ebp + 0x34]
test edx, edx
je 0x5077af
dec ecx
mov dword [esp + 0x50], ecx
fild dword [esp + 0x50]
imul ecx, dword [esp + 0xb4]
fstp qword [esp + 0x50]
fld qword [esp + 0x50]
fild dword [esp + 0xb4]
fstp qword [esp + 0x50]
fmul qword [esp + 0x50]
fcomp qword [0x5ee128]
fnstsw ax
test ah, 0x41
je 0x509c91
mov eax, dword [esp + 0xb0]
mov edx, dword [edx]
sub eax, edx
cmp eax, ecx
jl 0x509c91
mov ebx, dword [esp + 0x10]
lea eax, [ecx + edx]
mov ecx, dword [ebp + 0x34]
mov edx, dword [esp + 0x80]
mov dword [ecx], eax
mov ecx, dword [esp + 0x68]
jmp 0x5078a6
cmp dword [esp + 0xcc], 0
je 0x5077d0
cmp dword [esp + 0x5c], 0
jge 0x5077d0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x30], 1
cmp ecx, 1
jle 0x5078a2
mov ebx, dword [esp + 0x24]
mov esi, dword [edi + 0x20]
mov eax, dword [esp + 0x14]
sub esi, dword [edi + 0x10]
push ebx
push dword [esp + 0x20]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [edi + 0x3c]
add esp, 0xc
mov ecx, dword [ebp + 0x30]
sub eax, esi
add eax, dword [edi + 0x10]
mov edi, dword [esp + 0x50]
add eax, 0xffffff9c
add eax, edi
cmp dword [ecx + 0x20], eax
jbe 0x507841
push ecx
call fcn.0050ad30
mov ecx, dword [ebp + 0x14]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x509bb8
mov ecx, dword [ebp + 0x30]
mov eax, dword [ecx + 0x3c]
sub eax, esi
add eax, 0xffffff9c
add eax, dword [ecx + 0x10]
add eax, edi
cmp dword [ecx + 0x20], eax
ja 0x507816
mov eax, dword [ecx + 0x10]
lea edx, [edi + eax]
mov edi, dword [ebp + 0x30]
add eax, esi
cmp edx, eax
jae 0x507881
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
mov eax, dword [edi + 0x20]
add ecx, ebx
sar ecx, 8
mov byte [eax], cl
mov cl, byte [edx + 1]
add edx, 2
mov eax, dword [edi + 0x20]
add cl, bl
mov byte [eax + 1], cl
add dword [edi + 0x20], 2
mov eax, dword [edi + 0x10]
add eax, esi
cmp edx, eax
jb 0x507850
mov eax, dword [esp + 0x30]
add dword [esp + 0x14], ebx
inc eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x50], esi
mov dword [esp + 0x30], eax
cmp eax, ecx
jl 0x5077e5
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
test edx, edx
jle 0x5078b5
sub edx, ecx
mov dword [esp + 0x80], edx
test edx, edx
js 0x507ad9
cmp dword [ebp + 0x34], 0
je 0x50793b
test edx, edx
jle 0x50793b
mov ecx, dword [esp + 0xb4]
add ecx, 7
mov dword [esp + 0x90], ecx
fild dword [esp + 0x90]
imul ecx, edx
fstp qword [esp + 0x90]
fld qword [esp + 0x90]
fild dword [esp + 0x80]
sub ecx, 6
fstp qword [esp + 0x90]
fmul qword [esp + 0x90]
fcomp qword [0x5ee128]
fnstsw ax
test ah, 0x41
je 0x509c91
mov ebx, dword [ebp + 0x34]
mov eax, dword [esp + 0xb0]
mov edx, dword [ebx]
sub eax, edx
cmp eax, ecx
jl 0x509c91
lea eax, [ecx + edx]
mov dword [ebx], eax
jmp 0x507a7f
lea eax, [edx - 1]
mov dword [esp + 0x50], eax
test eax, eax
js 0x507a83
mov ecx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esp + 0x24]
sub cl, 0x6e
mov dword [esp + 0x18], ecx
jmp 0x507963
mov edi, dword [ebp + 0x30]
mov edx, dword [ebp + 0x30]
mov edi, dword [edi + 0x20]
sub edi, dword [edx + 0x10]
mov edx, dword [esp + 0x14]
mov byte [edx], cl
inc edx
mov dword [esp + 0x14], edx
test ebx, ebx
je 0x5079a8
mov eax, dword [esp + 0x34]
mov byte [edx], 0x83
inc edx
test eax, eax
jne 0x50798b
xor ecx, ecx
jmp 0x50798f
mov ecx, edx
sub ecx, eax
mov eax, ecx
mov dword [esp + 0x34], edx
sar eax, 8
mov byte [edx], al
mov eax, dword [esp + 0x24]
mov byte [edx + 1], cl
add edx, 2
mov dword [esp + 0x14], edx
push eax
push dword [esp + 0x20]
push edx
call sub.MSVCRT.dll_memcpy
mov ecx, dword [ebp + 0x30]
add esp, 0xc
mov eax, dword [ecx + 0x3c]
sub eax, edi
add eax, 0xffffff9c
add eax, dword [ecx + 0x10]
add eax, esi
cmp dword [ecx + 0x20], eax
jbe 0x5079fb
jmp 0x5079d0
push ecx
call fcn.0050ad30
mov ecx, dword [ebp + 0x14]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x509bb8
mov ecx, dword [ebp + 0x30]
mov eax, dword [ecx + 0x3c]
sub eax, edi
add eax, 0xffffff9c
add eax, dword [ecx + 0x10]
add eax, esi
cmp dword [ecx + 0x20], eax
ja 0x5079d0
mov eax, dword [ecx + 0x10]
lea edx, [esi + eax]
add eax, edi
cmp edx, eax
jae 0x507a66
mov esi, ebx
neg esi
sbb esi, esi
and esi, 3
inc esi
neg ebx
sbb bl, bl
and bl, 3
inc bl
lea ebx, [ebx]
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 0x30]
add ecx, esi
add ecx, dword [esp + 0x24]
sar ecx, 8
mov eax, dword [eax + 0x20]
mov byte [eax], cl
mov cl, bl
mov eax, dword [ebp + 0x30]
add cl, byte [esp + 0x24]
add cl, byte [edx + 1]
add edx, 2
mov eax, dword [eax + 0x20]
mov byte [eax + 1], cl
mov eax, dword [ebp + 0x30]
add dword [eax + 0x20], 2
mov eax, dword [eax + 0x10]
add eax, edi
cmp edx, eax
jb 0x507a20
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
mov esi, edi
add dword [esp + 0x14], eax
dec ebx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], ebx
jns 0x507960
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
test edi, edi
je 0x508000
mov ecx, esi
mov edx, esi
sub ecx, edi
inc ecx
sub edx, ecx
movzx esi, byte [edx + 1]
movzx eax, byte [edx + 2]
shl esi, 8
or esi, eax
jne 0x507aaf
xor edi, edi
jmp 0x507ab1
sub edi, esi
mov esi, dword [esp + 0x14]
mov eax, ecx
sar eax, 8
mov byte [esi], 0x78
mov byte [esi + 1], al
mov byte [esi + 2], cl
add esi, 3
mov dword [esp + 0x14], esi
mov byte [edx + 1], al
mov byte [edx + 2], cl
test edi, edi
jne 0x507a93
jmp 0x507ffc
mov edi, dword [esp + 0x14]
add edi, 0xfffffffd
mov esi, edi
movzx ecx, byte [edi + 1]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
sub esi, ecx
mov dword [esp + 0x34], esi
mov al, byte [esi]
cmp al, 0x81
je 0x507aff
cmp al, 0x82
jne 0x507b0c
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x507b10
mov byte [esi], 0x83
jmp 0x507b20
mov ebx, dword [esp + 0x4c]
cmp al, 0x81
je 0x507c20
cmp al, 0x82
je 0x507c20
cmp dword [ebp + 0x34], 0
jne 0x507b55
push 0
push dword [ebp + 0x30]
push dword [esp + 0x4c]
push edi
push esi
call fcn.0050a8a0
add esp, 0x14
test eax, eax
jne 0x507b8b
movzx ecx, byte [esi + 1]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
add esi, ecx
cmp byte [esi], 0x77
je 0x507b26
mov esi, dword [esp + 0x34]
cmp byte [esi], 0x87
jne 0x507b70
movzx ecx, byte [esi + 1]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
cmp byte [ecx + esi], 0x77
je 0x507b70
mov byte [esi], 0x8c
test ebx, ebx
je 0x507c13
mov al, byte [esi]
cmp al, 0x87
je 0x507b94
cmp al, 0x8c
je 0x507b94
inc al
mov byte [esi], al
mov byte [edi], 0x7b
jmp 0x507bed
mov esi, dword [esp + 0x34]
add byte [esi], 5
jmp 0x507b55
push dword [esp + 0x64]
mov edi, dword [esp + 0x18]
mov ebx, edi
push dword [ebp + 0x30]
sub ebx, esi
push dword [esp + 0x4c]
mov byte [edi], 0
push 3
push esi
call fcn.005041f0
push ebx
lea eax, [esi + 3]
push esi
push eax
call sub.MSVCRT.dll_memmove
add ebx, 3
add esp, 0x20
cmp byte [esi], 0x87
setne al
dec al
and al, 0xfb
add al, 0x89
mov byte [esi], al
mov eax, ebx
mov byte [edi + 3], 0x7b
sar eax, 8
mov byte [edi + 4], al
mov byte [edi + 5], bl
add edi, 6
mov dword [esp + 0x14], edi
mov byte [esi + 1], al
mov byte [esi + 2], bl
mov eax, dword [esp + 0x90]
test eax, eax
je 0x507bfb
mov byte [eax], 0x94
cmp dword [esp + 0x68], 2
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
jge 0x508000
jmp 0x507693
mov eax, dword [esp + 0x18]
add al, 0x79
mov byte [edi], al
jmp 0x50768b
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
add al, 0x79
mov byte [edi], al
jmp 0x507ffc
cmp dl, 0x9d
je 0x50768f
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xb
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x507c64
mov esi, eax
mov dword [esp + 0x14], esi
jmp 0x507693
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x507c92
cmp edx, 0xffffffff
jne 0x507c7f
mov eax, dword [esp + 0x18]
add al, 0x62
mov byte [esi], al
inc esi
jmp 0x507ff8
cmp edx, 1
jne 0x507caa
mov eax, dword [esp + 0x18]
add al, 0x66
mov byte [esi], al
inc esi
jmp 0x507ff8
cmp ecx, 1
jne 0x507caa
cmp edx, 0xffffffff
jne 0x507caa
mov eax, dword [esp + 0x18]
add al, 0x64
mov byte [esi], al
inc esi
jmp 0x507ff8
mov eax, dword [esp + 0x18]
add al, 0x68
mov byte [esi], al
mov eax, ecx
mov byte [esi + 2], cl
lea ecx, [edx + 1]
sar eax, 8
neg ecx
mov byte [esi + 1], al
sbb ecx, ecx
and ecx, edx
mov eax, ecx
mov byte [esi + 4], cl
sar eax, 8
mov byte [esi + 3], al
add esi, 5
mov dword [esp + 0x80], ecx
jmp 0x507ff8
movzx eax, dl
sub eax, 0x1e
je 0x507d10
dec eax
je 0x507d09
dec eax
je 0x507cfa
mov dword [esp + 0x34], 0
xor esi, esi
jmp 0x507d19
mov dword [esp + 0x34], 0x27
mov esi, 0x27
jmp 0x507d19
mov esi, 0x1a
jmp 0x507d15
mov esi, 0xd
mov dword [esp + 0x34], esi
cmp dword [esp + 0x44], 0
je 0x507d75
mov ecx, dword [esp + 0x14]
dec ecx
mov al, byte [ecx]
and al, 0xc0
cmp al, 0x80
jne 0x507d75
mov al, byte [ecx]
and al, 0xc0
cmp al, 0x80
jne 0x507d3f
mov al, byte [ecx - 1]
dec ecx
and al, 0xc0
cmp al, 0x80
je 0x507d35
mov edi, dword [esp + 0x14]
mov eax, edi
sub eax, ecx
push eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x124]
push ecx
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov dl, byte [esp + 0x43]
or ecx, 0x10000000
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
jmp 0x507da7
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax - 1]
mov dword [esp + 0x24], ecx
cmp dl, 0x1e
ja 0x507d9f
cmp dword [esp + 0x68], 1
jle 0x507d9f
mov eax, dword [edi + 0x68]
or eax, dword [esp + 0xb8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
cmp dl, 0x10
je 0x507dbe
cmp dl, 0xf
je 0x507dbe
mov dword [esp + 0x30], 0xffffffff
or edx, 0xffffffff
jmp 0x507dca
movzx edx, byte [eax + 1]
movzx eax, byte [eax + 2]
mov dword [esp + 0x30], eax
mov eax, edi
mov dword [esp + 0x50], edx
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x50768f
add dword [esp + 0x18], esi
mov esi, dword [esp + 0x68]
test esi, esi
jne 0x507e6c
mov eax, dword [esp + 0x18]
mov ebx, edi
cmp ebx, 0xffffffff
jne 0x507e4b
add al, 0x21
mov ebx, dword [esp + 0x1c]
lea esi, [ebx + 1]
mov byte [ebx], al
mov ebx, dword [esp + 0x30]
cmp dword [esp + 0x44], 0
je 0x507fe5
test ecx, 0x10000000
je 0x507fe5
and ecx, 7
lea eax, [esp + 0x120]
push ecx
push eax
push esi
mov dword [esp + 0x30], ecx
call sub.MSVCRT.dll_memcpy
mov edx, dword [esp + 0x5c]
add esp, 0xc
add esi, dword [esp + 0x24]
jmp 0x507fe8
cmp ebx, 1
jne 0x507e54
add al, 0x25
jmp 0x507e01
mov esi, dword [esp + 0x1c]
add al, 0x27
mov byte [esi], al
mov eax, ebx
sar eax, 8
mov byte [esi + 1], al
mov byte [esi + 2], bl
add esi, 3
jmp 0x507e0a
cmp esi, 1
jne 0x507eb2
cmp edi, 0xffffffff
jne 0x507e7e
mov eax, dword [esp + 0x18]
add al, 0x23
jmp 0x507e01
mov esi, eax
mov dword [esp + 0x14], esi
cmp edi, 1
je 0x507693
mov ebx, dword [esp + 0x18]
lea esi, [eax + 1]
add bl, 0x27
mov byte [eax], bl
mov ebx, dword [esp + 0x20]
lea eax, [ebx - 1]
dec bl
sar eax, 8
mov byte [esi], al
mov byte [esi + 1], bl
add esi, 2
jmp 0x507e0a
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
lea esi, [ebx + 1]
add al, 0x29
mov byte [ebx], al
mov ebx, dword [esp + 0x68]
mov eax, ebx
sar eax, 8
mov byte [esi], al
mov eax, dword [esp + 0x20]
mov byte [esi + 1], bl
add esi, 2
mov dword [esp + 0x14], esi
test eax, eax
jns 0x507f4b
cmp dword [esp + 0x44], 0
je 0x507f2a
test ecx, 0x10000000
je 0x507f2a
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x120]
mov esi, ecx
and esi, 7
push esi
push eax
push ebx
call sub.MSVCRT.dll_memcpy
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov edx, dword [esp + 0x50]
add ebx, esi
mov dword [esp + 0x14], ebx
mov esi, ebx
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x30]
add al, 0x21
mov byte [esi], al
inc esi
jmp 0x507e0e
mov byte [esi], cl
inc esi
test edx, edx
js 0x507f18
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov byte [esi], dl
add al, 0x21
mov byte [esi + 1], bl
add esi, 2
mov byte [esi], al
inc esi
jmp 0x507e0e
cmp eax, ebx
je 0x507e0a
cmp dword [esp + 0x44], 0
je 0x507f93
test ecx, 0x10000000
je 0x507f93
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x120]
mov esi, ecx
and esi, 7
push esi
push eax
push ebx
call sub.MSVCRT.dll_memcpy
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov edx, dword [esp + 0x50]
add ebx, esi
mov eax, dword [esp + 0x20]
mov esi, ebx
mov dword [esp + 0x14], ebx
jmp 0x507f96
mov byte [esi], cl
inc esi
mov ebx, dword [esp + 0x30]
test edx, edx
js 0x507fa6
mov byte [esi], dl
mov byte [esi + 1], bl
add esi, 2
sub eax, dword [esp + 0x68]
mov dword [esp + 0x20], eax
cmp eax, 1
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x18]
jne 0x507fc8
add al, 0x25
mov byte [esi], al
inc esi
jmp 0x507e0e
add al, 0x27
mov byte [esi], al
mov eax, dword [esp + 0x20]
sar eax, 8
mov byte [esi + 1], al
mov eax, dword [esp + 0x20]
mov byte [esi + 2], al
add esi, 3
jmp 0x507e0e
mov byte [esi], cl
inc esi
mov dword [esp + 0x14], esi
test edx, edx
js 0x507ffc
mov byte [esi], dl
mov byte [esi + 1], bl
add esi, 2
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x4c], 0
je 0x50814a
mov eax, dword [esp + 0x48]
movzx edx, byte [eax]
lea eax, [edx - 0x1d]
cmp eax, 0x53
ja case.0x508025.33
movzx eax, byte [eax + 0x50a1d4]
jmp dword [eax*4 + 0x50a1c0]
mov eax, dword [esp + 0x48]
mov al, byte [eax + 3]
cmp al, 0x10
je 0x50804c
cmp al, 0xf
je 0x50804c
movzx eax, byte [edx + 0x5eead8]
xor ecx, ecx
add eax, ecx
add dword [esp + 0x48], eax
jmp case.0x508025.33
movzx eax, byte [edx + 0x5eead8]
mov ecx, 2
add eax, ecx
add dword [esp + 0x48], eax
jmp case.0x508025.33
movzx eax, byte [edx + 0x5eead8]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
add edx, eax
mov dword [esp + 0x48], edx
test ecx, ecx
je 0x5080b3
mov al, byte [edx - 1]
cmp al, 0xc0
jb 0x5080b3
movzx eax, al
and eax, 0x3f
movzx eax, byte [eax + 0x5ee198]
add dword [esp + 0x48], eax
jmp 0x5080b3
add dword [esp + 0x48], 0x21
jmp case.0x508025.33
mov edx, dword [esp + 0x48]
movzx ecx, byte [edx + 1]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
add dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, esi
sub eax, edx
mov dword [esp + 0x90], eax
test eax, eax
jle 0x50768f
movzx eax, byte [edx]
cmp eax, 0x76
jae 0x5080e3
mov al, byte [eax + 0x5edfc8]
test al, al
je 0x5080e3
mov byte [edx], al
jmp 0x50768b
push dword [esp + 0x64]
mov edi, dword [ebp + 0x30]
push edi
push ecx
mov byte [esi], 0
push 3
push dword [esp + 0x58]
call fcn.005041f0
mov ebx, dword [esp + 0xa4]
mov eax, dword [esp + 0x5c]
push ebx
push eax
add eax, 3
push eax
call sub.MSVCRT.dll_memmove
mov eax, dword [esp + 0x68]
add ebx, 3
mov ecx, ebx
add esp, 0x20
sar ecx, 8
mov byte [eax], 0x81
mov byte [esi + 3], 0x78
mov byte [esi + 4], cl
mov byte [esi + 5], bl
add esi, 6
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], esi
mov byte [eax + 1], cl
mov eax, dword [esp + 0x48]
mov byte [eax + 2], bl
mov ebx, dword [esp + 0x10]
jmp 0x507696
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x14]
jmp 0x507696
inc ebx
mov dword [esp + 0x10], ebx
mov dl, byte [ebx]
cmp dl, 0x2a
jne 0x508397
lea eax, [ebx + 1]
mov dword [esp + 0x90], eax
mov al, byte [eax]
cmp al, 0x3a
je 0x508186
movzx ecx, al
mov eax, dword [esi + 0xc]
test byte [ecx + eax], 2
je 0x508397
mov eax, dword [ebp + 0x30]
xor esi, esi
mov edx, dword [esp + 0x90]
mov edi, 0x5ecc88
mov ebx, edx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x10], ebx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x50], esi
movzx eax, byte [ebx]
mov dword [esp + 0x1c], esi
test byte [eax + ecx], 2
je 0x5081ce
lea esp, [esp]
inc ebx
mov dword [esp + 0x10], ebx
movzx eax, byte [ebx]
test byte [eax + ecx], 2
jne 0x5081c0
mov eax, ebx
sub eax, edx
cmp byte [ebx], 0x3a
mov dword [esp + 0x34], eax
jne 0x508216
inc ebx
mov dword [esp + 0x10], ebx
mov esi, ebx
mov dword [esp + 0x50], ebx
mov al, byte [ebx]
test al, al
je 0x5081ff
lea esp, [esp]
cmp al, 0x29
je 0x5081ff
inc ebx
mov dword [esp + 0x10], ebx
mov al, byte [ebx]
test al, al
jne 0x5081f0
mov eax, ebx
sub eax, esi
mov dword [esp + 0x4c], eax
cmp eax, 0xff
ja 0x509cc0
mov eax, dword [esp + 0x34]
cmp byte [ebx], 0x29
jne 0x509d28
xor ebx, ebx
mov esi, 0x5eccb8
cmp eax, dword [esi]
jne 0x508240
push eax
push edi
push edx
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
je 0x508259
mov edx, dword [esp + 0x90]
inc edi
inc ebx
add edi, dword [esi]
add esi, 0xc
cmp esi, str._b__w_
jge 0x509d0d
mov eax, dword [esp + 0x34]
jmp 0x508226
lea eax, [ebx + ebx*2]
mov ecx, dword [eax*4 + 0x5eccbc]
cmp ecx, 0x9e
jne 0x5082ee
cmp dword [esp + 0x4c], 0
jne 0x509cd7
mov edi, dword [ebp + 0x30]
mov ecx, dword [edi + 0x24]
mov dword [edi + 0x6c], 1
test ecx, ecx
je 0x5082bf
mov edi, dword [esp + 0x14]
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x50829b
add dword [eax], 3
jmp 0x5082b2
mov byte [edi], 0xa0
movzx eax, byte [ecx + 5]
mov byte [edi + 1], al
movzx eax, byte [ecx + 4]
mov byte [edi + 2], al
add edi, 3
mov eax, dword [ebp + 0x34]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x508292
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0x30]
cmp dword [edi + 0x5c], 0
mov ecx, dword [esp + 0x14]
setg al
add al, 0x9e
movzx esi, al
mov byte [ecx], al
inc ecx
cmp dword [esp + 0x3c], 0xfffffffe
mov dword [esp + 0x14], ecx
jne 0x508369
mov dword [esp + 0x3c], 0xffffffff
jmp 0x508369
mov ebx, dword [esp + 0x4c]
test ebx, ebx
jne 0x508310
test ecx, ecx
js 0x509cf2
mov al, cl
mov ecx, dword [esp + 0x14]
movzx esi, al
mov byte [ecx], al
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x508366
cmp dword [eax*4 + 0x5eccc0], 0
jl 0x509cd7
mov edx, dword [esp + 0x14]
mov al, byte [eax*4 + 0x5eccc0]
movzx esi, al
mov byte [edx], al
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x508340
add dword [eax], ebx
mov byte [edx + 1], 0
add edx, 2
jmp 0x50835e
push ebx
push dword [esp + 0x54]
mov byte [edx + 1], bl
add edx, 2
push edx
mov dword [esp + 0x20], edx
call sub.MSVCRT.dll_memcpy
mov edx, dword [esp + 0x20]
add esp, 0xc
add edx, ebx
mov byte [edx], 0
inc edx
mov dword [esp + 0x14], edx
mov edi, dword [ebp + 0x30]
lea eax, [esi - 0x96]
cmp eax, 5
ja case.default.0x508378
jmp dword [eax*4 + 0x50a228]
or dword [edi + 0x64], 0x1000
jmp case.default.0x508378
mov dword [edi + 0x70], 1
jmp case.default.0x508378
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x10]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0x85
mov dword [esp + 0x64], eax
mov dword [esp + 0x50], 0
cmp dl, 0x3f
jne 0x508c61
inc ebx
mov dword [esp + 0x10], ebx
mov dl, byte [ebx]
movzx eax, dl
add eax, 0xffffffdf
cmp eax, 0x5b
ja case.0x5083e7.34
movzx eax, byte [eax + 0x50a278]
jmp dword [eax*4 + 0x50a240]
mov dword [esp + 0x50], 1
mov dword [esi + 0x7c], 1
mov ecx, 0x83
inc ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebx
jmp 0x508f94
cmp byte [ebx + 1], 0x3f
mov ecx, 0x87
mov edx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x9c], edx
jne 0x50846c
cmp byte [ebx + 2], 0x43
jne 0x50846c
mov al, byte [ebx + 3]
mov ecx, 3
cmp al, 0x30
jb 0x50844d
lea ebx, [ebx]
cmp al, 0x39
ja 0x50844d
mov al, byte [ecx + ebx + 1]
inc ecx
cmp al, 0x30
jae 0x508440
cmp byte [ecx + ebx], 0x29
jne 0x50845f
lea edx, [ebx + 1]
add edx, ecx
mov dword [esp + 0x9c], edx
cmp byte [edx], 0x28
jne 0x509d3f
mov ecx, dword [esp + 0x18]
cmp byte [edx + 1], 0x3f
jne 0x50849b
mov al, byte [edx + 2]
cmp al, 0x3d
je 0x50848c
cmp al, 0x21
je 0x50848c
cmp al, 0x3c
jne 0x50849b
mov al, byte [edx + 3]
cmp al, 0x3d
je 0x50848c
cmp al, 0x21
jne 0x50849b
mov dword [esi + 0x80], 1
jmp 0x508f94
mov eax, dword [esp + 0x14]
or esi, 0xffffffff
xor ecx, ecx
or edi, esi
xor edx, edx
mov dword [esp + 0x24], ecx
mov byte [eax + 3], 0x8d
mov eax, 3
mov ebx, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ebx
mov al, byte [ebx]
cmp al, 0x52
jne 0x5084e7
cmp byte [ebx + 1], 0x26
jne 0x5084e7
mov eax, dword [esp + 0x14]
add ebx, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x34], esi
mov byte [eax + 3], 0x8f
mov ebx, dword [esp + 0x10]
jmp 0x5084fc
cmp al, 0x3c
jne 0x5085b4
mov dword [esp + 0x34], 0x3e
inc ebx
mov dword [esp + 0x10], ebx
mov al, byte [ebx]
cmp al, 0x30
jb 0x50850a
cmp al, 0x39
jbe 0x509d86
mov ecx, dword [ebp + 0x30]
movzx eax, al
mov ecx, dword [ecx + 0xc]
test byte [eax + ecx], 0x10
je 0x509d3f
mov dword [esp + 0x24], ebx
inc ebx
mov dword [esp + 0x10], ebx
movzx eax, byte [ebx]
test byte [eax + ecx], 0x10
je 0x50853e
nop
inc ebx
mov dword [esp + 0x10], ebx
movzx eax, byte [ebx]
test byte [eax + ecx], 0x10
jne 0x508530
mov ecx, dword [esp + 0x24]
mov edi, ebx
sub edi, ecx
cmp dword [ebp + 0x34], edx
je 0x508553
mov dword [esp + 0x20], 5
cmp dword [esp + 0x34], edx
jle 0x50856a
mov al, byte [ebx]
inc ebx
mov dword [esp + 0x10], ebx
cmp al, byte [esp + 0x34]
jne 0x509dcf
mov al, byte [ebx]
inc ebx
mov dword [esp + 0x10], ebx
cmp al, 0x29
jne 0x509dcf
cmp dword [ebp + 0x34], 0
jne 0x508f8d
test esi, esi
js 0x508671
test edx, edx
jle 0x509d9d
test esi, esi
je 0x508635
cmp esi, 0x2d
mov esi, dword [ebp + 0x30]
jne 0x508630
mov eax, dword [esi + 0x40]
sub eax, edx
lea edx, [eax + 1]
jmp 0x508638
cmp al, 0x27
jne 0x5085c5
mov dword [esp + 0x34], 0x27
jmp 0x5084f7
mov dword [esp + 0x34], ecx
cmp al, 0x2d
je 0x5085e5
cmp al, 0x2b
je 0x5085e5
cmp al, 0x30
jb 0x50850a
cmp al, 0x39
ja 0x5084fc
xor esi, esi
jmp 0x5085f5
movzx esi, al
inc ebx
mov dword [esp + 0x10], ebx
test esi, esi
js 0x5084fc
mov al, byte [ebx]
cmp al, 0x30
jb 0x50856a
nop
cmp al, 0x39
ja 0x50856a
cmp edx, 0xccccccb
jg 0x509d56
movzx eax, al
lea edx, [edx + edx*4]
inc ebx
lea edx, [edx - 0x18]
mov dword [esp + 0x10], ebx
lea edx, [eax + edx*2]
mov al, byte [ebx]
cmp al, 0x30
jae 0x508600
jmp 0x50856a
add edx, dword [esi + 0x40]
jmp 0x508638
mov esi, dword [ebp + 0x30]
test edx, edx
jle 0x509db8
cmp edx, dword [esi + 0x44]
jg 0x509db8
mov edi, dword [esp + 0x14]
mov eax, edx
mov ecx, dword [esp + 0x18]
sar eax, 8
mov byte [edi + 4], al
mov byte [edi + 5], dl
mov ebx, dword [esp + 0x10]
cmp edx, dword [esi + 0x4c]
jle 0x508f98
mov dword [esi + 0x4c], edx
jmp 0x508f98
mov eax, dword [ebp + 0x30]
xor esi, esi
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x74], edx
cmp dword [eax + 0x30], esi
jle 0x5086bd
mov ebx, edx
push edi
lea eax, [ebx + 2]
push eax
push ecx
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x50869c
cmp byte [ebx + edi + 2], al
je 0x5086b2
mov eax, dword [ebp + 0x30]
inc esi
mov ecx, dword [esp + 0x24]
add ebx, dword [eax + 0x34]
mov dword [esp + 0x74], ebx
cmp esi, dword [eax + 0x30]
jl 0x508684
jmp 0x5086b5
mov eax, dword [ebp + 0x30]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
mov ecx, dword [eax + 0x30]
cmp esi, ecx
jge 0x508797
mov eax, dword [esp + 0x74]
mov ebx, 1
movzx edx, byte [edx]
shl edx, 8
mov dword [esp + 0xa8], esi
inc esi
movzx eax, byte [eax + 1]
or edx, eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x90], edx
cmp edx, dword [eax + 0x4c]
jle 0x5086f7
mov dword [eax + 0x4c], edx
cmp esi, ecx
jge 0x508778
mov ecx, dword [esp + 0x74]
add ecx, dword [eax + 0x34]
push edi
mov dword [esp + 0x78], ecx
lea eax, [ecx + 2]
push eax
push dword [esp + 0x2c]
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x508733
mov ecx, dword [esp + 0x74]
cmp byte [ecx + edi + 2], al
jne 0x508733
mov eax, dword [ebp + 0x30]
inc esi
inc ebx
cmp esi, dword [eax + 0x30]
jl 0x508703
cmp ebx, 1
jle 0x508771
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0xa8]
mov eax, ecx
add dword [esp + 0x20], 2
mov esi, dword [ebp + 0x30]
sar eax, 8
mov byte [edi + 4], al
mov eax, ebx
sar eax, 8
inc byte [edi + 3]
mov byte [edi + 5], cl
mov ecx, dword [esp + 0x18]
mov byte [edi + 6], al
mov byte [edi + 7], bl
mov ebx, dword [esp + 0x10]
jmp 0x508f98
mov edx, dword [esp + 0x90]
mov edi, dword [esp + 0x14]
mov eax, edx
mov ecx, dword [esp + 0x18]
mov esi, dword [ebp + 0x30]
sar eax, 8
mov byte [edi + 4], al
mov byte [edi + 5], dl
mov ebx, dword [esp + 0x10]
jmp 0x508f98
cmp dword [esp + 0x34], 0
jne 0x509db8
mov eax, dword [esp + 0x24]
cmp byte [eax], 0x52
jne 0x508814
xor ecx, ecx
lea edx, [ecx + 1]
cmp edi, edx
jle 0x5087ec
mov al, byte [edx + eax]
cmp al, 0x30
jb 0x509db8
cmp al, 0x39
ja 0x509db8
cmp ecx, 0xccccccb
jg 0x509d6f
movzx eax, al
lea ecx, [ecx + ecx*4]
lea ecx, [ecx - 0x18]
inc edx
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x24]
cmp edx, edi
jl 0x5087b4
test ecx, ecx
jne 0x5087f1
mov ecx, 0xffff
mov edi, dword [esp + 0x14]
mov eax, ecx
mov esi, dword [ebp + 0x30]
sar eax, 8
mov byte [edi + 5], cl
mov ecx, dword [esp + 0x18]
mov byte [edi + 3], 0x8f
mov byte [edi + 4], al
mov ebx, dword [esp + 0x10]
jmp 0x508f98
cmp edi, 6
jne 0x509db8
push edi
push str.DEFINE
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x509db4
mov edi, dword [esp + 0x14]
lea edx, [eax + 1]
mov ecx, dword [esp + 0x18]
mov esi, dword [ebp + 0x30]
mov byte [edi + 3], 0x91
mov ebx, dword [esp + 0x10]
jmp 0x508f9c
inc dword [esi + 0x5c]
mov ecx, 0x7d
inc ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebx
jmp 0x508f94
inc ebx
mov dword [esp + 0x10], ebx
cmp byte [ebx], 0x29
jne 0x5088b6
mov al, byte [ebx + 1]
cmp al, 0x2a
je 0x5088b6
cmp al, 0x2b
je 0x5088b6
cmp al, 0x3f
je 0x5088b6
cmp al, 0x7b
jne 0x508892
lea eax, [ebx + 2]
push eax
call fcn.0050bdf0
add esp, 4
test eax, eax
jne 0x5088b6
mov esi, dword [esp + 0x14]
xor edi, edi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
mov byte [esi], 0x9d
inc esi
mov ebx, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
jmp 0x505d28
inc dword [esi + 0x5c]
mov ecx, 0x7e
mov dword [esp + 0x18], ecx
jmp 0x508f94
mov cl, byte [ebx + 1]
mov al, cl
cmp al, 0x21
je 0x5089fc
cmp al, 0x3d
je 0x5089e4
mov eax, dword [esi + 0xc]
movzx ecx, cl
test byte [ecx + eax], 0x10
je 0x509de7
xor eax, eax
cmp dl, 0x3c
setne al
inc ebx
dec eax
mov dword [esp + 0x10], ebx
and eax, 0x17
mov esi, ebx
add eax, 0x27
mov dword [esp + 0x90], esi
mov dword [esp + 0xa8], eax
mov al, byte [ebx]
cmp al, 0x30
jb 0x50891e
cmp al, 0x39
jbe 0x509d86
mov edi, dword [ebp + 0x30]
movzx eax, al
mov ecx, dword [edi + 0xc]
test byte [eax + ecx], 0x10
je 0x50893e
lea ecx, [ecx]
inc ebx
mov dword [esp + 0x10], ebx
movzx eax, byte [ebx]
test byte [eax + ecx], 0x10
jne 0x508930
mov edx, ebx
sub edx, esi
cmp dword [ebp + 0x34], 0
mov dword [esp + 0x34], edx
je 0x508bde
mov eax, dword [edi + 0x40]
inc eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xa8]
cmp byte [ebx], al
jne 0x509eac
mov ecx, dword [edi + 0x30]
cmp ecx, 0x2710
jge 0x509e95
lea eax, [edx + 3]
cmp eax, dword [edi + 0x34]
jle 0x50898a
mov dword [edi + 0x34], eax
cmp edx, 0x20
jg 0x509e2d
mov esi, dword [edi + 0x28]
xor edi, edi
test ecx, ecx
jle 0x508b3b
cmp edx, dword [esi + 4]
jne 0x508b16
push edx
push dword [esi]
push dword [esp + 0x98]
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x508b16
mov eax, dword [esp + 0x4c]
cmp dword [esi + 8], eax
je 0x508b37
test dword [esp + 0x38], 0x80000
je 0x509e44
mov eax, dword [ebp + 0x30]
mov dword [eax + 0x78], 1
jmp 0x508b26
inc dword [esi + 0x5c]
mov ecx, 0x7f
add ebx, 2
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebx
jmp 0x508f94
inc dword [esi + 0x5c]
mov ecx, pe_nt_image_headers32
add ebx, 2
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebx
jmp 0x508f94
mov ecx, 0x81
inc ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebx
jmp 0x508f94
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov eax, edx
mov dword [esp + 0xc8], 1
mov dword [esp + 0xac], eax
mov byte [edx], 0x76
mov ebx, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x10], ebx
mov al, byte [ebx]
cmp al, 0x30
jb 0x508a7a
cmp al, 0x39
ja 0x508a7a
lea ecx, [ecx + ecx*4]
movzx eax, al
lea ecx, [ecx - 0x18]
inc ebx
mov dword [esp + 0x10], ebx
lea ecx, [eax + ecx*2]
cmp ecx, 0xff
jg 0x509dff
mov al, byte [ebx]
cmp al, 0x30
jae 0x508a53
cmp byte [ebx], 0x29
jne 0x509e16
mov byte [edx + 1], cl
xor edi, edi
mov eax, dword [esp + 0x10]
sub eax, dword [esi + 0x18]
inc eax
mov dword [esp + 0x1c], edi
sar eax, 8
mov byte [edx + 2], al
mov al, byte [esp + 0x10]
sub al, byte [esi + 0x18]
inc al
mov word [edx + 4], 0
mov byte [edx + 3], al
add edx, 6
mov ebx, dword [esp + 0x10]
mov esi, edx
mov eax, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebx
jmp 0x505d28
inc ebx
mov dword [esp + 0x10], ebx
mov dl, byte [ebx]
cmp dl, 0x3d
je 0x508af8
cmp dl, 0x3e
je 0x508af8
cmp dl, 0x3c
je case.0x5083e7.39
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x29
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x14]
xor ecx, ecx
cmp dl, 0x3e
mov dword [esp + 0x24], 0x29
sete cl
mov dword [esp + 0x50], ecx
mov esi, ecx
jmp 0x509326
mov eax, dword [esp + 0x4c]
cmp dword [esi + 8], eax
je 0x509e5f
mov eax, dword [ebp + 0x30]
mov edx, dword [esp + 0x34]
inc edi
add esi, 0xc
cmp edi, dword [eax + 0x30]
jl 0x508997
mov ebx, dword [esp + 0x10]
mov esi, dword [ebp + 0x30]
mov eax, dword [esi + 0x30]
cmp edi, eax
jl 0x508be0
mov ecx, dword [esi + 0x38]
cmp eax, ecx
jl 0x508ba0
lea edi, [ecx + ecx]
lea eax, [edi + edi*2]
shl eax, 2
push eax
call dword [0x725f1c]
mov esi, eax
add esp, 4
test esi, esi
je 0x509e7a
mov ebx, dword [ebp + 0x30]
mov ecx, dword [ebx + 0x38]
lea ecx, [ecx + ecx*2]
shl ecx, 2
push ecx
push dword [ebx + 0x28]
push esi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp dword [ebx + 0x38], 0x14
jle 0x508b98
push dword [ebx + 0x28]
call dword [0x725f20]
add esp, 4
mov dword [ebx + 0x28], esi
mov esi, ebx
mov dword [esi + 0x38], edi
mov eax, dword [esi + 0x30]
mov edx, dword [esp + 0x90]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x28]
mov dword [eax + ecx*4], edx
mov eax, dword [esi + 0x30]
mov edx, dword [esp + 0x34]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov eax, dword [esi + 0x30]
mov edx, dword [esp + 0x4c]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x28]
mov dword [eax + ecx*4 + 8], edx
inc dword [esi + 0x30]
mov ebx, dword [esp + 0x10]
jmp 0x508be0
mov esi, edi
inc ebx
mov dword [esp + 0x10], ebx
inc dword [esi + 0x40]
mov edx, 2
mov eax, dword [esi + 0x40]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
shr eax, 8
mov byte [edi + 3], al
mov al, byte [esi + 0x40]
mov byte [edi + 4], al
mov ebx, dword [esp + 0x10]
jmp 0x508f9c
mov edi, dword [ebp + 0x14]
mov esi, 1
mov dword [esp + 0x24], 0x29
mov dword [esp + 0x50], esi
jmp 0x509326
inc ebx
xor edx, edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], edx
cmp byte [ebx], 0x29
je 0x5094a4
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x1d
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x24], 0x29
jmp 0x508dbe
test dword [esp + 0x38], 0x1000
je 0x508be5
mov ecx, 0x83
mov dword [esp + 0x18], ecx
jmp 0x508f94
mov edi, dword [ebp + 0x14]
lea eax, [esp + 0xf8]
push 0
mov dword [esp + 0xa0], ebx
mov ebx, dword [esp + 0x3c]
push ebx
push dword [esi + 0x40]
push edi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.005048a0
add esp, 0x18
mov edx, eax
cmp dword [edi], 0
mov dword [esp + 0x18], edx
jne 0x509bb8
test edx, edx
jne 0x508cf5
cmp dword [esp + 0x44], eax
mov eax, dword [esp + 0xf8]
je 0x508ce4
cmp eax, 0x7f
jbe 0x508ce4
lea ecx, [esp + 0x84]
push ecx
push eax
call fcn.0051cb90
add esp, 8
mov esi, eax
jmp 0x505f0e
mov byte [esp + 0x84], al
mov esi, 1
jmp 0x505f0e
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xfffffffe
jne 0x508d0d
lea eax, [edx - 6]
cmp eax, 0x10
ja 0x508d0d
or ecx, 0xffffffff
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x60], eax
cmp edx, 0x1b
jne 0x5092d9
mov ebx, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [esi + 0x20]
inc ebx
sub eax, dword [esi + 0x10]
lea edx, [ebx + 1]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x64], eax
cmp byte [ebx], 0x3c
setne cl
xor eax, eax
dec ecx
mov dword [esp + 0x20], eax
and ecx, 0x17
mov dword [esp + 0x50], eax
movzx eax, byte [edx]
add ecx, 0x27
mov dword [esp + 0x24], ecx
cmp eax, 0x2b
je 0x508d90
cmp eax, 0x2d
je 0x508d90
cmp eax, 0x30
jb 0x508d82
cmp eax, 0x39
jbe 0x508d90
mov esi, 1
mov dword [esp + 0x50], esi
jmp 0x509326
mov al, byte [ebx + 2]
lea ecx, [ebx + 2]
cmp al, 0x30
jb 0x508dac
lea ebx, [ebx]
cmp al, 0x39
ja 0x508dac
mov al, byte [ecx + 1]
inc ecx
cmp al, 0x30
jae 0x508da0
mov eax, dword [esp + 0x24]
cmp byte [ecx], al
jne 0x509fab
mov ebx, edx
mov dword [esp + 0x10], ebx
mov dl, byte [ebx]
movzx esi, dl
cmp esi, 0x2b
jne 0x508e63
inc ebx
mov dword [esp + 0x10], ebx
mov al, byte [ebx]
cmp al, 0x30
jb 0x509ec3
cmp al, 0x39
ja 0x509ec3
mov al, byte [ebx]
xor edx, edx
mov dword [esp + 0x18], edx
cmp al, 0x30
jb 0x508e1b
nop
cmp al, 0x39
ja 0x508e1b
cmp edx, 0xccccccb
jg 0x509f53
movzx eax, al
lea edx, [edx + edx*4]
inc ebx
lea edx, [edx - 0x18]
mov dword [esp + 0x10], ebx
lea edx, [eax + edx*2]
mov al, byte [ebx]
mov dword [esp + 0x18], edx
cmp al, 0x30
jae 0x508df0
mov eax, dword [esp + 0x24]
cmp byte [ebx], al
jne 0x509f97
cmp esi, 0x2d
jne 0x5092b9
test edx, edx
je 0x509f83
mov esi, dword [ebp + 0x30]
mov eax, dword [esi + 0x40]
sub eax, edx
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
test edx, edx
jg 0x5094a4
mov eax, dword [ebp + 0x10]
mov dword [edi], 0xf
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x2d
jne 0x508de3
mov cl, byte [ebx + 1]
lea eax, [ebx + 1]
cmp cl, 0x30
jb case.0x5083e7.34
cmp cl, 0x39
ja case.0x5083e7.34
mov ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x508de3
xor eax, eax
lea ecx, [esp + 0x118]
xor esi, esi
mov dword [esp + 0x104], eax
mov dword [esp + 0x118], esi
cmp dl, 0x29
je 0x508f26
lea esp, [esp]
cmp dl, 0x3a
je 0x508f18
movzx eax, dl
inc ebx
sub eax, 0x2d
mov dword [esp + 0x10], ebx
cmp eax, 0x4b
ja case.0x508ed0.46
movzx eax, byte [eax + 0x50a2f8]
jmp dword [eax*4 + 0x50a2d4]
lea ecx, [esp + 0x104]
jmp 0x508f11
mov eax, dword [ebp + 0x30]
or dword [ecx], 0x80000
or dword [eax + 0x64], 0x400
jmp 0x508f11
or dword [ecx], 1
jmp 0x508f11
or dword [ecx], 2
jmp 0x508f11
or dword [ecx], 4
jmp 0x508f11
or dword [ecx], 8
jmp 0x508f11
or dword [ecx], 0x200
jmp 0x508f11
or dword [ecx], 0x40
mov dl, byte [ebx]
cmp dl, 0x29
jne 0x508eb0
mov esi, dword [esp + 0x118]
mov eax, dword [esp + 0x104]
or esi, dword [esp + 0x38]
not eax
and esi, eax
cmp byte [ebx], 0x29
mov dword [esp + 0x30], esi
jne 0x508f7d
mov eax, esi
mov dword [esp + 0x38], esi
shr eax, 9
xor edi, edi
and eax, 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x108], eax
xor eax, 1
mov dword [esp + 0x114], eax
mov eax, esi
and eax, 1
inc ebx
mov dword [esp + 0xb8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], ebx
mov dword [eax], esi
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
jmp 0x505d28
mov ecx, 0x83
inc ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebx
jmp 0x508f91
mov ecx, dword [esp + 0x18]
mov esi, dword [ebp + 0x30]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
inc dword [esi + 0x58]
cmp dword [esi + 0x58], 0xfa
jg 0x509f3c
lea eax, [ecx - 0x7d]
cmp eax, 3
ja 0x508fd1
cmp dword [esi + 0x80], 0
je 0x508fd1
mov dword [esp + 0x1c], 0
mov dword [esi + 0x80], 0
jmp 0x508fdf
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x10]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x64], eax
mov byte [edi], cl
mov dword [esp + 0x48], edi
mov edi, dword [esi + 0x68]
mov esi, dword [esi + 0x40]
mov dword [esp + 0xb4], 0
cmp ecx, 0x7f
je 0x509007
cmp ecx, 0x80
je 0x509007
xor ecx, ecx
jmp 0x50900c
mov ecx, 1
mov eax, dword [ebp + 0x34]
lea ebx, [esp + 0xb4]
neg eax
sbb eax, eax
and eax, ebx
mov ebx, dword [esp + 0x18]
push eax
push dword [ebp + 0x30]
lea eax, [esp + 0xcc]
push dword [ebp + 0x28]
push eax
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0x114]
push eax
xor eax, eax
cmp ebx, 0x87
sete al
add eax, dword [ebp + 0x2c]
push eax
push edx
push dword [esp + 0x74]
lea eax, [esp + 0x38]
push ecx
push dword [ebp + 0x14]
push eax
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x68]
call fcn.0050a350
add esp, 0x3c
test eax, eax
je 0x509bb8
mov eax, dword [ebp + 0x30]
dec dword [eax + 0x58]
cmp ebx, 0x81
jne 0x509111
cmp dword [eax + 0x40], esi
ja 0x50909b
mov eax, dword [esp + 0x14]
mov byte [eax], 0x82
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc4]
mov ebx, dword [esp + 0x10]
cmp byte [ebx], 0x29
jne 0x509f25
mov esi, dword [ebp + 0x34]
test esi, esi
je 0x50919c
mov edx, dword [esi]
mov esi, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
sub ecx, edx
lea eax, [esi - 6]
cmp ecx, eax
jl 0x509b78
mov ecx, dword [ebp + 0x34]
lea eax, [esi - 6]
mov esi, dword [esp + 0x14]
add eax, edx
mov edi, dword [esp + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 1], 0x780300
mov byte [esi + 5], 3
add esi, 6
mov ebx, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
jmp 0x505d28
cmp ebx, 0x7d
jl 0x509121
cmp ebx, 0x80
jg 0x509121
dec dword [eax + 0x5c]
cmp ebx, 0x87
jne 0x50909b
cmp dword [ebp + 0x34], 0
jne 0x50909b
mov ebx, dword [esp + 0x14]
xor esi, esi
mov edx, ebx
nop
movzx ecx, byte [edx + 1]
inc esi
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
add edx, ecx
cmp byte [edx], 0x78
jne 0x509140
cmp byte [ebx + 3], 0x91
jne 0x50916e
cmp esi, 1
jg 0x509eef
mov edx, 0x91
jmp 0x50909f
cmp esi, 2
jg 0x509f0a
cmp esi, 1
jne 0x50909b
mov edx, dword [esp + 0x18]
or eax, 0xffffffff
or ecx, eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xbc], ecx
jmp 0x5090a6
mov esi, dword [esp + 0x48]
mov dword [esp + 0x14], esi
cmp edx, 0x91
je 0x509b66
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0xcc], 0
cmp edx, 0x81
jl 0x50927f
cmp dword [esp + 0x3c], 0xfffffffe
jne 0x509235
test ecx, ecx
js 0x509223
mov edx, dword [esp + 0xfc]
mov dword [esp + 0x78], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xcc], 1
mov dword [esp + 0x70], 0xffffffff
jmp 0x509256
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x70], 0xffffffff
jmp 0x509256
test ecx, ecx
js 0x509256
test eax, eax
jns 0x50925e
mov eax, dword [esp + 0xfc]
mov dword [esp + 0xf0], eax
mov eax, ecx
or eax, edi
mov dword [esp + 0xc4], eax
test eax, eax
js 0x509b66
mov ecx, dword [esp + 0xf0]
inc ebx
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x10], ebx
jmp 0x505d28
cmp edx, 0x7d
jne 0x509b66
test eax, eax
js 0x509b66
test ecx, ecx
js 0x509b66
mov ecx, dword [esp + 0xf0]
inc ebx
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x10], ebx
jmp 0x505d28
cmp esi, 0x2b
jne 0x5094a1
test edx, edx
je 0x509f83
mov esi, dword [ebp + 0x30]
add edx, dword [esi + 0x40]
mov dword [esp + 0x18], edx
jmp 0x5094a4
cmp edx, 0x1c
jne 0x509709
mov ebx, dword [esp + 0x10]
mov al, byte [ebx + 1]
cmp al, 0x3c
je 0x5092f9
cmp al, 0x27
je 0x5092f9
cmp al, 0x7b
jne 0x509fbf
inc ebx
xor esi, esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x50], esi
mov al, byte [ebx]
cmp al, 0x3c
jne 0x509314
mov dword [esp + 0x24], 0x3e
jmp 0x509326
xor ecx, ecx
cmp al, 0x27
setne cl
dec ecx
and ecx, 0xffffffaa
add ecx, 0x7d
mov dword [esp + 0x24], ecx
inc ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x34], ebx
mov al, byte [ebx]
cmp al, 0x30
jb 0x50933d
cmp al, 0x39
jbe 0x509fd3
mov edx, dword [ebp + 0x30]
movzx eax, al
mov ecx, dword [edx + 0xc]
test byte [eax + ecx], 0x10
je 0x50935e
lea esp, [esp]
inc ebx
mov dword [esp + 0x10], ebx
movzx eax, byte [ebx]
test byte [eax + ecx], 0x10
jne 0x509350
mov ecx, dword [esp + 0x34]
mov edi, ebx
sub edi, ecx
cmp dword [ebp + 0x34], 0
je 0x50942a
xor edx, edx
mov dword [esp + 0x18], edx
test edi, edi
je 0x509fe7
mov eax, dword [esp + 0x24]
cmp byte [ebx], al
jne 0x509eac
cmp edi, 0x20
jg 0x509e2d
mov ebx, dword [ebp + 0x30]
test esi, esi
jne 0x50939d
inc dword [ebx + 0x54]
mov esi, dword [ebp + 0x34]
add dword [esi], 0xe
cmp dword [ebx + 0x7c], edx
je 0x5093ab
add dword [esi], 0xc
mov eax, dword [ebp + 0x30]
mov esi, dword [ebx + 0x28]
xor ebx, ebx
cmp dword [eax + 0x30], edx
jle 0x509494
lea esp, [esp]
cmp edi, dword [esi + 4]
jne 0x509416
push edi
push dword [esi]
push ecx
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x50940b
mov edx, dword [esi + 8]
mov dword [esp + 0x18], edx
cmp dword [esp + 0x50], eax
jne 0x5094a1
mov ecx, dword [ebp + 0x30]
mov ecx, dword [ecx + 0x24]
test ecx, ecx
je 0x50940f
movzx eax, word [ecx + 4]
cmp eax, edx
je 0x509400
mov ecx, dword [ecx]
test ecx, ecx
jne 0x5093f0
jmp 0x50940f
mov eax, 1
mov word [ecx + 6], ax
jmp 0x50940f
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x30]
mov ecx, dword [esp + 0x34]
inc ebx
add esi, 0xc
mov dword [esp + 0xa8], ebx
cmp ebx, dword [eax + 0x30]
jl 0x5093c0
mov esi, ebx
jmp 0x509496
mov eax, dword [edx + 0x2c]
xor esi, esi
mov dword [esp + 0x74], eax
cmp esi, dword [edx + 0x30]
jge 0x509db8
mov ebx, eax
mov edi, edi
push edi
lea eax, [ebx + 2]
push eax
push ecx
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x509458
cmp byte [ebx + edi + 2], al
je 0x50946e
mov edx, dword [ebp + 0x30]
inc esi
mov ecx, dword [esp + 0x34]
add ebx, dword [edx + 0x34]
mov dword [esp + 0x74], ebx
cmp esi, dword [edx + 0x30]
jl 0x509440
jmp 0x509471
mov edx, dword [ebp + 0x30]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x74]
cmp esi, dword [edx + 0x30]
jge 0x509db8
movzx edx, byte [eax]
movzx eax, byte [eax + 1]
shl edx, 8
or edx, eax
mov dword [esp + 0x18], edx
jmp 0x509496
xor esi, esi
cmp dword [esp + 0x50], 0
je 0x5095b7
mov esi, dword [ebp + 0x30]
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x10]
cmp dword [ebp + 0x34], 0
mov edi, dword [esp + 0x14]
mov ebx, dword [esi + 0x14]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x64], eax
jne 0x509569
mov byte [edi], 0
test edx, edx
je 0x5094e0
push edx
push dword [esp + 0x48]
push dword [esi + 0x14]
call fcn.00503a80
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ebx, eax
test ebx, ebx
jne 0x50953b
cmp edx, dword [esi + 0x44]
jg 0x509ffe
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
add eax, 0xffffff9c
add eax, dword [esi + 0x3c]
add ebx, edx
cmp dword [esi + 0x20], eax
jb 0x509516
push esi
call fcn.0050ad30
mov ecx, dword [ebp + 0x14]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x509bb8
mov edx, dword [esp + 0x14]
mov ecx, edx
sub ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x20]
inc ecx
sar ecx, 8
mov byte [eax], cl
mov cl, dl
sub cl, byte [esi + 0x14]
mov eax, dword [esi + 0x20]
inc cl
mov byte [eax + 1], cl
add dword [esi + 0x20], 2
jmp 0x50956d
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
jne 0x509569
cmp dword [ebp + 0x2c], ecx
jg 0x509569
push esi
push dword [esp + 0x48]
push dword [ebp + 0x28]
push edi
push ebx
call fcn.0050a850
add esp, 0x14
test eax, eax
jne 0x50a019
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov eax, ebx
mov byte [edx], 0x75
sub eax, dword [esi + 0x14]
sar eax, 8
mov byte [edx + 1], al
sub bl, byte [esi + 0x14]
mov byte [edx + 2], bl
add edx, 3
mov dword [esp + 0x14], edx
mov dword [esp + 0xcc], 0
cmp ecx, 0xfffffffe
jne 0x5095a3
or ecx, 0xffffffff
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x70], ecx
jmp case.default.0x508378
cmp dword [ebp + 0x34], 0
jne 0x509719
mov edi, dword [ebp + 0x30]
cmp dword [edi + 0x78], 0
je 0x50977b
mov ecx, dword [edi + 0x34]
mov ebx, 1
mov eax, dword [esp + 0x74]
add ecx, eax
mov edi, dword [edi + 0x30]
mov dword [esp + 0x90], esi
inc esi
mov dword [esp + 0x4c], ecx
cmp esi, edi
jge 0x509719
add eax, 2
mov dword [esp + 0xa8], eax
lea ecx, [ecx]
add ecx, 2
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x509623
test dl, dl
je 0x50961f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x509623
add eax, 2
add ecx, 2
test dl, dl
jne 0x509603
xor eax, eax
jmp 0x509628
sbb eax, eax
or eax, 1
test eax, eax
jne 0x509647
mov eax, dword [ebp + 0x30]
inc esi
mov ecx, dword [esp + 0x4c]
inc ebx
add ecx, dword [eax + 0x34]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x4c], ecx
cmp esi, edi
jl 0x509600
cmp ebx, 1
jle 0x509715
cmp dword [esp + 0x3c], 0xfffffffe
jne 0x50965f
mov dword [esp + 0x3c], 0xffffffff
mov edi, dword [ebp + 0x30]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x4c]
mov eax, dword [edi + 0x20]
sub eax, dword [edi + 0x10]
test byte [esp + 0x38], 1
mov dword [esp + 0x64], eax
setne al
mov dword [esp + 0x1c], edx
add al, 0x73
mov byte [edx], al
mov eax, ecx
shr eax, 8
mov byte [edx + 1], al
mov eax, ebx
mov byte [edx + 2], cl
sar eax, 8
mov byte [edx + 4], bl
mov ebx, dword [esp + 0x74]
mov byte [edx + 3], al
add edx, 5
mov dword [esp + 0x14], edx
cmp ebx, esi
jae 0x509b01
movzx edx, byte [ebx]
movzx eax, byte [ebx + 1]
shl edx, 8
or edx, eax
mov eax, 1
cmp edx, 0x20
jge 0x5096ce
mov ecx, edx
shl eax, cl
or dword [edi + 0x50], eax
cmp edx, dword [edi + 0x4c]
jle 0x5096d9
mov dword [edi + 0x4c], edx
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x5096f9
movzx eax, word [ecx + 4]
cmp eax, edx
je 0x5096f0
mov ecx, dword [ecx]
test ecx, ecx
jne 0x5096e0
jmp 0x5096f9
mov eax, 1
mov word [ecx + 6], ax
add ebx, dword [edi + 0x34]
cmp ebx, esi
jb 0x5096b4
mov dword [esp + 0x74], ebx
jmp case.default.0x508378
test edx, edx
jns 0x5097de
neg edx
jmp 0x509724
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 0x30]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
cmp ecx, 0xfffffffe
jne 0x509739
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x10]
test bl, 1
mov ecx, dword [esp + 0x14]
mov edi, ecx
mov dword [esp + 0x64], eax
setne al
add al, 0x71
mov dword [esp + 0x1c], edi
mov byte [ecx], al
mov eax, edx
sar eax, 8
mov byte [ecx + 1], al
mov byte [ecx + 2], dl
add ecx, 3
mov dword [esp + 0x14], ecx
cmp edx, 0x20
jge 0x50977f
mov ebx, 1
mov ecx, edx
mov eax, ebx
shl eax, cl
jmp 0x509786
mov esi, edi
jmp 0x50971c
mov eax, 1
mov ebx, eax
or dword [esi + 0x50], eax
cmp edx, dword [esi + 0x4c]
jle 0x509791
mov dword [esi + 0x4c], edx
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x509b05
lea esp, [esp]
movzx eax, word [ecx + 4]
cmp eax, edx
je 0x5097c4
mov ecx, dword [ecx]
test ecx, ecx
jne 0x5097a0
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
inc ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], ebx
jmp 0x505d28
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov word [ecx + 6], bx
mov ebx, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x505d28
cmp edx, 0xf
je 0x509889
cmp edx, 0x10
je 0x509889
cmp edx, 5
je 0x5097ff
cmp edx, 4
je 0x5097ff
cmp edx, 1
jne 0x50980c
cmp dword [esi + 0x48], 0
jne 0x50980c
mov dword [esi + 0x48], 1
lea ebx, [edx - 0x1d]
cmp ebx, 5
ja 0x509837
mov ebx, dword [ebx*4 + 0x725f30]
mov eax, dword [esp + 0x10]
dec ebx
mov esi, dword [esp + 0x14]
inc eax
mov edi, dword [esp + 0x1c]
inc ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ebx
jmp 0x505d28
mov ecx, 0x10
lea eax, [edx - 6]
cmp ecx, eax
sbb ecx, ecx
not ecx
and ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x20]
sub ecx, dword [esi + 0x10]
cmp dword [esp + 0x44], 0
mov dword [esp + 0x64], ecx
jne 0x509868
cmp edx, 0xe
jne 0x509868
mov edx, 0xd
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov byte [esi], dl
inc esi
mov ebx, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
jmp 0x505d28
push edi
lea eax, [esp + 0x104]
mov dword [esp + 0x120], 0
push eax
lea eax, [esp + 0x124]
mov dword [esp + 0x108], 0
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0050bb80
add esp, 0x14
test eax, eax
je 0x509bb8
mov edx, dword [esi + 0x20]
xor eax, eax
sub edx, dword [esi + 0x10]
cmp dword [esp + 0x18], 0x10
mov edi, dword [esp + 0x14]
mov esi, edi
sete al
mov dword [esp + 0x1c], edi
cmp eax, dword [esp + 0x12c]
mov dword [esp + 0x64], edx
setne al
add al, 0xf
mov byte [esi], al
movzx eax, byte [esp + 0x11c]
mov byte [esi + 1], al
movzx eax, byte [esp + 0x100]
mov byte [esi + 2], al
add esi, 3
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
jmp 0x505d28
movzx ecx, byte [esp + 0x85]
movzx eax, byte [esp + 0x86]
and ecx, 0x3f
test bl, 0x10
jne 0x50994d
and ebx, 0xf
shl ebx, 6
or ebx, ecx
jmp 0x5099cd
and eax, 0x3f
test bl, 8
jne 0x50996c
and ebx, 7
shl ebx, 6
or ebx, ecx
shl ebx, 6
or ebx, eax
movzx eax, byte [esp + 0x87]
jmp 0x5099cd
test bl, 4
jne 0x509998
and ebx, 3
shl ebx, 6
or ebx, ecx
shl ebx, 6
or ebx, eax
movzx eax, byte [esp + 0x87]
and eax, 0x3f
shl ebx, 6
or ebx, eax
movzx eax, byte [esp + 0x88]
jmp 0x5099cd
and ebx, 1
shl ebx, 6
or ebx, ecx
shl ebx, 6
or ebx, eax
movzx eax, byte [esp + 0x87]
and eax, 0x3f
shl ebx, 6
or ebx, eax
movzx eax, byte [esp + 0x88]
and eax, 0x3f
shl ebx, 6
or ebx, eax
movzx eax, byte [esp + 0x89]
and eax, 0x3f
shl ebx, 6
or ebx, eax
mov eax, ebx
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
movzx eax, byte [eax + 0x5f0460]
shl eax, 7
and ebx, 0x8000007f
jns 0x5099f7
dec ebx
or ebx, 0xffffff80
inc ebx
mov edx, dword [esp + 0x14]
add eax, ebx
movzx eax, word [eax*2 + 0x5f2660]
movzx eax, byte [eax*8 + 0x5eede3]
test eax, eax
je 0x509a53
mov edi, dword [esp + 0x1c]
mov word [edx], 0x910
mov byte [edx + 2], al
add edx, 3
cmp dword [esp + 0x3c], 0xfffffffe
mov dword [esp + 0x14], edx
jne 0x509b05
mov ebx, dword [esp + 0x10]
mov esi, edx
mov eax, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x10], ebx
jmp 0x505d28
test byte [esp + 0x38], 1
setne al
xor ecx, ecx
add al, 0x1d
mov byte [edx], al
inc edx
mov dword [esp + 0x14], edx
test esi, esi
je 0x509a83
lea ebx, [ebx]
mov al, byte [esp + ecx + 0x84]
inc ecx
mov byte [edx], al
inc edx
cmp ecx, esi
jb 0x509a70
mov dword [esp + 0x14], edx
mov al, byte [esp + 0x84]
cmp al, 0xd
je 0x509a92
cmp al, 0xa
jne 0x509a99
or dword [edi + 0x64], 0x800
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xfffffffe
jne 0x509b1b
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x60], ecx
cmp esi, 1
je 0x509ae5
cmp dword [esp + 0xb8], 0
je 0x509ae5
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x3c], 0xffffffff
jmp case.default.0x508378
movzx eax, al
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x3c], eax
cmp esi, 1
je 0x509b01
mov ecx, dword [edi + 0x68]
jmp 0x509b52
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
inc ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], ebx
jmp 0x505d28
mov eax, dword [esp + 0x78]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x60], ecx
cmp esi, 1
je 0x509b4d
test eax, eax
jne case.default.0x508378
mov ecx, dword [edi + 0x68]
or ecx, eax
movzx edx, byte [edx - 1]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x6c], edx
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
inc ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], ebx
jmp 0x505d28
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x14
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add ecx, dword [edx + 0x10]
cmp esi, ecx
mov ecx, dword [ebp + 0x14]
sbb eax, eax
and eax, 0x23
add eax, 0x34
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x1e
mov eax, dword [ebp + 0x10]
mov ebx, dword [esp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x1f
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [ebx], 7
mov ebx, dword [esp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [ebx], 0x47
mov ebx, dword [esp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [ebx], 0x53
mov ebx, dword [esp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x53
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 8
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 6
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x14]
xor eax, eax
cmp byte [ebx + 1], 0x3a
setne al
dec eax
and eax, 0xffffffee
add eax, 0x1f
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [eax], 0x14
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [edx], 9
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x4b
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [eax], 0x3b
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [eax], 0x42
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [eax], 0x3c
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x3c
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x1c
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebx]
cmp al, 0x30
jb 0x509d6f
lea esp, [esp]
cmp al, 0x39
ja 0x509d6f
inc ebx
mov dword [esp + 0x10], ebx
mov al, byte [ebx]
cmp al, 0x30
jae 0x509d60
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x3d
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x54
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x23
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xf
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
dec ebx
mov dword [eax], 0x1a
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
inc ebx
mov dword [eax], 0x18
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x26
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x27
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x30
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [eax], 0x2b
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [eax], 0x41
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [eax], 0x15
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x31
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x2a
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [edi], 0x3f
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
dec ebx
mov dword [eax], 0xc
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [eax], 0x36
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [eax], 0x1b
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xe
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x52
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebx]
cmp al, 0x30
jb 0x509f6f
lea esp, [esp]
cmp al, 0x39
ja 0x509f6f
inc ebx
mov dword [esp + 0x10], ebx
mov al, byte [ebx]
cmp al, 0x30
jae 0x509f60
mov eax, dword [ebp + 0x10]
mov dword [edi], 0x3d
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [edi], 0x3a
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [edi], 0x1d
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [edi], 0x39
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [edi], 0x45
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [edi], 0x54
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x3e
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [eax], 0xf
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [eax], 0x28
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x14]
mov esi, dword [ebp + 0x34]
mov dword [eax], ecx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x6c]
mov dword [eax], ecx
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x5c]
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
test esi, esi
je 0x50a094
mov ecx, dword [esi]
mov eax, edx
mov edi, dword [esp + 0xc0]
sub eax, edi
sub dword [esp + 0xb0], ecx
cmp dword [esp + 0xb0], eax
jl 0x509b78
sub ecx, edi
add ecx, edx
mov dword [esi], ecx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x34
mov eax, dword [ebp + 0x10]
pop edi
pop esi
mov dword [eax], ebx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret