Function at 0x59b540
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2064
call fcn.00517f10
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2008], eax
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
test edx, edx
je 0x59b58c
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 0x3c
je 0x59b58c
mov edx, dword [ebp - 0x2008]
add edx, 2
mov dword [ebp - 0x2008], edx
jmp 0x59b560
mov eax, dword [ebp - 0x2008]
cmp eax, dword [ebp + 8]
je 0x59b7f9
lea ecx, [ebp - 0x2004]
mov dword [ebp - 0x2034], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x2030], edx
mov eax, dword [ebp - 0x2008]
mov dword [ebp - 0x2018], eax
mov ecx, dword [ebp - 0x2030]
mov dword [ebp - 0x2020], ecx
mov edx, dword [ebp - 0x2020]
movzx eax, word [edx]
test eax, eax
je 0x59b602
mov ecx, dword [ebp - 0x2020]
movzx edx, word [ecx]
cmp edx, 0x26
je 0x59b602
mov eax, dword [ebp - 0x2020]
cmp eax, dword [ebp - 0x2018]
jae 0x59b602
mov ecx, dword [ebp - 0x2020]
add ecx, 2
mov dword [ebp - 0x2020], ecx
jmp 0x59b5c8
mov edx, dword [ebp - 0x2020]
cmp edx, dword [ebp - 0x2018]
je 0x59b69d
mov eax, dword [ebp - 0x2018]
sub eax, dword [ebp - 0x2030]
sar eax, 1
cmp eax, 0x1000
jbe 0x59b672
mov eax, dword [ebp - 0x2018]
sub eax, dword [ebp - 0x2030]
sar eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00517c03
add esp, 4
mov dword [ebp - 0x2040], eax
mov eax, dword [ebp - 0x2040]
mov dword [ebp - 0x2034], eax
cmp dword [ebp - 0x2034], 0
jne 0x59b672
xor eax, eax
jmp 0x59c255
mov ecx, dword [ebp - 0x2034]
push ecx
lea edx, [ebp - 0x2018]
push edx
lea eax, [ebp - 0x2030]
push eax
call fcn.005a3cf0
add esp, 0xc
movzx ecx, al
test ecx, ecx
jne 0x59b69d
xor eax, eax
jmp 0x59c255
mov edx, dword [ebp - 0x2030]
mov dword [ebp - 0x200c], edx
mov eax, dword [ebp - 0x2018]
mov dword [ebp - 0x2014], eax
mov ecx, dword [ebp - 0x200c]
movzx edx, word [ecx]
test edx, edx
je 0x59b719
mov eax, dword [ebp - 0x200c]
cmp eax, dword [ebp - 0x2018]
jae 0x59b719
mov ecx, dword [ebp - 0x200c]
movzx edx, word [ecx]
cmp edx, 0x20
je 0x59b708
mov eax, dword [ebp - 0x200c]
movzx ecx, word [eax]
cmp ecx, 0xd
je 0x59b708
mov edx, dword [ebp - 0x200c]
movzx eax, word [edx]
cmp eax, 0xa
je 0x59b708
mov ecx, dword [ebp - 0x200c]
movzx edx, word [ecx]
cmp edx, 9
jne 0x59b719
mov eax, dword [ebp - 0x200c]
add eax, 2
mov dword [ebp - 0x200c], eax
jmp 0x59b6b5
mov ecx, dword [ebp - 0x200c]
cmp ecx, dword [ebp - 0x2014]
jne 0x59b73f
mov dword [ebp - 0x2014], 0
mov edx, dword [ebp - 0x2014]
mov dword [ebp - 0x200c], edx
jmp 0x59b79a
mov eax, dword [ebp - 0x2014]
cmp eax, dword [ebp - 0x200c]
jbe 0x59b79a
mov ecx, dword [ebp - 0x2014]
movzx edx, word [ecx - 2]
cmp edx, 0x20
je 0x59b789
mov eax, dword [ebp - 0x2014]
movzx ecx, word [eax - 2]
cmp ecx, 0xd
je 0x59b789
mov edx, dword [ebp - 0x2014]
movzx eax, word [edx - 2]
cmp eax, 0xa
je 0x59b789
mov ecx, dword [ebp - 0x2014]
movzx edx, word [ecx - 2]
cmp edx, 9
jne 0x59b79a
mov eax, dword [ebp - 0x2014]
sub eax, 2
mov dword [ebp - 0x2014], eax
jmp 0x59b73f
cmp dword [ebp + 0xc], 0
je 0x59b7d0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x18], 0
je 0x59b7d0
mov edx, dword [ebp - 0x2008]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2014]
push ecx
mov edx, dword [ebp - 0x200c]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
call eax
lea ecx, [ebp - 0x2004]
cmp dword [ebp - 0x2034], ecx
je 0x59b7f9
mov edx, dword [ebp - 0x2034]
mov dword [ebp - 0x2044], edx
mov eax, dword [ebp - 0x2044]
push eax
call fcn.00517c15
add esp, 4
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
test edx, edx
jne 0x59b811
mov eax, dword [ebp - 0x2008]
jmp 0x59c255
mov eax, dword [ebp - 0x2008]
add eax, 2
mov dword [ebp - 0x2008], eax
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
cmp edx, 0x3f
jne 0x59b8da
mov eax, dword [ebp - 0x2008]
add eax, 2
mov dword [ebp - 0x2008], eax
mov ecx, dword [ebp - 0x2008]
mov dword [ebp - 0x2048], ecx
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
test eax, eax
je 0x59b888
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
cmp edx, 0x3f
jne 0x59b877
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax + 2]
cmp ecx, 0x3e
je 0x59b888
mov edx, dword [ebp - 0x2008]
add edx, 2
mov dword [ebp - 0x2008], edx
jmp 0x59b84d
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
test ecx, ecx
jne 0x59b89c
xor eax, eax
jmp 0x59c255
cmp dword [ebp + 0xc], 0
je 0x59b8c7
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0
je 0x59b8c7
mov eax, dword [ebp - 0x2008]
push eax
mov ecx, dword [ebp - 0x2048]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
call edx
mov eax, dword [ebp - 0x2008]
add eax, 4
jmp 0x59c255
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 0x21
jne 0x59bbab
mov edx, dword [ebp - 0x2008]
add edx, 2
mov dword [ebp - 0x2008], edx
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 0x2d
jne 0x59b9d7
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx + 2]
cmp eax, 0x2d
jne 0x59b9d7
mov ecx, dword [ebp - 0x2008]
add ecx, 4
mov dword [ebp - 0x2008], ecx
mov edx, dword [ebp - 0x2008]
mov dword [ebp - 0x204c], edx
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
test ecx, ecx
je 0x59b985
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
cmp eax, 0x2d
jne 0x59b974
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx + 2]
cmp edx, 0x2d
jne 0x59b974
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax + 4]
cmp ecx, 0x3e
je 0x59b985
mov edx, dword [ebp - 0x2008]
add edx, 2
mov dword [ebp - 0x2008], edx
jmp 0x59b93b
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
test ecx, ecx
jne 0x59b999
xor eax, eax
jmp 0x59c255
cmp dword [ebp + 0xc], 0
je 0x59b9c4
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x20], 0
je 0x59b9c4
mov eax, dword [ebp - 0x2008]
push eax
mov ecx, dword [ebp - 0x204c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
call edx
mov eax, dword [ebp - 0x2008]
add eax, 6
jmp 0x59c255
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 0x5b
jne 0x59bb12
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx + 2]
cmp eax, 0x43
jne 0x59bb12
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx + 4]
cmp edx, 0x44
jne 0x59bb12
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax + 6]
cmp ecx, 0x41
jne 0x59bb12
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx + 8]
cmp eax, 0x54
jne 0x59bb12
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx + 0xa]
cmp edx, 0x41
jne 0x59bb12
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax + 0xc]
cmp ecx, 0x5b
jne 0x59bb12
mov edx, dword [ebp - 0x2008]
add edx, 0xe
mov dword [ebp - 0x2008], edx
mov eax, dword [ebp - 0x2008]
mov dword [ebp - 0x2050], eax
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
test edx, edx
je 0x59bac0
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 0x5d
jne 0x59baaf
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx + 2]
cmp eax, 0x5d
jne 0x59baaf
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx + 4]
cmp edx, 0x3e
je 0x59bac0
mov eax, dword [ebp - 0x2008]
add eax, 2
mov dword [ebp - 0x2008], eax
jmp 0x59ba76
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
test edx, edx
jne 0x59bad4
xor eax, eax
jmp 0x59c255
cmp dword [ebp + 0xc], 0
je 0x59baff
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0
je 0x59baff
mov ecx, dword [ebp - 0x2008]
push ecx
mov edx, dword [ebp - 0x2050]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x1c]
call eax
mov eax, dword [ebp - 0x2008]
add eax, 6
jmp 0x59c255
mov ecx, dword [ebp - 0x2008]
sub ecx, 2
mov dword [ebp - 0x2008], ecx
mov edx, dword [ebp - 0x2008]
mov dword [ebp - 0x2054], edx
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
test ecx, ecx
je 0x59bb59
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
cmp eax, 0x3e
je 0x59bb59
mov ecx, dword [ebp - 0x2008]
add ecx, 2
mov dword [ebp - 0x2008], ecx
jmp 0x59bb2d
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
test eax, eax
jne 0x59bb6d
xor eax, eax
jmp 0x59c255
cmp dword [ebp + 0xc], 0
je 0x59bb98
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x24], 0
je 0x59bb98
mov edx, dword [ebp - 0x2008]
push edx
mov eax, dword [ebp - 0x2054]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x24]
call ecx
mov eax, dword [ebp - 0x2008]
add eax, 2
jmp 0x59c255
mov byte [ebp - 0x200d], 0
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
cmp eax, 0x2f
jne 0x59bbd6
mov byte [ebp - 0x200d], 1
mov ecx, dword [ebp - 0x2008]
add ecx, 2
mov dword [ebp - 0x2008], ecx
mov edx, dword [ebp - 0x2008]
mov dword [ebp - 0x201c], edx
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
test ecx, ecx
je 0x59bc54
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
cmp eax, 0x20
je 0x59bc54
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
cmp edx, 0xd
je 0x59bc54
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 0xa
je 0x59bc54
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
cmp eax, 9
je 0x59bc54
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
cmp edx, 0x3e
je 0x59bc54
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 0x2f
je 0x59bc54
mov edx, dword [ebp - 0x2008]
add edx, 2
mov dword [ebp - 0x2008], edx
jmp 0x59bbe2
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
test ecx, ecx
je 0x59bc6f
mov edx, dword [ebp - 0x2008]
cmp edx, dword [ebp - 0x201c]
jne 0x59bc76
xor eax, eax
jmp 0x59c255
movzx eax, byte [ebp - 0x200d]
test eax, eax
je 0x59bd37
cmp dword [ebp + 0xc], 0
je 0x59bcb0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x10], 0
je 0x59bcb0
mov edx, dword [ebp - 0x2008]
push edx
mov eax, dword [ebp - 0x201c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
call ecx
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
test eax, eax
je 0x59bd14
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
cmp edx, 0x20
je 0x59bcf5
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 0xd
je 0x59bcf5
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
cmp eax, 0xa
je 0x59bcf5
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
cmp edx, 9
jne 0x59bd14
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 0x3e
je 0x59bd14
mov edx, dword [ebp - 0x2008]
add edx, 2
mov dword [ebp - 0x2008], edx
jmp 0x59bcb0
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 0x3e
je 0x59bd29
xor eax, eax
jmp 0x59c255
mov eax, dword [ebp - 0x2008]
add eax, 2
jmp 0x59c255
cmp dword [ebp + 0xc], 0
je 0x59bd62
mov edx, dword [ebp + 0xc]
cmp dword [edx + 8], 0
je 0x59bd62
mov eax, dword [ebp - 0x2008]
push eax
mov ecx, dword [ebp - 0x201c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
call edx
mov eax, 1
test eax, eax
je 0x59c24f
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
test edx, edx
je 0x59bdd3
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x59bdb4
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
cmp eax, 0xd
je 0x59bdb4
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
cmp edx, 0xa
je 0x59bdb4
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 9
jne 0x59bdd3
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
cmp eax, 0x3e
je 0x59bdd3
mov ecx, dword [ebp - 0x2008]
add ecx, 2
mov dword [ebp - 0x2008], ecx
jmp 0x59bd6f
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
test eax, eax
jne 0x59bde7
xor eax, eax
jmp 0x59c255
mov byte [ebp - 0x200e], 0
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
cmp edx, 0x2f
jne 0x59be27
mov eax, dword [ebp - 0x2008]
add eax, 2
mov dword [ebp - 0x2008], eax
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
cmp edx, 0x3e
je 0x59be20
xor eax, eax
jmp 0x59c255
mov byte [ebp - 0x200e], 1
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 0x3e
jne 0x59be68
cmp dword [ebp + 0xc], 0
je 0x59be5a
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0xc], 0
je 0x59be5a
movzx eax, byte [ebp - 0x200e]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
call ecx
mov eax, dword [ebp - 0x2008]
add eax, 2
jmp 0x59c255
mov edx, dword [ebp - 0x2008]
mov dword [ebp - 0x201c], edx
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
test ecx, ecx
je 0x59bee6
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
cmp eax, 0x20
je 0x59bee6
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
cmp edx, 0xd
je 0x59bee6
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 0xa
je 0x59bee6
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
cmp eax, 9
je 0x59bee6
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
cmp edx, 0x3d
je 0x59bee6
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 0x3e
je 0x59bee6
mov edx, dword [ebp - 0x2008]
add edx, 2
mov dword [ebp - 0x2008], edx
jmp 0x59be74
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
test ecx, ecx
je 0x59bf01
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
cmp eax, 0x3e
jne 0x59bf08
xor eax, eax
jmp 0x59c255
mov ecx, dword [ebp - 0x201c]
mov dword [ebp - 0x2060], ecx
mov edx, dword [ebp - 0x2008]
mov dword [ebp - 0x205c], edx
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
test ecx, ecx
je 0x59bf84
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
cmp eax, 0x20
je 0x59bf65
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
cmp edx, 0xd
je 0x59bf65
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 0xa
je 0x59bf65
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
cmp eax, 9
jne 0x59bf84
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
cmp edx, 0x3e
je 0x59bf84
mov eax, dword [ebp - 0x2008]
add eax, 2
mov dword [ebp - 0x2008], eax
jmp 0x59bf20
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
cmp edx, 0x3d
je 0x59bf99
xor eax, eax
jmp 0x59c255
mov eax, dword [ebp - 0x2008]
add eax, 2
mov dword [ebp - 0x2008], eax
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
test edx, edx
je 0x59c00c
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x59bfed
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
cmp eax, 0xd
je 0x59bfed
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
cmp edx, 0xa
je 0x59bfed
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 9
jne 0x59c00c
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
cmp eax, 0x3e
je 0x59c00c
mov ecx, dword [ebp - 0x2008]
add ecx, 2
mov dword [ebp - 0x2008], ecx
jmp 0x59bfa8
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
test eax, eax
je 0x59c027
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
cmp edx, 0x3e
jne 0x59c02e
xor eax, eax
jmp 0x59c255
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax]
cmp ecx, 0x22
je 0x59c051
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
cmp eax, 0x27
je 0x59c051
xor eax, eax
jmp 0x59c255
mov ecx, dword [ebp - 0x2008]
mov dx, word [ecx]
mov word [ebp - 0x202c], dx
mov eax, dword [ebp - 0x2008]
add eax, 2
mov dword [ebp - 0x2008], eax
mov ecx, dword [ebp - 0x2008]
mov dword [ebp - 0x201c], ecx
mov edx, dword [ebp - 0x2008]
movzx eax, word [edx]
test eax, eax
je 0x59c0bc
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
movzx eax, word [ebp - 0x202c]
cmp edx, eax
je 0x59c0bc
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
cmp edx, 0x3e
je 0x59c0bc
mov eax, dword [ebp - 0x2008]
add eax, 2
mov dword [ebp - 0x2008], eax
jmp 0x59c07c
mov ecx, dword [ebp - 0x2008]
movzx edx, word [ecx]
movzx eax, word [ebp - 0x202c]
cmp edx, eax
je 0x59c0d7
xor eax, eax
jmp 0x59c255
lea ecx, [ebp - 0x2004]
mov dword [ebp - 0x203c], ecx
mov edx, dword [ebp - 0x201c]
mov dword [ebp - 0x2038], edx
mov eax, dword [ebp - 0x2008]
mov dword [ebp - 0x2028], eax
mov ecx, dword [ebp - 0x2038]
mov dword [ebp - 0x2024], ecx
mov edx, dword [ebp - 0x2024]
movzx eax, word [edx]
test eax, eax
je 0x59c141
mov ecx, dword [ebp - 0x2024]
movzx edx, word [ecx]
cmp edx, 0x26
je 0x59c141
mov eax, dword [ebp - 0x2024]
cmp eax, dword [ebp - 0x2028]
jae 0x59c141
mov ecx, dword [ebp - 0x2024]
add ecx, 2
mov dword [ebp - 0x2024], ecx
jmp 0x59c107
mov edx, dword [ebp - 0x2024]
cmp edx, dword [ebp - 0x2028]
je 0x59c1d9
mov eax, dword [ebp - 0x2028]
sub eax, dword [ebp - 0x2038]
sar eax, 1
cmp eax, 0x1000
jbe 0x59c1b1
mov eax, dword [ebp - 0x2028]
sub eax, dword [ebp - 0x2038]
sar eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00517c03
add esp, 4
mov dword [ebp - 0x2058], eax
mov eax, dword [ebp - 0x2058]
mov dword [ebp - 0x203c], eax
cmp dword [ebp - 0x203c], 0
jne 0x59c1b1
xor eax, eax
jmp 0x59c255
mov ecx, dword [ebp - 0x203c]
push ecx
lea edx, [ebp - 0x2028]
push edx
lea eax, [ebp - 0x2038]
push eax
call fcn.005a3cf0
add esp, 0xc
movzx ecx, al
test ecx, ecx
jne 0x59c1d9
xor eax, eax
jmp 0x59c255
cmp dword [ebp + 0xc], 0
je 0x59c212
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x14], 0
je 0x59c212
mov eax, dword [ebp - 0x2028]
push eax
mov ecx, dword [ebp - 0x2038]
push ecx
mov edx, dword [ebp - 0x205c]
push edx
mov eax, dword [ebp - 0x2060]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
call ecx
lea edx, [ebp - 0x2004]
cmp dword [ebp - 0x203c], edx
je 0x59c23b
mov eax, dword [ebp - 0x203c]
mov dword [ebp - 0x2064], eax
mov ecx, dword [ebp - 0x2064]
push ecx
call fcn.00517c15
add esp, 4
mov edx, dword [ebp - 0x2008]
add edx, 2
mov dword [ebp - 0x2008], edx
jmp 0x59bd62
mov eax, dword [ebp - 0x2008]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00517c1a
mov esp, ebp
pop ebp
ret