Function at 0x539530
Capabilities:
Parse credit card information

Disassembly:
mov eax, 0x35ac
call fcn.005d9990
push ebx
push ebp
push esi
mov esi, dword [esp + 0x35bc]
xor eax, eax
push edi
mov dword [esp + 0x30], eax
mov dword [esi + 0x71d4], eax
lea eax, [esp + 0x50]
push 0x1068
push eax
call fcn.004232e0
lea ecx, [esp + 0x10c0]
push 0x1068
push ecx
call fcn.004232e0
lea edx, [esp + 0x2130]
push 0x1068
push edx
call fcn.004232e0
mov eax, dword [esp + 0x35dc]
add esp, 0x18
sub esi, eax
lea edx, [esi + 8]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x539593
mov ebx, dword [esp + 0x35c0]
mov eax, dword [esp + 0x35c8]
lea esi, [ebx + 0x155a]
push 0x432
push esi
mov dword [ebx + 0x1070], eax
call fcn.004232e0
lea edi, [ebx + 0x198c]
push 0x132
push edi
call fcn.004232e0
lea ecx, [ebx + 0x1abe]
push 0x132
push ecx
call fcn.004232e0
lea ebp, [ebx + 0x2ebc]
push 0x132
push ebp
call fcn.004232e0
mov al, byte [ebx + 0x108c]
add ebx, 0x108c
add esp, 0x20
test al, al
mov dword [esp + 0x40], 0
je 0x5396ff
mov eax, dword [esp + 0x35c0]
mov cl, byte [eax + 0x11be]
add eax, 0x11be
test cl, cl
je 0x5396d7
mov edx, dword [esp + 0x35c0]
push edx
push ebp
push esi
push 0
push eax
call fcn.00534630
push eax
push 0x5f4a40
push edi
call fcn.005d9929
mov eax, dword [esp + 0x35e0]
mov edi, dword [eax + 0x1424]
lea ecx, [esp + 0x31a8]
push 0x432
push ecx
call fcn.004232e0
push 0
call fcn.0053d170
add esp, 0x2c
test eax, eax
je 0x5396b6
mov esi, dword [eax + 0x594]
test esi, esi
je 0x5396b6
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x5396af
mov ebp, dword [esp + 0x35c0]
mov eax, dword [esi]
lea edx, [esp + 0x3188]
push edx
push ebp
push 0
push 0
push edi
push ebx
push eax
call fcn.00534330
add esp, 0x1c
test eax, eax
jne 0x5396c0
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x539683
mov ebp, dword [esp + 0x35c0]
lea ecx, [ecx]
mov eax, dword [0x61a710]
test eax, eax
mov dword [esp + 0x40], eax
jge 0x53972c
mov dword [esp + 0x40], 0
jmp 0x53972c
mov eax, dword [esp + 0x35c0]
mov ecx, dword [eax + 0x1424]
push eax
push ebp
push esi
push ecx
push ebx
call fcn.00534630
push eax
push 0x5f4a40
push edi
call fcn.005d9929
add esp, 0x20
jmp 0x539725
mov edx, dword [0x61a710]
push edx
push 0x5f4a40
push esi
call fcn.005d9929
mov eax, dword [0x61a710]
push eax
push 0x5f4a40
push edi
call fcn.005d9929
add esp, 0x18
mov ebp, dword [esp + 0x35c0]
mov eax, dword [0x688fc4]
mov ecx, dword [esp + 0x35cc]
xor edx, edx
cmp eax, edx
je 0x539755
mov edi, edi
cmp ecx, 1
jne 0x53974b
mov dword [eax + 0x57c], edx
mov eax, dword [eax + 0x59c]
cmp eax, edx
jne 0x539740
mov eax, dword [ebp + 0x1078]
cmp eax, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], edx
je 0x539790
push eax
call fcn.0053d1e0
add esp, 4
test eax, eax
je 0x539790
mov ecx, dword [ebp + 0x1078]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x34], ecx
mov dword [ebp + 0x1078], 0
mov edx, dword [esp + 0x35c8]
mov eax, dword [edx*4 + 0x688e88]
test eax, eax
mov dword [0x687e1c], 0
mov dword [esp + 0x10], eax
je 0x53a5f4
cmp dword [esp + 0x2c], 1
mov edi, dword [esp + 0x10]
jne 0x5397e0
mov eax, dword [esp + 0x34]
cmp dword [edi + 0x2c], eax
je 0x5397db
mov edi, dword [edi + 0x34]
test edi, edi
jne 0x5397c3
mov dword [esp + 0x10], edi
jmp 0x53a5fb
mov edi, dword [edi + 0x34]
mov dword [esp + 0x10], edi
nop
test edi, edi
je 0x53a5f4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x2c]
push ecx
call fcn.0053d1e0
add esp, 4
test eax, eax
je 0x53a5f4
test ebp, ebp
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x2c]
je 0x539830
test ecx, ecx
je 0x539830
mov eax, dword [ebp + 0x71d4]
test eax, eax
je 0x539830
lea esp, [esp]
cmp dword [eax + 0x2c], ecx
je 0x5398cc
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x539820
test edx, edx
je 0x53a5f4
jmp 0x539840
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x5398e0
mov edx, dword [edi + 0x2c]
push edx
call fcn.0053d1e0
add esp, 4
test eax, eax
je 0x53a5f4
test ebp, ebp
mov eax, edi
mov esi, dword [eax + 0x2c]
je 0x53a5f4
test esi, esi
je 0x53a5f4
mov ecx, dword [ebp + 0x71d4]
mov eax, ecx
test eax, eax
je 0x539890
cmp dword [eax + 0x2c], esi
je 0x5398b4
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x539884
push 0
push 0x5f4c90
push ecx
call fcn.004e8850
add esp, 0xc
test eax, eax
je 0x53a5f4
mov dword [ebp + 0x71d4], eax
mov ecx, dword [eax + 0x44]
mov dword [ecx + 0x2c], esi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x40]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x539840
jmp 0x53a5f4
mov eax, dword [edx + 0x34]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x5397e8
jmp 0x53a5f4
mov eax, dword [esp + 0x35c8]
cmp eax, 0x41
jne 0x539908
mov eax, dword [edi + 0x2c]
cmp dword [eax + 0x584], 1
jne 0x5397d8
mov dword [eax + 0x584], 2
jmp 0x539927
cmp eax, 0x24
jne 0x539927
mov eax, dword [edi + 0x2c]
cmp dword [eax + 0x580], 1
jne 0x5397d8
mov dword [eax + 0x580], 2
mov eax, dword [edi + 0x2c]
push eax
call fcn.0041bc20
add esp, 4
test eax, eax
je 0x53995e
mov esi, dword [esp + 0x30]
test esi, esi
je 0x53995e
nop
mov ecx, dword [edi + 0x2c]
mov edx, dword [esi]
push ecx
push edx
call fcn.005f1860
add esp, 8
test eax, eax
je 0x5397d8
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x539940
lea eax, [ebp + 0x5104]
push 0x1068
push eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x2c], eax
call fcn.004232e0
lea eax, [ebp + 0x616c]
push 0x1068
push eax
mov dword [esp + 0x30], eax
call fcn.004232e0
lea eax, [ebp + 0x12f0]
push 0x132
push eax
call fcn.004232e0
lea eax, [ebp + 0x1e54]
push 0x1068
push eax
mov dword [esp + 0x68], eax
call fcn.004232e0
lea ecx, [ebp + 0x1bf0]
push 0x132
push ecx
call fcn.004232e0
lea eax, [ebp + 0x1d22]
push 0x132
push eax
mov dword [esp + 0x44], eax
call fcn.004232e0
add esp, 0x30
mov dword [esp + 0x18], 0
mov dword [ebp + 0x1074], 0xffffffff
mov dword [ebp + 0x107c], 1
jmp 0x539a00
mov eax, dword [esp + 0x2c]
cmp eax, 1
jne 0x539a18
mov edx, dword [esp + 0x34]
cmp dword [edi + 0x2c], edx
jne 0x53a5fb
jmp 0x539a2a
cmp eax, 2
jne 0x539a2a
mov eax, dword [esp + 0x34]
cmp dword [edi + 0x2c], eax
je 0x5397d8
mov ecx, dword [edi + 0x2c]
mov dword [ebp + 0x1078], ecx
mov esi, dword [edi + 0x2c]
test esi, esi
je 0x53a5f4
mov ecx, dword [ebp + 0x71d4]
mov eax, ecx
test eax, eax
je 0x539a5c
lea ebx, [ebx]
cmp dword [eax + 0x2c], esi
je 0x539a80
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x539a50
push 0
push 0x5f4c90
push ecx
call fcn.004e8850
add esp, 0xc
test eax, eax
je 0x53a5f4
mov dword [ebp + 0x71d4], eax
mov edx, dword [eax + 0x44]
mov dword [edx + 0x2c], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 0x40]
mov ecx, dword [esp + 0x35c8]
xor edi, edi
cmp ecx, 0x48
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], edi
mov dword [ebp + 0x1080], edi
mov dword [ebp + 0x1084], edi
mov dword [ebp + 0x1088], edi
jne 0x539c45
mov eax, dword [ebp + 0x1078]
cmp dword [eax + 0x578], 1
jne 0x53a357
mov dword [eax + 0x578], 2
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x30]
mov edx, dword [esp + 0x35cc]
cmp dword [eax + 8], edx
jne 0x53a357
mov ecx, dword [eax]
lea edx, [esp + 0x10b8]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x539af3
cmp byte [esp + 0x10b8], 0x20
lea esi, [esp + 0x10b8]
jne 0x539b18
mov edi, edi
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x539b10
cmp byte [esi], 0
je 0x53a357
add esi, 3
cmp byte [esi], 0x20
jne 0x539b38
lea esp, [esp]
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x539b30
mov al, byte [esi]
test al, al
je 0x53a357
cmp al, 0x6d
je 0x539b4a
cmp al, 0x4d
jne 0x539b97
push 3
push 0x5fcc60
push esi
call fcn.005f18c9
add esp, 0xc
test eax, eax
jne 0x539b97
push ebp
call fcn.00534eb0
push eax
lea eax, [ebp + 0x108c]
push eax
call fcn.005f1860
add esp, 0xc
test eax, eax
jne 0x53a357
mov al, byte [esi + 3]
add esi, 3
cmp al, 0x20
jne 0x539b8e
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x539b86
cmp byte [esi], 0
je 0x53a357
push 0x3a
push esi
call fcn.005d9b20
add esp, 8
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x53a357
mov byte [eax], 0
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
mov dword [esp + 0x1c], eax
jne 0x539bcd
mov edi, edi
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x539bc0
mov dword [esp + 0x1c], eax
cmp byte [eax], 0
je 0x53a357
mov ebx, dword [esp + 0x40]
cmp ebx, edi
je 0x539f42
mov al, byte [ebp + 0x198c]
test al, al
lea edi, [ebp + 0x198c]
je 0x539f42
movzx ecx, al
push ecx
call fcn.005daff5
add esp, 4
test eax, eax
je 0x539f42
push edi
call fcn.005d9a55
push 0x3e
push esi
mov edi, eax
call fcn.005d9b20
add esp, 0xc
test eax, eax
je 0x539efc
push 0x3d
push esi
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x539ed9
cmp edi, ebx
jg 0x53a357
jmp 0x539f42
cmp ecx, 0x1d
jne 0x539c6f
cmp dword [esp + 0x35cc], edi
jne 0x539ad7
mov eax, dword [ebp + 0x1078]
cmp dword [eax + 0x57c], 2
je 0x53a357
jmp 0x539ad3
cmp ecx, 2
jne 0x539e90
mov esi, dword [eax + 0x30]
cmp dword [esi + 0x20], edi
je 0x539c97
lea ecx, [ebp + 8]
push ecx
call fcn.005d9a55
mov ecx, dword [esi + 0x20]
add esp, 4
cmp ecx, eax
jne 0x53a357
mov ecx, dword [esi]
lea edx, [esp + 0x10b8]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x539ca0
cmp byte [esp + 0x10b8], 0x20
lea esi, [esp + 0x10b8]
jne 0x539cc8
jmp 0x539cc0
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x539cc0
cmp byte [esi], 0
je 0x53a357
mov al, byte [esi + 4]
add esi, 4
cmp al, 0x20
jne 0x539ce8
jmp 0x539ce0
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x539ce0
cmp byte [esi], 0
je 0x53a357
push ebp
push esi
call fcn.00534fa0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x539d06
mov ebx, str.__return
cmp byte [esi], 0x20
jne 0x539d18
jmp 0x539d10
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x539d10
cmp byte [esi], 0x26
jne 0x539d28
cmp dword [ebp], 0
jne 0x53a357
inc esi
mov al, byte [esi]
test al, al
je 0x53a357
cmp al, 0x24
jne 0x539d52
cmp byte [esi + 1], 0x28
jne 0x539d52
push ebp
push 0
lea edx, [esp + 0x2128]
push edx
push esi
call fcn.00534860
add esp, 0x10
jmp 0x539d69
cmp al, 0x25
jne 0x539d78
push 0
lea eax, [esp + 0x2124]
push eax
push esi
call fcn.0058a050
add esp, 0xc
test eax, eax
je 0x53a357
lea esi, [esp + 0x2120]
push 0x24
push esi
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x539d9f
push 0x5fa03c
push esi
mov dword [ebp + 0x1088], 1
call fcn.0055aaa0
add esp, 8
mov al, byte [esi]
cmp al, 0x2a
jne 0x539dac
mov cl, byte [esi + 1]
test cl, cl
je 0x539dd4
movzx ecx, al
push ecx
call fcn.005daff5
add esp, 4
test eax, eax
je 0x539e1f
lea edx, [ebp + 8]
push edx
call fcn.005d9a55
push esi
mov edi, eax
call fcn.005d9a55
add esp, 8
cmp eax, edi
jne 0x539e1f
lea edx, [esp + 0x50]
mov eax, ebx
sub edx, ebx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x539de0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push ebp
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.005350d0
mov edx, dword [esp + 0x2c]
mov al, byte [edx]
add esp, 0x18
test al, al
jne 0x53a56d
jmp 0x53a357
movzx eax, byte [ebp + 8]
lea edi, [ebp + 8]
push eax
call fcn.005daff5
add esp, 4
test eax, eax
jne 0x53a357
push edi
push esi
call fcn.005f1860
add esp, 8
test eax, eax
jne 0x53a357
lea edx, [esp + 0x50]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x539e51
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push ebp
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x20]
push edx
push eax
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.005350d0
mov eax, dword [esp + 0x2c]
mov cl, byte [eax]
add esp, 0x18
test cl, cl
jne 0x53a56d
jmp 0x53a357
cmp ecx, 1
jne 0x539ad7
mov ecx, dword [eax + 0x30]
mov ecx, dword [ecx]
lea edx, [esp + 0x10b8]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x539ea5
cmp byte [esp + 0x10b8], 0x20
lea esi, [esp + 0x10b8]
jne 0x539ec8
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x539ec0
cmp byte [esi], 0
je 0x53a357
add esi, 5
jmp 0x539b24
push 0x3c
push esi
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x539ef2
cmp edi, ebx
je 0x53a357
jmp 0x539f42
cmp edi, ebx
jge 0x53a357
jmp 0x539f42
push 0x3c
push esi
call fcn.005d9b20
add esp, 8
test eax, eax
push 0x3d
push esi
je 0x539f2e
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x539f24
cmp edi, ebx
jl 0x53a357
jmp 0x539f42
cmp edi, ebx
jle 0x53a357
jmp 0x539f42
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x539f42
cmp edi, ebx
jne 0x53a357
push 0x26
push esi
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x539f5b
cmp dword [ebp], 0
jne 0x53a357
push 0x2b
push esi
call fcn.005d9b20
add esp, 8
test eax, eax
mov edi, 1
je 0x539f73
mov dword [esp + 0x38], edi
push 0x21
push esi
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x539f88
mov dword [ebp + 0x1080], edi
push 0x40
push esi
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x539f9d
mov dword [ebp + 0x1084], edi
push 0x24
push esi
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x539fb2
mov dword [ebp + 0x1088], edi
lea ebx, [ebp + 0x1abe]
push 0x132
push ebx
mov dword [esp + 0x44], ebx
call fcn.004232e0
mov al, byte [esi]
add esp, 8
test al, al
mov edi, esi
je 0x53a031
mov ecx, dword [esp + 0x1c]
cmp edi, ecx
jae 0x53a031
mov al, byte [edi]
cmp al, 0x24
je 0x539ffc
cmp al, 0x26
je 0x539ffc
cmp al, 0x2b
je 0x539ffc
cmp al, 0x40
je 0x539ffc
cmp al, 0x21
je 0x539ffc
cmp al, 0x2a
je 0x539ffc
cmp al, 0x5e
je 0x539ffc
cmp al, 0x20
jne 0x53a006
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x539fd6
jmp 0x53a031
push 0x100
push 4
push edi
call fcn.00425670
push edi
push 0x132
push ebx
call fcn.00425550
push 0x21
push ebx
call fcn.005d9b20
add esp, 0x20
test eax, eax
je 0x53a031
mov byte [eax], 0
mov edx, dword [esp + 0x14]
cmp byte [edx], 0
jne 0x53a053
push 0x2a
push esi
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x53a053
mov word [ebx], 0x2a
jmp 0x53a17e
cmp byte [ebx], 0
je 0x53a357
lea esi, [ebp + 0x155a]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x53a067
sub eax, edx
add eax, esi
mov dword [esp + 0x4c], eax
xor ebx, ebx
cmp byte [esi], 0x20
jne 0x53a088
lea ecx, [ecx]
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x53a080
mov al, byte [esi]
test al, al
je 0x53a357
cmp al, 0x3d
jne 0x53a09d
mov ebx, 1
jmp 0x53a0a9
cmp al, 0x2b
jne 0x53a0b6
mov dword [esp + 0x38], 1
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x53a092
jmp 0x53a357
cmp byte [esi], 0
je 0x53a357
push 0x2c
push esi
call fcn.005d9b20
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x53a0d4
mov byte [ebp], 0
mov edi, dword [esp + 0x35c0]
add edi, 0x198c
mov edx, edi
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x53a0e7
mov eax, dword [esp + 0x3c]
movzx ecx, byte [eax]
push ecx
call fcn.005daff5
add esp, 4
test eax, eax
je 0x53a1d4
movzx edx, byte [edi]
push edx
call fcn.005daff5
add esp, 4
test eax, eax
je 0x53a1f6
push edi
call fcn.005d9a55
mov edi, eax
mov eax, dword [esp + 0x40]
push eax
call fcn.005d9a55
mov esi, eax
mov eax, dword [esp + 0x1c]
mov cl, byte [eax]
add esp, 8
test cl, cl
je 0x53a149
push eax
call fcn.005d9a55
add esp, 4
jmp 0x53a14b
xor eax, eax
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x53a15b
cmp edi, esi
jne 0x53a1f6
cmp esi, eax
jle 0x53a1f6
test ebx, ebx
je 0x53a16e
cmp edi, esi
jmp 0x53a1f4
cmp edi, esi
jl 0x53a1f6
test ebp, ebp
je 0x53a17e
mov byte [ebp], 0x2c
mov ebx, dword [esp + 0x35c0]
mov esi, dword [esp + 0x1c]
push ebx
push esi
call fcn.00534fa0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x53a19e
mov ebp, str.__return
mov eax, dword [esp + 0x35c8]
mov edi, 1
cmp eax, edi
jne 0x53a4ef
mov al, byte [esi]
cmp al, 0x24
jne 0x53a222
cmp byte [esi + 1], 0x28
jne 0x53a222
push ebx
push 0
lea eax, [esp + 0x2128]
push eax
push esi
call fcn.00534860
add esp, 0x10
jmp 0x53a239
movzx ecx, byte [edi]
push ecx
call fcn.005daff5
add esp, 4
test eax, eax
jne 0x53a1f6
mov edx, dword [esp + 0x3c]
push esi
push edx
call fcn.005f1860
add esp, 8
test eax, eax
je 0x53a176
test ebp, ebp
je 0x53a357
lea esi, [ebp + 1]
mov byte [ebp], 0x2c
cmp byte [esi], 0
je 0x53a357
cmp esi, dword [esp + 0x4c]
jae 0x53a357
mov ebx, 1
jmp 0x53a078
cmp al, 0x25
jne 0x53a24c
push 0
lea ecx, [esp + 0x2124]
push ecx
push esi
call fcn.0058a050
add esp, 0xc
test eax, eax
je 0x53a357
lea esi, [esp + 0x2120]
mov dword [esp + 0x1c], esi
cmp byte [esi], 0x2a
jne 0x53a2a3
mov al, byte [esi + 1]
test al, al
jne 0x53a2a3
lea edx, [esp + 0x50]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x53a260
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
push ebx
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x20]
push eax
push ecx
push edx
lea eax, [esp + 0x64]
push eax
call fcn.005350d0
mov ecx, dword [esp + 0x2c]
mov al, byte [ecx]
add esp, 0x18
test al, al
je 0x53a357
movzx edx, al
push edx
jmp 0x53a556
push 0x2a
push esi
call fcn.005d9b20
add esp, 8
test eax, eax
jne 0x53a2c5
push 0x3f
push esi
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x53a41e
push ebx
lea eax, [ebx + 8]
push eax
push esi
call fcn.00534940
add esp, 0xc
test eax, eax
je 0x53a41e
lea edx, [esp + 0x50]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x53a2e3
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push ebx
push esi
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.005350d0
mov edx, dword [esp + 0x2c]
mov al, byte [edx]
add esp, 0x18
test al, al
je 0x53a32d
movzx eax, al
push eax
call fcn.005daff5
add esp, 4
test eax, eax
jne 0x53a32d
mov dword [esp + 0x44], edi
cmp dword [esp + 0x18], esi
jne 0x53a34b
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x50]
lea eax, [esp + 0x50]
sub edx, ecx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x53a341
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x53a566
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x53a5bf
mov ebx, dword [esp + 0x35c0]
mov edx, dword [eax + 0x2c]
cmp edx, dword [ebx + 0x1078]
mov ebp, dword [esp + 0x14]
je 0x53a386
cmp byte [ebp], 0
jne 0x53a566
mov edx, dword [ebx + 0x107c]
test edx, edx
je 0x53a641
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
je 0x53a5ed
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x53a5af
mov eax, dword [edi + 0x40]
test eax, eax
je 0x53a660
mov esi, dword [edi + 0x2c]
cmp dword [eax + 0x2c], esi
je 0x53a40e
test esi, esi
je 0x53a5ed
mov ecx, dword [ebx + 0x71d4]
mov eax, ecx
test eax, eax
je 0x53a3e0
cmp dword [eax + 0x2c], esi
je 0x53a404
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x53a3d4
push 0
push 0x5f4c90
push ecx
call fcn.004e8850
add esp, 0xc
test eax, eax
je 0x53a5ed
mov dword [ebx + 0x71d4], eax
mov eax, dword [eax + 0x44]
mov dword [eax + 0x2c], esi
cmp byte [ebp], 0
jne 0x53a566
mov edi, dword [edi + 0x40]
test edi, edi
mov dword [esp + 0x10], edi
jne 0x53a3a2
jmp 0x53a5ed
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x53a423
sub eax, edx
lea esi, [ebx + 8]
mov edi, eax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x53a436
sub eax, edx
cmp eax, edi
jb 0x53a357
mov edx, dword [esp + 0x1c]
push edi
push esi
push edx
call fcn.005f18c9
add esp, 0xc
test eax, eax
jne 0x53a357
mov al, byte [esi + edi]
test al, al
je 0x53a46d
cmp al, 0x20
jne 0x53a357
lea edx, [esp + 0x50]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x53a475
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push ebx
push esi
lea eax, [esp + 0x20]
push eax
push ecx
push edx
lea eax, [esp + 0x64]
push eax
call fcn.005350d0
mov ecx, dword [esp + 0x2c]
mov al, byte [ecx]
add esp, 0x18
test al, al
je 0x53a4c3
movzx edx, al
push edx
call fcn.005daff5
add esp, 4
test eax, eax
jne 0x53a4c3
mov dword [esp + 0x44], 1
cmp dword [esp + 0x18], esi
jne 0x53a34b
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x50]
lea eax, [esp + 0x50]
sub edx, ecx
jmp 0x53a4e0
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x53a4e0
jmp 0x53a34b
cmp byte [esi], 0x2a
jne 0x53a4fb
mov al, byte [esi + 1]
test al, al
je 0x53a510
lea edx, [ebx + 8]
push edx
push esi
call fcn.005f1860
add esp, 8
test eax, eax
jne 0x53a357
lea edx, [esp + 0x50]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x53a518
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push ebx
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.005350d0
mov edx, dword [esp + 0x2c]
mov al, byte [edx]
add esp, 0x18
test al, al
je 0x53a357
movzx eax, al
push eax
call fcn.005daff5
add esp, 4
test eax, eax
jne 0x53a357
mov ebp, dword [esp + 0x35c0]
mov ecx, dword [ebp + 0x1078]
push ecx
call fcn.0041bc20
add esp, 4
test eax, eax
je 0x53a681
mov eax, dword [ebp + 0x1078]
mov edx, dword [esp + 0x30]
mov esi, dword [eax + 0x598]
push 0
push 1
push eax
push edx
call fcn.004e9380
add esp, 0x10
test eax, eax
je 0x53a5f4
mov dword [esp + 0x30], eax
jmp 0x53a683
mov ebp, dword [esp + 0x35c0]
mov edi, dword [esp + 0x10]
jmp 0x539a00
mov ecx, dword [esp + 0x14]
cmp byte [ecx], 0
je 0x53a5ed
mov edx, dword [esp + 0x35cc]
mov eax, dword [esp + 0x35c0]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x35cc]
push eax
push ecx
push edx
call fcn.005391e0
add esp, 0x10
mov ebp, dword [esp + 0x35c0]
cmp dword [esp + 0x2c], 1
jne 0x53a61d
mov edx, dword [esp + 0x35c8]
mov edi, dword [edx*4 + 0x688e88]
test edi, edi
mov dword [esp + 0x2c], 2
mov dword [esp + 0x10], edi
jne 0x5397e8
add ebp, 0x71d4
push ebp
call fcn.004e8c50
lea eax, [esp + 0x34]
push eax
call fcn.004e8c50
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x35ac
ret
cmp byte [ebp], 0
jne 0x53a566
mov eax, dword [ecx + 0x34]
mov ebp, dword [esp + 0x35c0]
mov dword [esp + 0x10], eax
mov edi, eax
jmp 0x5397e0
cmp byte [ebp], 0
je 0x53a5ed
mov ecx, dword [esp + 0x35cc]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x35c8]
push ecx
push ebx
push edx
push eax
jmp 0x53a5e5
xor esi, esi
mov eax, dword [esp + 0x35cc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x35c8]
push eax
push ebp
push ecx
push edx
call fcn.005391e0
add esp, 0x10
test esi, esi
je 0x53a6bc
push esi
call fcn.0041bbb0
mov ecx, dword [ebp + 0x1078]
add esp, 4
cmp ecx, eax
jne 0x539790
mov eax, dword [0x687e1c]
test eax, eax
jne 0x539790
mov eax, dword [ebp + 0x1078]
push eax
call fcn.0053d1e0
add esp, 4
test eax, eax
je 0x539790
mov esi, dword [esp + 0x10]
push esi
call fcn.0053cf20
add esp, 4
test eax, eax
je 0x539790
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x10], ecx
mov edi, ecx
jmp 0x5397e0