Function at 0x509e40
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x14
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
cmp dword [ebp + 0x118], 0
mov esi, dword [ebp + 0xc]
jne 0x509ed0
mov ecx, dword [esi + 8]
test ecx, ecx
jns 0x509e7d
mov edi, dword [esp + 0x24]
push edi
push ebp
call fcn.00509a10
add esp, 8
cmp dword [esi + 8], 0
jle 0x509ed4
pop edi
pop esi
mov eax, 0x10f
pop ebp
add esp, 0x14
ret
jle 0x509ed0
add ecx, 0xffffffff
mov dword [esi + 8], ecx
jne 0x509e9a
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0xc]
pop edi
mov dword [ecx], edx
mov eax, dword [esi + 4]
pop esi
pop ebp
add esp, 0x14
ret
cmp ecx, 1
jne 0x509eb9
mov eax, dword [ebp + 0x1c]
test byte [eax + 6], 0x40
je 0x509eb9
pop edi
mov dword [esi + 8], 0xffffffff
lea eax, [ecx + 0x3a]
pop esi
pop ebp
add esp, 0x14
ret
pop edi
test cl, 1
mov eax, 0x10f
mov ecx, 0x3b
pop esi
cmovne eax, ecx
pop ebp
add esp, 0x14
ret
mov edi, dword [esp + 0x24]
push ebx
push dword [esi]
call fcn.004fb0d0
add esp, 4
mov ebx, eax
cmp dword [esi + 0x10], 0
je 0x509ef4
mov dword [esi + 0x10], 0
inc dword [ebp + 0xa4]
test ebx, ebx
je 0x50b71a
cmp dword [ebp + 0x118], 0
jne 0x50b754
mov eax, dword [ebx + 8]
mov dword [esi + 0x14], eax
movzx ecx, word [ebx + 0x14]
movzx eax, cl
add eax, 0xffffffeb
cmp eax, 0x41
ja case.0x509f29.24
movzx eax, byte [eax + 0x50b808]
jmp dword [eax*4 + 0x50b768]
lea eax, [esp + 0x2c]
mov dword [esi + 4], 0x110
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 0xc]
push dword [ebx + 8]
call fcn.004e89b0
add esp, 0x18
test eax, eax
je 0x509f84
movzx eax, byte [esp + 0x18]
movsd xmm0, qword [esp + 0x1c]
mov byte [edi + 9], al
movzx eax, byte [esp + 0x2c]
pop ebx
mov byte [edi + 8], al
mov eax, 0x113
movsd qword [edi], xmm0
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x10]
mov dword [edi], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
mov al, byte [esp + 0x2c]
pop ebx
mov byte [edi + 8], al
mov eax, 0x115
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov dword [esi + 4], 0x110
mov eax, dword [ebx + 8]
cmp byte [eax], 0x30
jne 0x50a010
mov cl, byte [eax + 1]
cmp cl, 0x44
je 0x509fc1
cmp cl, 0x64
jne 0x50a010
mov edx, dword [ebx + 0xc]
cmp edx, 0xa
jne 0x509fea
lea ecx, [esp + 0x18]
add eax, 2
push ecx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
push ecx
push eax
call fcn.004ea4b0
mov ecx, dword [esp + 0x3c]
add esp, 0x10
jmp 0x50a040
xor ecx, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x2c], ecx
cmp edx, 3
jne 0x50a00b
cmp byte [eax + 2], 0x30
je 0x50a040
or ecx, 0xffffffff
jmp 0x50a03c
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x44]
push ecx
push eax
call fcn.004ea990
mov ecx, dword [esp + 0x4c]
or edx, 0xffffffff
add esp, 0x20
test eax, eax
cmove ecx, edx
mov dword [esp + 0x2c], ecx
push dword [esp + 0x18]
push dword [esp + 0x14]
push ecx
call fcn.004ea240
cdq
add esp, 0xc
mov dword [edi], eax
or eax, edx
mov dword [edi + 4], edx
jne 0x50a084
cmp dword [esp + 0x2c], eax
jne 0x50a06d
cmp dword [esp + 0x10], eax
jne 0x50a06d
cmp dword [esp + 0x18], eax
je 0x50a084
push 0
push dword [ebx + 8]
push 0x39
push 0x45
push 0x73c320
push ebp
call fcn.0050bf00
add esp, 0x18
pop ebx
pop edi
pop esi
mov eax, 0x168
pop ebp
add esp, 0x14
ret
lea eax, [edi + 4]
mov dword [esi + 4], 0x110
push eax
push edi
push dword [ebx + 8]
call fcn.004eadf0
add esp, 0xc
test eax, eax
jne 0x50a0c2
push eax
push dword [ebx + 8]
push 0x3a
push 0x45
push 0x73c320
push ebp
call fcn.0050bf00
add esp, 0x18
pop ebx
pop edi
pop esi
mov eax, 0x169
pop ebp
add esp, 0x14
ret
push ebx
push ebp
push edi
mov dword [esi + 4], 0x110
call fcn.00509dc0
add esp, 0xc
mov dword [esi + 0x14], eax
mov eax, 0x110
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov dword [esi + 4], 0x110
xor eax, eax
mov ecx, dword [ebx + 8]
pop ebx
pop edi
pop esi
cmp byte [ecx + 1], 0x54
pop ebp
setne al
add eax, 0x111
add esp, 0x14
ret
push ebx
mov dword [esi + 4], 0x148
call fcn.004fc530
push ebx
push ebp
call fcn.00509d80
add esp, 0xc
mov dword [edi], eax
mov dword [esi + 0x14], eax
mov eax, 0x148
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
push ebx
mov dword [esi + 4], 0x149
call fcn.004fc530
push ebx
push ebp
call fcn.00509d80
add esp, 0xc
mov dword [edi], eax
mov dword [esi + 0x14], eax
mov eax, 0x149
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov eax, dword [esi + 4]
cmp eax, 0x105
jg 0x50a192
je case.0x50a1a3.266
cmp eax, 0xfffffff9
je case.0x50a1a3.266
cmp eax, 0xfffffffc
jle case.0x50a1a3.267
cmp eax, 0xfffffffe
jle case.0x50a1a3.266
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffb
mov eax, 0x5b
pop esi
pop ebp
add esp, 0x14
ret
sub eax, 0x10a
cmp eax, 0x5c
ja case.0x50a1a3.267
movzx eax, byte [eax + 0x50b854]
jmp dword [eax*4 + 0x50b84c]
push ebx
push dword [esi]
mov dword [esi + 4], 0x110
call fcn.004fc2d0
push ebx
push ebp
push edi
call fcn.00509dc0
add esp, 0x14
mov dword [esi + 0x14], eax
mov eax, 0x110
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffa
mov eax, 0x5d
pop esi
pop ebp
add esp, 0x14
ret
mov eax, dword [ebx]
test eax, eax
je 0x50a248
mov ax, word [eax + 0x14]
mov ecx, 0xff
and ax, cx
cmp ax, 0x1b
jne 0x50a22f
lea eax, [edi + 4]
push eax
lea eax, [edi + 8]
push eax
push ebx
push dword [esi]
call fcn.004fad80
push eax
call fcn.004e96e0
mov dword [edi], eax
push dword [esi]
call fcn.004fb0d0
add esp, 0x18
mov eax, 0x160
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
cmp ax, 0x55
jne 0x50a248
push edi
push ebx
push esi
call fcn.005096f0
add esp, 0xc
test eax, eax
jne 0x50b75d
pop ebx
pop edi
mov dword [esi + 4], 0xfffffff9
mov eax, 0x7b
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffff8
mov eax, 0x7d
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffd
mov eax, 0x28
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffc
mov eax, 0x29
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x16a
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [esi + 4], 0
jne 0x50a2e9
mov eax, dword [ebx]
test eax, eax
je 0x50a2e9
cmp byte [eax + 0x14], 0x15
jne 0x50a2e9
push dword [eax + 8]
push str.LINE
call fcn.004e9770
add esp, 8
test eax, eax
jne 0x50a2e9
push dword [esi]
call fcn.004fb0d0
add esp, 4
mov eax, 0x147
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x11e
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x11f
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x114
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x11d
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x120
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x121
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x122
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x131
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x132
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x136
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x137
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x138
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x139
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x13c
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x13b
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x13a
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x119
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x11a
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x11b
pop esi
pop ebp
add esp, 0x14
ret
cmp cl, 0x3a
jne case.0x509f29.27
mov eax, dword [ebx]
test eax, eax
je case.0x509f29.27
cmp dword [eax + 0x10], 0
jne case.0x509f29.27
cmp byte [eax + 0x14], cl
jne case.0x509f29.27
pop ebx
mov dword [edi], str.SELF
mov eax, 0x104
pop edi
mov dword [esi + 0x14], str.SELF
mov dword [esi + 4], 0x104
pop esi
pop ebp
add esp, 0x14
ret
test byte [ebp + 4], 1
je case.0x509f29.27
mov eax, dword [ebx]
test eax, eax
je case.0x509f29.27
cmp dword [eax + 0x10], 0
jne case.0x509f29.27
cmp byte [eax + 0x14], 0x4b
jne case.0x509f29.27
push dword [esi]
call fcn.004fb0d0
add esp, 4
mov dword [esi + 4], 0xfffffffe
mov eax, 0x16b
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov dword [esi + 4], 0xfffffffe
mov eax, dword [ebx + 8]
pop ebx
pop edi
pop esi
movzx eax, byte [eax]
pop ebp
add esp, 0x14
ret
mov dword [esi + 0x10], 1
mov dword [esi + 4], 0
mov eax, dword [ebx + 8]
pop ebx
pop edi
pop esi
movzx eax, byte [eax]
pop ebp
add esp, 0x14
ret
push ebx
call fcn.004fc530
mov edi, dword [ebx + 0xc]
mov eax, 0x73bd48
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 0x35
mov ecx, 0x35
cmp dword [eax + 4], edi
ja 0x50a5a2
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
cmp edi, ecx
ja 0x50a59e
mov ecx, dword [eax]
mov edx, dword [ebx + 8]
sub edi, 4
jb 0x50a551
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x50a55a
add ecx, 4
add edx, 4
sub edi, 4
jae 0x50a540
cmp edi, 0xfffffffc
je 0x50a683
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x50a597
cmp edi, 0xfffffffd
je 0x50a683
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x50a597
cmp edi, 0xfffffffe
je 0x50a683
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x50a597
cmp edi, 0xffffffff
je 0x50a683
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x50a683
mov edi, dword [ebx + 0xc]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
add eax, 0x10
sub ecx, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], ecx
jne 0x50a525
mov edi, 0x104
push ebx
push ebp
call fcn.00509d80
mov ecx, dword [esp + 0x30]
add esp, 8
mov dword [ecx], eax
mov dword [esi + 0x14], eax
cmp edi, 0x103
jg 0x50a708
cmp edi, 0x102
jge 0x50a6c8
cmp edi, 0xfffffff7
jne case.0x50a71e.271
push 0
push dword [ebx]
call fcn.00509630
mov edi, eax
add esp, 8
test edi, edi
je 0x50abb2
push dword [esi]
mov dword [esi + 4], 0xfffffff6
call fcn.004fb0d0
add esp, 4
mov ebx, eax
cmp edi, 0x14a
jne 0x50abbe
mov ecx, dword [ebx]
test ecx, ecx
je 0x50abbe
cmp byte [ecx + 0x14], 0x15
jne 0x50abbe
push dword [ecx + 8]
push 0x73c308
call fcn.004e9770
add esp, 8
test eax, eax
jne 0x50abbe
mov eax, dword [ebx]
push 1
push dword [eax]
call fcn.00509630
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x50abbe
push dword [esi]
call fcn.004fb0d0
push dword [esi]
call fcn.004fb0d0
add esp, 8
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov eax, 0x4000
test word [ebx + 0x14], ax
jne 0x50a6bc
mov eax, dword [esp + 0x18]
cmp dword [ebx + 0xc], eax
jne 0x50a6bc
push dword [ebx + 8]
call fcn.0047f840
mov edi, dword [esp + 0x30]
add esp, 4
mov eax, dword [edi]
mov dword [ebx + 8], eax
mov eax, 0x4000
or word [ebx + 0x14], ax
mov edi, dword [edi + 0xc]
jmp 0x50a5bb
mov edi, dword [esp + 0x2c]
mov edi, dword [edi + 0xc]
jmp 0x50a5bb
test byte [ebp + 4], 1
je 0x50a6ec
cmp dword [esi + 4], 0
jne 0x50abb2
mov eax, dword [ebx]
test eax, eax
je 0x50abb2
cmp byte [eax + 0x14], 0x15
jne 0x50abb2
push ecx
push ebp
mov dword [esi + 0xc], 1
mov dword [esi + 4], edi
call fcn.00509a10
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
lea eax, [edi - 0x105]
cmp eax, 0x67
ja case.0x50a71e.271
movzx eax, byte [eax + 0x50b920]
jmp dword [eax*4 + 0x50b8b4]
cmp dword [esi + 4], 0
jne 0x50abb2
mov eax, dword [ebx]
test eax, eax
je 0x50a7e6
cmp byte [eax + 0x14], 0x15
jne 0x50a7e6
mov ecx, dword [eax + 0xc]
cmp ecx, 4
jb 0x50a7e6
push ecx
push dword [eax + 8]
push str.FUNCTION
call fcn.004e9a10
add esp, 0xc
test eax, eax
je 0x50a77d
mov eax, dword [ebx]
push dword [eax + 0xc]
push dword [eax + 8]
push str.PROCEDURE
call fcn.004e9a10
add esp, 0xc
test eax, eax
jne 0x50a7e6
cmp edi, 0x12c
jne 0x50a78c
mov eax, 8
jmp 0x50a79f
cmp edi, 0x12b
mov eax, 2
mov ecx, 0x10
cmove eax, ecx
mov dword [esi + 0xc], eax
mov eax, dword [ebx]
push dword [esi]
mov eax, dword [eax + 8]
mov dl, byte [eax]
movsx ecx, dl
sub dl, 0x61
cmp dl, 0x19
lea eax, [ecx - 0x20]
cmova eax, ecx
xor ecx, ecx
cmp eax, 0x46
setne cl
add ecx, 0x102
mov dword [esi + 4], ecx
call fcn.004fb0d0
mov ecx, dword [esp + 0x2c]
push ecx
push ebp
call fcn.00509a10
add esp, 0xc
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [esi + 4], 0
jne 0x50abb2
cmp edi, 0x12b
je 0x50abd8
cmp edi, 0x108
jne 0x50abb2
mov eax, dword [ebx]
test eax, eax
je 0x50abb2
cmp byte [eax + 0x14], 0x15
jne 0x50abb2
pop ebx
mov dword [esi + 4], edi
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [esi + 4], 0
jne 0x50abb2
mov eax, dword [ebx]
test eax, eax
je 0x50abb2
cmp byte [eax + 0x14], 0x15
jne 0x50abb2
mov ecx, dword [eax + 0xc]
cmp ecx, 4
jb 0x50abb2
push ecx
push dword [eax + 8]
push str.STATIC
call fcn.004e9a10
add esp, 0xc
test eax, eax
jne 0x50abb2
push dword [esi]
call fcn.004fb0d0
add esp, 4
mov dword [esi + 4], 0x16c
mov eax, 0x16c
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [esi + 4], 0
jne 0x50abb2
mov ecx, dword [ebx]
test ecx, ecx
je 0x50abb2
cmp byte [ecx + 0x14], 0x15
jne 0x50abb2
mov edx, dword [ecx + 0xc]
lea eax, [edx - 4]
cmp eax, 4
ja 0x50abb2
push edx
push dword [ecx + 8]
push str.SEQUENCE
call fcn.004e9a10
add esp, 0xc
test eax, eax
jne 0x50abb2
push dword [esi]
call fcn.004fb0d0
add esp, 4
mov dword [esi + 4], 0x13e
mov eax, 0x13e
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [esi + 4], 0
jne 0x50abb2
mov ecx, dword [ebx]
test ecx, ecx
je 0x50a966
mov ax, word [ecx + 0x14]
mov edx, 0xff
and ax, dx
cmp ax, 0x1f
je 0x50a966
cmp ax, 0x1e
je 0x50a966
cmp ax, 0x15
jne 0x50abb2
mov edx, dword [ecx + 0xc]
lea eax, [edx - 4]
cmp eax, 1
ja 0x50abb2
push edx
push dword [ecx + 8]
push str.USING
call fcn.004e9a10
add esp, 0xc
test eax, eax
jne 0x50abb2
push dword [esi]
call fcn.004fb0d0
add esp, 4
mov dword [esi + 4], 0x141
mov eax, 0x141
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0x140
mov eax, 0x140
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [esi + 4], 0
jne 0x50abb2
mov ecx, dword [ebx]
test ecx, ecx
je 0x50aa5a
mov ax, word [ecx + 0x14]
mov edi, 0xff
and ax, di
cmp ax, 0x1f
je 0x50aa5a
cmp ax, 0x1e
je 0x50aa5a
cmp ax, 0x15
jne 0x50a9f0
mov edx, dword [ecx + 0xc]
lea eax, [edx - 4]
cmp eax, 4
ja 0x50a9f0
push edx
push dword [ecx + 8]
push str.SEQUENCE
call fcn.004e9a10
add esp, 0xc
test eax, eax
jne 0x50a9f0
push dword [esi]
call fcn.004fb0d0
add esp, 4
mov dword [esi + 4], 0x143
lea eax, [edi + 0x44]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
test byte [ebp + 4], 1
jne 0x50abb2
cmp dword [ebp + 0x104], 2
jge 0x50abb2
mov eax, dword [ebx]
mov ax, word [eax + 0x14]
and ax, di
cmp ax, 0x32
je 0x50aa32
cmp ax, 0x34
je 0x50aa32
cmp ax, 0x43
je 0x50aa32
cmp ax, 0x44
je 0x50aa32
cmp ax, 0x3b
jne 0x50abb2
push 0
push 0
push 0xa
push 0x45
push 0x73c320
push ebp
call fcn.0050bf00
add esp, 0x18
mov edi, 0x104
mov dword [esi + 4], edi
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0x10d
mov eax, 0x10d
pop esi
pop ebp
add esp, 0x14
ret
test byte [ebp + 4], 1
je 0x50aaa0
cmp dword [esi + 4], 0
jne 0x50abb2
mov eax, dword [ebx]
test eax, eax
je 0x50aaa0
mov ax, word [eax + 0x14]
mov ecx, 0xff
and ax, cx
cmp ax, 0x1f
je 0x50aaa0
cmp ax, 0x1e
jne 0x50abb2
pop ebx
pop edi
mov dword [esi + 4], 0x10b
mov eax, 0x10b
pop esi
pop ebp
add esp, 0x14
ret
test byte [ebp + 4], 1
je 0x50b70d
cmp dword [esi + 4], 0
jne 0x50abb2
mov ecx, dword [ebx]
test ecx, ecx
je 0x50abb2
mov ax, word [ecx + 0x14]
mov edx, 0xff
and ax, dx
cmp ax, 0x1f
je 0x50abb2
cmp ax, 0x1e
je 0x50abb2
cmp ax, 0x3c
je 0x50abb2
cmp ax, 0x3d
je 0x50abb2
cmp ax, 0x3e
je 0x50abb2
cmp ax, 0x3f
je 0x50abb2
cmp ax, 0x40
je 0x50abb2
cmp ax, 0x41
je 0x50abb2
cmp ax, 0x42
je 0x50abb2
cmp ax, 0x48
je 0x50abb2
cmp ax, 0x49
je 0x50abb2
cmp ax, 0x3b
je 0x50abb2
cmp ax, 0x52
je 0x50abb2
cmp ax, 0x53
je 0x50abb2
cmp ax, 0x54
je 0x50abb2
cmp ax, 0x55
je 0x50abb2
cmp ax, 0x4f
je 0x50abb2
cmp ax, 0x47
je 0x50abb2
cmp ax, 0x46
je 0x50abb2
cmp ax, 0x1b
je 0x50abb2
cmp ax, 0x33
je 0x50abb2
cmp ax, 0x35
je 0x50abb2
cmp ax, 0x37
je 0x50abb2
cmp ax, 0x3a
jne 0x50b70d
cmp dword [ecx + 0x10], 0
jne 0x50b70d
mov eax, dword [ecx]
test eax, eax
je 0x50abb2
cmp dword [eax + 0x10], 0
jne 0x50abb2
cmp byte [eax + 0x14], 0x3a
je 0x50b70d
mov edi, 0x104
mov dword [esi + 4], 0x104
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x14
ret
test byte [ebp + 4], 1
je 0x50b70d
cmp dword [esi + 4], 0
jne 0x50abb2
mov eax, dword [ebx]
test eax, eax
je 0x50b70d
mov ax, word [eax + 0x14]
mov ecx, 0xff
and ax, cx
cmp ax, 0x1f
je 0x50b70d
cmp ax, 0x1e
jmp 0x50abac
cmp dword [esi + 4], 0
jne 0x50abb2
mov eax, dword [ebx]
test eax, eax
je 0x50b70d
mov ax, word [eax + 0x14]
mov ecx, 0xff
and ax, cx
cmp ax, 0x1f
je 0x50b70d
cmp ax, 0x1e
jne 0x50abb2
pop ebx
mov dword [esi + 4], edi
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [esi + 4], 0
jne 0x50abb2
mov eax, dword [ebx]
test eax, eax
je 0x50abb2
mov cx, word [eax + 0x14]
mov edx, 0xff
and cx, dx
cmp cx, 0x1f
je 0x50abb2
cmp cx, 0x1e
je 0x50abb2
mov dword [esp + 0x2c], eax
cmp byte [eax + 0x14], 0x15
jne 0x50acb3
mov ecx, dword [eax]
test ecx, ecx
je 0x50acb3
cmp byte [ecx + 0x14], 0x15
jne 0x50acb3
push dword [eax + 8]
push str.EACH
call fcn.004e9770
add esp, 8
test eax, eax
jne 0x50acb3
push dword [esi]
call fcn.004fb0d0
add esp, 4
mov dword [esi + 4], 0x162
mov eax, 0x162
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
lea eax, [esp + 0x2c]
push eax
call fcn.004fb8b0
add esp, 4
test eax, eax
jne 0x50abb2
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x50abb2
cmp byte [eax + 0x14], 0x15
jne 0x50abb2
push dword [eax + 8]
push 0x605014
call fcn.004e9770
add esp, 8
test eax, eax
jne 0x50abb2
pop ebx
pop edi
mov dword [esi + 4], 0x12d
mov eax, 0x12d
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [esi + 4], 0
jne 0x50abb2
mov edx, dword [ebx]
test edx, edx
je 0x50b70d
mov cx, word [edx + 0x14]
mov eax, 0xff
and cx, ax
cmp cx, 0x1f
je 0x50b70d
cmp cx, 0x1e
je 0x50b70d
cmp cx, 0x15
jne 0x50ad69
mov edx, dword [edx]
test edx, edx
je 0x50b70d
mov dx, word [edx + 0x14]
and dx, ax
cmp dx, 0x1f
je 0x50b70d
cmp dx, 0x1e
je 0x50b70d
test byte [ebp + 4], 1
jne 0x50abb2
cmp dword [ebp + 0x104], 2
jge 0x50abb2
cmp cx, 0x32
je 0x50ada2
cmp cx, 0x34
je 0x50ada2
cmp cx, 0x43
je 0x50ada2
cmp cx, 0x44
je 0x50ada2
cmp cx, 0x3b
jne 0x50abb2
push 0
push 0
push 0xd
jmp 0x50aa38
cmp dword [esi + 4], 0
jne 0x50abb2
mov ecx, dword [ebx]
test ecx, ecx
je 0x50b70d
mov ax, word [ecx + 0x14]
mov edx, 0xff
and ax, dx
cmp ax, 0x1f
je 0x50b70d
cmp ax, 0x1e
je 0x50b70d
cmp ax, 0x3c
je 0x50abb2
cmp ax, 0x3d
je 0x50abb2
cmp ax, 0x3e
je 0x50abb2
cmp ax, 0x3f
je 0x50abb2
cmp ax, 0x40
je 0x50abb2
cmp ax, 0x41
je 0x50abb2
cmp ax, 0x42
je 0x50abb2
cmp ax, 0x48
je 0x50abb2
cmp ax, 0x49
je 0x50abb2
cmp ax, 0x3b
je 0x50abb2
cmp ax, 0x52
je 0x50abb2
cmp ax, 0x53
je 0x50abb2
cmp ax, 0x54
je 0x50abb2
cmp ax, 0x55
je 0x50abb2
cmp ax, 0x4f
je 0x50abb2
cmp ax, 0x47
je 0x50abb2
cmp ax, 0x46
je 0x50abb2
cmp ax, 0x1b
je 0x50abb2
cmp ax, 0x33
je 0x50abb2
cmp ax, 0x35
je 0x50abb2
cmp ax, 0x37
je 0x50abb2
cmp ax, 0x3a
jne 0x50b70d
cmp dword [ecx + 0x10], 0
jne 0x50b70d
mov eax, dword [ecx]
test eax, eax
je 0x50abb2
cmp dword [eax + 0x10], 0
jne 0x50abb2
cmp byte [eax + 0x14], 0x3a
jne 0x50abb2
pop ebx
mov dword [esi + 4], edi
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [esi + 4], 0
jne 0x50abb2
mov ecx, dword [ebx]
test ecx, ecx
je 0x50abb2
mov ax, word [ecx + 0x14]
mov edx, 0xff
and ax, dx
cmp ax, 0x1f
je 0x50abb2
cmp ax, 0x1e
je 0x50abb2
cmp ax, 0x3c
je 0x50abb2
cmp ax, 0x3d
je 0x50abb2
cmp ax, 0x3e
je 0x50abb2
cmp ax, 0x3f
je 0x50abb2
cmp ax, 0x40
je 0x50abb2
cmp ax, 0x41
je 0x50abb2
cmp ax, 0x42
je 0x50abb2
cmp ax, 0x48
je 0x50abb2
cmp ax, 0x49
je 0x50abb2
cmp ax, 0x3b
je 0x50abb2
cmp ax, 0x52
je 0x50abb2
cmp ax, 0x53
je 0x50abb2
cmp ax, 0x54
je 0x50abb2
cmp ax, 0x55
je 0x50abb2
cmp ax, 0x4f
je 0x50abb2
cmp ax, 0x47
je 0x50abb2
cmp ax, 0x46
je 0x50abb2
cmp ax, 0x1b
je 0x50abb2
cmp ax, 0x33
je 0x50abb2
cmp ax, 0x35
je 0x50abb2
cmp ax, 0x37
je 0x50abb2
cmp ax, 0x3a
jne 0x50b70d
cmp dword [ecx + 0x10], 0
jne 0x50b70d
mov eax, dword [ecx]
test eax, eax
je 0x50abb2
cmp dword [eax + 0x10], 0
jne 0x50abb2
cmp byte [eax + 0x14], 0x3a
jne 0x50abb2
pop ebx
mov dword [esi + 4], edi
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [esi + 4], 0
jne 0x50abb2
mov edx, dword [ebx]
test edx, edx
je 0x50abb2
mov cx, word [edx + 0x14]
mov eax, 0xff
and cx, ax
cmp cx, 0x1f
je 0x50abb2
cmp cx, 0x1e
je 0x50abb2
cmp cx, 0x16
je 0x50b0e0
cmp cx, 0x17
je 0x50b0e0
cmp cx, 0x39
je 0x50b0e0
cmp cx, 0x15
jne 0x50abb2
mov edx, dword [edx]
test edx, edx
je 0x50b0e0
mov cx, word [edx + 0x14]
and cx, ax
cmp cx, 0x1f
je 0x50b0e0
cmp cx, 0x1e
je 0x50b0e0
cmp cx, 0x34
je 0x50b0e0
cmp cx, 0x1d
je 0x50b0e0
cmp cx, 0x3c
je 0x50b0e0
cmp cx, 0x15
jne 0x50b0cc
push dword [edx + 8]
push 0x73c20c
call fcn.004e9770
add esp, 8
test eax, eax
je 0x50b0e0
pop ebx
pop edi
mov dword [esi + 4], 0x15b
mov eax, 0x15b
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0x13d
mov eax, 0x13d
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [esi + 4], 0
jne 0x50abb2
mov ecx, dword [ebx]
test ecx, ecx
je 0x50abb2
mov ax, word [ecx + 0x14]
mov edi, 0xff
and ax, di
cmp ax, 0x1f
je 0x50abb2
cmp ax, 0x1e
je 0x50abb2
cmp ax, 0x15
jne 0x50b232
cmp dword [ecx + 0xc], 4
jne 0x50b189
push dword [ecx + 8]
push str.CASE
call fcn.004e9770
add esp, 8
test eax, eax
jne 0x50b189
mov eax, dword [ebx]
mov eax, dword [eax]
test eax, eax
je 0x50b16b
mov ax, word [eax + 0x14]
and ax, di
cmp ax, 0x1f
je 0x50b16b
cmp ax, 0x1e
jne 0x50b204
push dword [esi]
call fcn.004fb0d0
add esp, 4
mov dword [esi + 4], 0x123
mov eax, 0x123
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov ecx, dword [ebx]
mov edx, dword [ecx + 0xc]
lea eax, [edx - 4]
cmp eax, 1
ja 0x50b204
push edx
push dword [ecx + 8]
push 0x730fdc
call fcn.004e9a10
add esp, 0xc
test eax, eax
jne 0x50b204
mov eax, dword [ebx]
mov ecx, dword [eax]
test ecx, ecx
je 0x50b204
mov ax, word [ecx + 0x14]
and ax, di
cmp ax, 0x1f
je 0x50b204
cmp ax, 0x1e
je 0x50b204
cmp ax, 0x15
jne 0x50b1e6
cmp dword [ecx + 0xc], 4
jne 0x50b1e6
push dword [ecx + 8]
push str.WITH
call fcn.004e9770
add esp, 8
test eax, eax
je 0x50b204
push dword [esi]
call fcn.004fb0d0
add esp, 4
mov dword [esi + 4], 0x129
mov eax, 0x129
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
push dword [esi]
call fcn.004fb0d0
push eax
push ebp
call fcn.00509d80
mov ecx, dword [esp + 0x34]
add esp, 0xc
pop ebx
mov dword [ecx], eax
pop edi
mov dword [esi + 0x14], eax
mov eax, 0x161
mov dword [esi + 4], 0x104
pop esi
pop ebp
add esp, 0x14
ret
cmp ax, 0x16
je 0x50b242
cmp ax, 0x17
jne 0x50abb2
pop ebx
pop edi
mov dword [esi + 4], 0x144
mov eax, 0x144
pop esi
pop ebp
add esp, 0x14
ret
mov ecx, dword [ebx]
test ecx, ecx
je 0x50abb2
mov ax, word [ecx + 0x14]
mov edx, 0xff
and ax, dx
cmp ax, 0x1f
je 0x50abb2
cmp ax, 0x1e
je 0x50abb2
cmp dword [esi + 4], 0
jne 0x50b2c7
cmp ax, 0x15
jne 0x50b2c7
mov eax, dword [ecx + 0xc]
cmp eax, 4
jb 0x50b2c7
push eax
push dword [ecx + 8]
push str.OBJECT
call fcn.004e9a10
add esp, 0xc
test eax, eax
jne 0x50b2c7
push dword [esi]
call fcn.004fb0d0
add esp, 4
mov dword [esi + 4], 0x166
mov eax, 0x166
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov eax, dword [esi + 4]
cmp eax, 0x148
je 0x50b2ea
cmp eax, 0x149
je 0x50b2ea
cmp eax, 0x104
je 0x50b2ea
cmp eax, 0x13e
jne 0x50abb2
pop ebx
pop edi
mov dword [esi + 4], 0x145
mov eax, 0x145
pop esi
pop ebp
add esp, 0x14
ret
mov eax, dword [esi + 4]
cmp eax, 0x102
je 0x50b353
cmp eax, 0x103
je 0x50b353
mov ecx, dword [ebp + 4]
and ecx, 1
jne 0x50b335
mov eax, dword [ebx]
test eax, eax
je 0x50b353
mov ax, word [eax + 0x14]
mov edx, 0xff
and ax, dx
cmp ax, 0x1f
je 0x50b353
cmp ax, 0x1e
je 0x50b353
mov eax, dword [ebx]
test eax, eax
je 0x50b345
cmp byte [eax + 0x14], 0x32
je 0x50b43e
test ecx, ecx
jne 0x50abb2
push ecx
push dword [eax + 8]
jmp 0x50b35a
push 0
push 0x72db1c
push 0x10
push 0x45
push 0x73c320
push ebp
call fcn.0050bf00
add esp, 0x18
mov dword [esi + 4], 0x104
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov edx, dword [esi + 4]
cmp edx, 0x102
je 0x50b547
cmp edx, 0x103
je 0x50b547
mov eax, dword [ebp + 4]
mov edi, 0xff
and eax, 1
mov dword [esp + 0x2c], eax
jne 0x50b3ce
mov eax, dword [ebx]
test eax, eax
je 0x50b547
mov ax, word [eax + 0x14]
and ax, di
cmp ax, 0x1f
je 0x50b547
cmp ax, 0x1e
je 0x50b547
mov ecx, dword [ebx]
test ecx, ecx
je 0x50b452
cmp byte [ecx + 0x14], 0x32
jne 0x50b452
test edx, edx
jne 0x50b43e
mov eax, dword [ecx]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esi + 4], 0x10a
call fcn.004fb8b0
add esp, 4
test eax, eax
je 0x50b433
lea eax, [esp + 0x2c]
push eax
call fcn.004fb8b0
add esp, 4
test eax, eax
je 0x50b433
lea eax, [esp + 0x2c]
push eax
call fcn.004fb8b0
add esp, 4
test eax, eax
jne 0x50b433
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x50b433
cmp byte [eax + 0x14], 0x33
jne 0x50b433
mov dword [esi + 4], 0x109
mov eax, dword [esi + 4]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
pop ebx
pop edi
mov dword [esi + 4], 0x109
mov eax, 0x109
pop esi
pop ebp
add esp, 0x14
ret
mov ax, word [ecx + 0x14]
and ax, di
cmp ax, 0x3c
je 0x50b52d
cmp ax, 0x3d
je 0x50b52d
cmp ax, 0x3e
je 0x50b52d
cmp ax, 0x3f
je 0x50b52d
cmp ax, 0x40
je 0x50b52d
cmp ax, 0x41
je 0x50b52d
cmp ax, 0x42
je 0x50b52d
cmp ax, 0x48
je 0x50b52d
cmp ax, 0x49
je 0x50b52d
cmp ax, 0x3b
je 0x50b52d
cmp ax, 0x52
je 0x50b52d
cmp ax, 0x53
je 0x50b52d
cmp ax, 0x54
je 0x50b52d
cmp ax, 0x55
je 0x50b52d
cmp ax, 0x4f
je 0x50b52d
cmp ax, 0x47
je 0x50b52d
cmp ax, 0x46
je 0x50b52d
cmp ax, 0x1b
je 0x50b52d
cmp ax, 0x33
je 0x50b52d
cmp ax, 0x35
je 0x50b52d
cmp ax, 0x37
je 0x50b52d
cmp ax, 0x3a
jne 0x50b515
cmp dword [ecx + 0x10], 0
jne 0x50b515
mov eax, dword [ecx]
test eax, eax
je 0x50b52d
cmp dword [eax + 0x10], 0
jne 0x50b52d
cmp byte [eax + 0x14], 0x3a
jne 0x50b52d
test edx, edx
jne 0x50b52d
pop ebx
pop edi
mov dword [esi + 4], 0x10a
mov eax, 0x10a
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [esp + 0x2c], 0
jne 0x50abb2
push 0x72e7e4
push dword [ecx + 8]
push 0x13
jmp 0x50aa38
push 0
push 0x72e7e4
push 0x10
jmp 0x50aa38
cmp dword [esi + 4], 0
jne 0x50abb2
mov eax, dword [ebx]
test eax, eax
je 0x50abb2
mov ax, word [eax + 0x14]
mov ecx, 0xff
and ax, cx
cmp ax, 0x1f
je 0x50abb2
cmp ax, 0x1e
je 0x50abb2
cmp ax, 0x32
jne 0x50abb2
push dword [esi]
call fcn.004fb0d0
add esp, 4
mov dword [esi + 4], 0xfffffffd
mov eax, 0x15f
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov eax, dword [ebx]
test eax, eax
je 0x50abb2
cmp dword [esi + 4], 0
jne 0x50b5c7
cmp byte [eax + 0x14], 0x15
je 0x50b5d1
cmp byte [eax + 0x14], 0x3b
jne 0x50abb2
pop ebx
pop edi
mov dword [esi + 4], 0x133
mov eax, 0x133
pop esi
pop ebp
add esp, 0x14
ret
mov eax, dword [ebx]
test eax, eax
je 0x50abb2
mov ecx, dword [eax]
test ecx, ecx
je 0x50abb2
cmp byte [eax + 0x14], 0x32
jne 0x50abb2
cmp byte [ecx + 0x14], 0x33
jne 0x50abb2
push dword [esi]
call fcn.004fb0d0
push dword [esi]
call fcn.004fb0d0
add esp, 8
mov dword [esi + 4], 0xfffffffc
mov eax, 0x146
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [esi + 4], 0
jne 0x50abb2
mov eax, dword [ebx]
test eax, eax
je 0x50abb2
mov ax, word [eax + 0x14]
mov ecx, 0xff
and ax, cx
cmp ax, 0x1f
je 0x50abb2
cmp ax, 0x1e
je 0x50abb2
cmp ax, 0x15
jne 0x50abb2
pop ebx
pop edi
mov dword [esi + 4], 0xfffffff6
lea eax, [ecx + 0x5e]
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [esi + 4], 0
jne 0x50abb2
mov eax, dword [ebx]
test eax, eax
je 0x50abb2
mov ax, word [eax + 0x14]
mov ecx, 0xff
and ax, cx
cmp ax, 0x1f
je 0x50abb2
cmp ax, 0x1e
je 0x50abb2
cmp ax, 0x15
je 0x50b6c6
cmp ax, 0x36
jne 0x50abb2
pop ebx
pop edi
mov dword [esi + 4], 0xfffffffe
mov eax, 0x15e
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [esi + 4], 0x104
jne case.0x50a71e.271
pop ebx
mov dword [esi + 4], edi
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [esi + 4], 0xfffffff6
jne case.0x50a71e.271
jmp 0x50abb2
cmp dword [esi + 4], 0
jne case.0x50a71e.271
pop ebx
mov dword [esi + 4], edi
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x14
ret
cmp dword [ebp + 0x118], 0
jne 0x50b754
push edi
push ebp
call fcn.00509a10
add esp, 8
cmp dword [esi + 8], 0
jle 0x50b754
mov eax, dword [ebp + 0xc]
pop ebx
pop edi
pop esi
mov dword [eax + 4], 0
mov eax, dword [ebp + 0xc]
pop ebp
mov dword [eax + 0xc], 0
mov eax, 0x10f
add esp, 0x14
ret
mov dword [esi + 0x14], 0
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret