Function at 0x50a7b0
Capabilities:
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x50b6cb
sub esp, 0x84
movzx eax, word [esp + 0x90]
test ax, 2
jne 0x50b61a
lea eax, [0x77ef60]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
movzx ecx, word [esp + 0x90]
mov word [eax], cx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0x1c], ecx
mov edx, dword [0xa08230]
lea ebx, [eax + 0x18]
test edx, edx
jne 0x50b5f0
mov edx, dword [esp + 0x88]
mov dword [eax + 0x18], edx
mov ebx, ecx
mov ebp, edx
xor esi, esi
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x74], ecx
mov ecx, ebx
jmp 0x50a85e
mov esi, eax
mov edi, ebx
mov dword [esp + 0x74], ebp
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
mov eax, ecx
mov ecx, edx
mov edx, eax
mov eax, dword [esp + 0x70]
test ecx, ecx
je 0x50b4c8
mov dword [esp + 0x50], ecx
mov dword [esp + 0x78], edx
xchg esi, eax
mov byte [esp + 0x3b], al
xchg esi, eax
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 0x2e
xchg ebp, eax
ja 0x50abcb
xchg ebp, eax
cmp al, 0x28
xchg ebp, eax
ja 0x50aa27
xchg ebp, eax
cmp al, 0x24
xchg ebp, eax
jne 0x50a8ef
movzx ebp, word [eax]
test bp, 0x10
je 0x50a8e0
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005079b0
mov eax, dword [esp + 8]
movzx ecx, word [eax + 2]
or ecx, 0x100
mov word [eax + 2], cx
mov ecx, dword [esp + 0x50]
dec ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
mov ebx, dword [esp + 0x78]
add ecx, ebx
movzx eax, byte [esp + 0x3b]
xor ebx, ebx
xor ebp, ebp
jmp 0x50a83a
mov dword [esp], eax
mov byte [esp + 4], 8
call fcn.005079b0
jmp 0x50a8bd
xchg ebp, eax
cmp al, 0x28
xchg ebp, eax
jne 0x50a9b5
movzx ebp, word [eax]
test bp, 0x40
je 0x50a914
cmp ecx, 2
jl 0x50a914
movzx ebp, byte [edx + 1]
xchg ebp, eax
cmp al, 0x3f
xchg ebp, eax
je 0x50a95f
mov ecx, dword [eax + 0x14]
inc ecx
mov dword [eax + 0x14], ecx
mov dword [esp], eax
mov byte [esp + 4], pe_nt_image_headers32
call fcn.005079b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x30], edx
mov eax, dword [esp + 0x50]
lea edx, [eax - 1]
mov eax, edx
neg edx
sar edx, 0x1f
and edx, 1
mov ebx, dword [esp + 0x78]
add edx, ebx
mov ecx, edx
xor ebx, ebx
xor ebp, ebp
mov edx, eax
movzx eax, byte [esp + 0x3b]
jmp 0x50a83a
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0050b900
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
test edx, edx
jne 0x50a995
mov edx, ebx
mov ecx, eax
movzx eax, byte [esp + 0x3b]
xor ebx, ebx
xor ebp, ebp
jmp 0x50a83a
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ecx
add esp, 0x84
ret
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0050f7c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test ebx, ebx
jne 0x50aa07
mov dword [esp + 0x58], ecx
mov dword [esp + 0x3c], ebp
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00507960
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x58]
movzx eax, byte [esp + 0x3b]
xor ebx, ebx
xor ebp, ebp
jmp 0x50a83a
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], edx
add esp, 0x84
ret
xchg ebp, eax
cmp al, 0x29
xchg ebp, eax
je 0x50ab6d
lea ebx, [ebp - 0x2a]
cmp bl, 1
jbe 0x50aa9d
xchg ebp, eax
cmp al, 0x2e
xchg ebp, eax
jne 0x50aa91
movzx ebx, word [eax]
test bx, 8
je 0x50aa82
mov dword [esp], eax
mov byte [esp + 4], 6
call fcn.005079b0
mov esi, dword [esp + 0x50]
lea edx, [esi - 1]
mov esi, edx
neg edx
sar edx, 0x1f
and edx, 1
mov eax, esi
mov esi, dword [esp + 0x78]
lea ecx, [esi + edx]
mov edx, eax
movzx eax, byte [esp + 0x3b]
xor ebx, ebx
xor ebp, ebp
jmp 0x50a83a
mov dword [esp], eax
mov byte [esp + 4], 5
call fcn.005079b0
jmp 0x50aa58
mov ebx, dword [esp + 0x8c]
jmp 0x50a9b5
xchg ebp, eax
cmp al, 0x2a
xchg ebp, eax
jne 0x50ab44
mov ebx, 0xe
mov byte [esp + 0x3b], bl
mov dword [esp], eax
mov byte [esp + 4], bl
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
lea ebp, [ecx - 1]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add ebp, edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edi
call fcn.00507a70
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
test ecx, ecx
jne 0x50ab24
mov ecx, ebx
movzx eax, byte [esp + 0x3b]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x78]
jmp 0x50a83a
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
add esp, 0x84
ret
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x50ab55
mov ebx, 0xf
jmp 0x50aaad
xchg ebp, eax
cmp al, 0x3f
xchg ebp, eax
jne 0x50ab66
mov ebx, 0x10
jmp 0x50aaad
mov ebx, esi
jmp 0x50aaad
mov dword [esp], eax
call fcn.0050c7c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x50abab
mov esi, dword [esp + 0x50]
lea edx, [esi - 1]
mov esi, edx
neg edx
sar edx, 0x1f
and edx, 1
mov eax, esi
mov esi, dword [esp + 0x78]
lea ecx, [esi + edx]
mov edx, eax
movzx eax, byte [esp + 0x3b]
xor ebx, ebx
xor ebp, ebp
jmp 0x50a83a
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x84
ret
xchg ebp, eax
cmp al, 0x5c
xchg ebp, eax
ja 0x50b23b
xchg ebp, eax
cmp al, 0x3f
xchg ebp, eax
je 0x50aa9d
xchg ebp, eax
cmp al, 0x5b
xchg ebp, eax
je 0x50b1e7
xchg ebp, eax
cmp al, 0x5c
xchg ebp, eax
jne 0x50a9b5
movzx ebp, word [eax]
test bp, 0x40
je 0x50ac36
cmp ecx, 2
jl 0x50ac36
movzx ebp, byte [edx + 1]
xchg ebp, eax
cmp al, 0x43
xchg ebp, eax
ja 0x50b04a
xchg ebp, eax
cmp al, 0x41
xchg ebp, eax
je 0x50b016
xchg ebp, eax
cmp al, 0x42
xchg ebp, eax
je 0x50afe2
xchg ebp, eax
cmp al, 0x43
xchg ebp, eax
je 0x50af44
mov edi, dword [eax + 0x10]
lea ebp, [eax + 0x10]
mov dword [esp + 0x80], ebp
test edi, edi
je 0x50af1c
mov dword [esp + 0x68], edi
mov ebx, dword [0xa08230]
mov esi, dword [edi + 0x10]
test ebx, ebx
jne 0x50aee4
mov dword [eax + 0x10], esi
mov ebx, eax
xor eax, eax
call fcn.0044d9b1
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x6c], ecx
mov byte [ecx], 4
movzx esi, word [ebx]
mov word [ecx + 2], si
mov esi, dword [esp + 0x50]
cmp esi, 2
jl 0x50aca1
movzx edi, byte [edx + 1]
xchg edi, eax
cmp al, 0x70
xchg edi, eax
je 0x50ae08
xchg edi, eax
cmp al, 0x50
xchg edi, eax
je 0x50ae08
lea eax, [ecx + 0x20]
test byte [eax], al
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 2
call fcn.0050d1d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
test ecx, ecx
je 0x50ad3c
mov dword [esp + 0x48], edx
mov dword [esp + 0x5c], ebx
mov esi, dword [esp + 0x6c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebp
mov eax, dword [0xa08230]
lea ebp, [esi + 0x14]
test eax, eax
jne 0x50ad2a
mov dword [esi + 0x14], ecx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.00507240
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
movzx eax, byte [esp + 0x3b]
xor ebx, ebx
xor ebp, ebp
jmp 0x50a83a
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.0040f250
mov esi, dword [esp + 0x6c]
jmp 0x50ad04
mov eax, dword [0xa08230]
mov ecx, dword [esp + 0x6c]
lea edx, [ecx + 0x10]
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx + 0x10]
test eax, eax
jne 0x50addc
mov dword [ecx + 0x10], ebp
mov dword [ebx + 0x10], ecx
mov dword [esp], ebx
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
call fcn.0050ca60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x50adbc
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00507960
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x58]
movzx eax, byte [esp + 0x3b]
xor ebx, ebx
xor ebp, ebp
jmp 0x50a83a
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ebx
add esp, 0x84
ret
mov dword [esp], edx
mov dword [esp + 4], ebp
call fcn.0040f250
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.0040f250
mov ebx, dword [esp + 0x70]
jmp 0x50ad5e
lea eax, [ecx + 0x20]
test byte [eax], al
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 2
call fcn.0050d790
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
test ecx, ecx
jne 0x50aec4
test edi, edi
je 0x50aeaf
mov dword [esp + 0x40], edx
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x6c]
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], ebp
mov ecx, dword [0xa08230]
lea ebp, [eax + 0x14]
test ecx, ecx
jne 0x50ae9d
mov dword [eax + 0x14], edi
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00507240
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x64]
movzx eax, byte [esp + 0x3b]
xor ebx, ebx
xor ebp, ebp
jmp 0x50a83a
mov dword [esp], ebp
mov dword [esp + 4], edi
call fcn.0040f250
mov eax, dword [esp + 0x6c]
jmp 0x50ae77
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x50]
jmp 0x50aca1
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
add esp, 0x84
ret
mov dword [esp], ebp
mov dword [esp + 4], esi
call fcn.0040f250
lea eax, [0x78ab00]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
call fcn.0040f760
xor eax, eax
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x80]
jmp 0x50ac6c
lea eax, [0x78ab00]
mov dword [esp], eax
call fcn.0040e9e0
mov ecx, dword [esp + 4]
xor eax, eax
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x80]
jmp 0x50ac70
lea eax, [0x763f20]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov dword [eax + 4], 0x17
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x50afca
lea ecx, [0x7bdb18]
mov dword [eax], ecx
mov dword [eax + 0xc], 2
mov ecx, dword [0xa08230]
lea edx, [eax + 8]
test ecx, ecx
jne 0x50afb4
mov ecx, dword [esp + 0x78]
mov dword [eax + 8], ecx
mov dword [esp + 0x94], 0
lea ecx, [0x800ca0]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
add esp, 0x84
ret
mov dword [esp], edx
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x50af8e
mov dword [esp], eax
lea ecx, [0x7bdb18]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x50af73
mov dword [esp], eax
mov byte [esp + 4], 0xc
call fcn.005079b0
mov eax, dword [esp + 0x50]
lea edx, [eax - 2]
mov eax, edx
neg edx
sar edx, 0x1f
and edx, 2
mov ecx, dword [esp + 0x78]
add ecx, edx
mov edx, eax
movzx eax, byte [esp + 0x3b]
xor ebx, ebx
xor ebp, ebp
jmp 0x50a83a
mov dword [esp], eax
mov byte [esp + 4], 9
call fcn.005079b0
mov eax, dword [esp + 0x50]
lea edx, [eax - 2]
mov eax, edx
neg edx
sar edx, 0x1f
and edx, 2
mov ecx, dword [esp + 0x78]
add ecx, edx
mov edx, eax
movzx eax, byte [esp + 0x3b]
xor ebx, ebx
xor ebp, ebp
jmp 0x50a83a
xchg ebp, eax
cmp al, 0x51
xchg ebp, eax
je 0x50b0cb
xchg ebp, eax
cmp al, 0x62
xchg ebp, eax
je 0x50b097
xchg ebp, eax
cmp al, 0x7a
xchg ebp, eax
jne 0x50ac36
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005079b0
mov eax, dword [esp + 0x50]
lea edx, [eax - 2]
mov eax, edx
neg edx
sar edx, 0x1f
and edx, 2
mov ecx, dword [esp + 0x78]
add ecx, edx
mov edx, eax
movzx eax, byte [esp + 0x3b]
xor ebx, ebx
xor ebp, ebp
jmp 0x50a83a
mov dword [esp], eax
mov byte [esp + 4], 0xb
call fcn.005079b0
mov eax, dword [esp + 0x50]
lea edx, [eax - 2]
mov eax, edx
neg edx
sar edx, 0x1f
and edx, 2
mov ecx, dword [esp + 0x78]
add ecx, edx
mov edx, eax
movzx eax, byte [esp + 0x3b]
xor ebx, ebx
xor ebp, ebp
jmp 0x50a83a
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [0x7b52dc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
call fcn.004e0a60
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x50b19c
mov ecx, dword [esp + 0x50]
add ecx, 0xfffffffe
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 2
mov ebx, dword [esp + 0x78]
add ecx, ebx
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], ebx
jmp 0x50b142
mov dword [esp + 0x44], edx
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.00507960
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x60]
test edx, edx
je 0x50b18a
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0050f7c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
test ecx, ecx
je 0x50b11a
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
add esp, 0x84
ret
mov edx, eax
mov ecx, ebx
movzx eax, byte [esp + 0x3b]
xor ebx, ebx
xor ebp, ebp
jmp 0x50a83a
cmp eax, 2
jb 0x50b6bd
mov ecx, dword [esp + 0x50]
cmp eax, ecx
ja 0x50b6bd
lea edx, [eax - 2]
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 2
mov ebp, dword [esp + 0x78]
add edx, ebp
lea esi, [eax + 2]
cmp esi, ecx
ja 0x50b6b6
sub ecx, esi
mov eax, ecx
neg ecx
sar ecx, 0x1f
and ecx, esi
add ebp, ecx
mov ecx, edx
mov edx, ebx
mov ebx, ebp
jmp 0x50b110
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0050df80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
test ecx, ecx
jne 0x50b21b
mov ecx, ebx
movzx eax, byte [esp + 0x3b]
xor ebx, ebx
xor ebp, ebp
jmp 0x50a83a
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
add esp, 0x84
ret
xchg ebp, eax
cmp al, 0x5e
xchg ebp, eax
jne 0x50b292
movzx ebp, word [eax]
test bp, 0x10
je 0x50b283
mov dword [esp], eax
mov byte [esp + 4], 9
call fcn.005079b0
mov esi, dword [esp + 0x50]
lea edx, [esi - 1]
mov esi, edx
neg edx
sar edx, 0x1f
and edx, 1
mov eax, esi
mov esi, dword [esp + 0x78]
lea ecx, [esi + edx]
mov edx, eax
movzx eax, byte [esp + 0x3b]
xor ebx, ebx
xor ebp, ebp
jmp 0x50a83a
mov dword [esp], eax
mov byte [esp + 4], 7
call fcn.005079b0
jmp 0x50b259
xchg ebp, eax
cmp al, 0x7b
xchg ebp, eax
je 0x50b302
xchg ebp, eax
cmp al, 0x7c
xchg ebp, eax
jne 0x50a9b5
mov dword [esp], eax
call fcn.0050c160
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x50b2e2
mov esi, dword [esp + 0x50]
lea edx, [esi - 1]
mov esi, edx
neg edx
sar edx, 0x1f
and edx, 1
mov eax, esi
mov esi, dword [esp + 0x78]
lea ecx, [esi + edx]
mov edx, eax
movzx eax, byte [esp + 0x3b]
xor ebx, ebx
xor ebp, ebp
jmp 0x50a83a
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
add esp, 0x84
ret
mov dword [esp + 0x4c], edi
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0050b6e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
movzx edx, byte [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
test dl, dl
jne 0x50b36a
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 0x7b
call fcn.00507960
mov eax, dword [esp + 0x50]
lea edx, [eax - 1]
mov eax, edx
neg edx
sar edx, 0x1f
and edx, 1
mov ecx, dword [esp + 0x78]
add ecx, edx
mov edx, eax
mov eax, 0x11
xor ebx, ebx
xor ebp, ebp
jmp 0x50a83a
cmp eax, 0x3e8
ja 0x50b416
cmp ecx, 0x3e8
jg 0x50b416
test ecx, ecx
jl 0x50b38d
cmp eax, ecx
jg 0x50b416
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov byte [esp + 4], 0x11
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x24], ebx
call fcn.00507a70
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
test ecx, ecx
jne 0x50b3f6
mov ecx, ebx
mov eax, 0x11
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x78]
jmp 0x50a83a
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
add esp, 0x84
ret
mov eax, dword [esp + 0x50]
mov ecx, eax
sub eax, ebx
cmp eax, ecx
ja 0x50b6c4
mov dword [esp + 0x54], eax
lea eax, [0x763f20]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov dword [eax + 4], 0x14
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x50b4b0
lea ecx, [0x7bc1c1]
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 8]
test ecx, ecx
jne 0x50b49a
mov ecx, dword [esp + 0x78]
mov dword [eax + 8], ecx
mov dword [esp + 0x94], 0
lea ecx, [0x800ca0]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
add esp, 0x84
ret
mov dword [esp], edx
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x50b474
mov dword [esp], eax
lea ecx, [0x7bc1c1]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x50b459
mov dword [esp], eax
call fcn.005080f0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0050c4a0
movzx eax, byte [esp + 4]
test al, al
je 0x50b5e7
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
dec edx
cmp edx, ecx
ja 0x50b6af
mov dword [eax + 8], edx
mov dword [esp], eax
call fcn.00508260
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
cmp ecx, 1
je 0x50b5c1
lea eax, [0x763f20]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov dword [eax + 4], 0x11
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x50b5a9
lea ecx, [0x7ba708]
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 8]
test ecx, ecx
jne 0x50b590
mov ecx, dword [esp + 0x88]
mov dword [eax + 8], ecx
mov dword [esp + 0x94], 0
lea ecx, [0x800ca0]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
add esp, 0x84
ret
mov dword [esp], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x50b56a
mov dword [esp], eax
lea ecx, [0x7ba708]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x50b549
mov eax, dword [eax]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x84
ret
mov eax, dword [esp + 0x70]
jmp 0x50b4ff
mov dword [esp], ebx
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
jmp 0x50a828
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
call fcn.0050f690
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x50b660
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
add esp, 0x84
ret
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
movzx eax, word [esp + 0x90]
mov word [esp + 8], ax
call fcn.0050a5d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x84
ret
call fcn.004269c0
ud2
call fcn.004269c0
ud2
call fcn.004269c0
ud2
call fcn.004269c0
ud2
call fcn.0044be50
jmp fcn.0050a7b0