Function at 0x469d80
Capabilities:
Get geographical location
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4ea5e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esi, ecx
push 2
lea ecx, [ebp - 0x2c]
push ecx
xor ebx, ebx
push 0x21
lea eax, [ebp - 0x84]
push 0x400
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x44], ebx
mov dword [esi + 0x8d8], eax
call edi
test eax, eax
je 0x469def
movsx eax, byte [ebp - 0x2c]
sub eax, 0x30
je 0x469def
dec eax
je 0x469de6
dec eax
jne 0x469def
mov dword [ebp - 0x48], 2
jmp 0x469df2
mov dword [ebp - 0x48], 1
jmp 0x469df2
mov dword [ebp - 0x48], ebx
push 2
lea edx, [ebp - 0x2c]
push edx
push 0x1d
push 0x400
call edi
lea ebx, [esi + 0xc8]
push ebx
mov eax, 4
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x64], ebx
call fcn.004660d0
add esp, 4
test eax, eax
je 0x46a2ae
push 4
push 0x4eb5d0
push ebx
call fcn.004a93c0
add esp, 0xc
test eax, eax
jne 0x46a2c4
call fcn.00465720
test eax, eax
jne 0x46a2b3
movzx eax, word [esi + 0x10954]
push 2
push eax
mov edi, esi
call fcn.00466e20
add esp, 8
test eax, eax
je 0x469e70
mov dword [ebp - 0x30], eax
cmp eax, 1
jg 0x46a2b3
mov eax, dword [esi + 0x10918]
test eax, eax
je 0x469e8d
push eax
call fcn.004aa14e
add esp, 4
mov dword [esi + 0x10918], 0
movzx edi, word [esi + 0x10956]
test edi, edi
je 0x469f1f
mov eax, dword [esi + 0x10918]
test eax, eax
je 0x469eaf
push eax
call fcn.004aa14e
add esp, 4
push edi
call fcn.004aa188
add esp, 4
mov dword [esi + 0x10918], eax
test eax, eax
jne 0x469f0c
push 0x401
push edi
lea ebx, [esi + 0x8dc]
push str.warning:__extra_field_too_long___d_.__Ignoring..._n
push ebx
call fcn.004a931b
mov ecx, dword [esi + 0x10b54]
add esp, 0xc
push eax
push ebx
push esi
call ecx
mov edx, dword [esi + 0x10910]
sub edx, dword [esi + 0x10914]
sub edx, dword [esi + 0x108e4]
add edx, dword [esi + 0x108e8]
add edx, edi
push edx
call fcn.004662f0
add esp, 4
jmp 0x469f1f
push eax
mov eax, edi
call fcn.004660d0
add esp, 4
test eax, eax
je 0x46a2ae
xor edi, edi
cmp dword [esi + 0x74], edi
jne 0x469fab
mov eax, dword [esi + 0x6c]
cmp eax, edi
je 0x469f64
mov dword [ebp - 0x38], edi
jbe 0x469fab
lea ebx, [esi + 0x109f0]
lea esp, [esp]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0xc0]
mov ecx, dword [ecx + edi*4]
push eax
push ebx
push ecx
call fcn.004727e0
add esp, 0xc
cmp eax, 1
je 0x469f64
inc edi
cmp edi, dword [esi + 0x6c]
jb 0x469f40
jmp 0x469fab
xor edi, edi
mov dword [ebp - 0x38], 1
cmp dword [esi + 0x70], edi
jbe 0x469fab
lea ebx, [esi + 0x109f0]
jmp 0x469f80
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0xc4]
mov ecx, dword [edx + edi*4]
push eax
push ebx
push ecx
call fcn.004727e0
add esp, 0xc
cmp eax, 1
je 0x469fa4
inc edi
cmp edi, dword [esi + 0x70]
jb 0x469f80
jmp 0x469fab
mov dword [ebp - 0x38], 0
cmp dword [esi + 0x74], 0
jne 0x469ff7
cmp dword [ebp - 0x38], 0
jne 0x469ff7
movzx eax, word [esi + 0x10958]
test ax, ax
je 0x46a292
test eax, eax
je 0x46a292
mov ecx, dword [esi + 0x10910]
sub ecx, dword [esi + 0x10914]
sub ecx, dword [esi + 0x108e4]
add ecx, dword [esi + 0x108e8]
add ecx, eax
push ecx
call fcn.004662f0
add esp, 4
jmp 0x46a292
mov eax, dword [esi + 0x10918]
test eax, eax
je 0x46a051
mov ecx, dword [esi + 0x10944]
lea edx, [ebp - 0x28]
push edx
movzx edx, word [esi + 0x10956]
push ecx
push 1
push edx
call fcn.00465b90
add esp, 0x10
test al, 1
je 0x46a051
lea eax, [ebp - 0x20]
push eax
call fcn.004b0f79
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x46a051
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
mov dword [ebp - 0x2c], edx
cdq
mov ebx, 0x64
inc edi
idiv ebx
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
jmp 0x46a089
mov ecx, dword [esi + 0x10944]
mov eax, ecx
shr eax, 0x19
add eax, 0x50
xor edx, edx
mov edi, 0x64
div edi
mov eax, ecx
shr eax, 0x10
and eax, 0x1f
mov dword [ebp - 0x2c], eax
mov edi, ecx
mov eax, ecx
shr edi, 0x15
shr eax, 0xb
shr ecx, 5
and edi, 0xf
and eax, 0x1f
and ecx, 0x3f
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x4c], edx
je 0x46a0a7
dec eax
jne 0x46a0af
mov eax, edi
mov edi, edx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], edx
jmp 0x46a0ac
mov eax, edi
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
movzx eax, word [esi + 0x10940]
mov edx, dword [esi + 0x1094c]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x54], eax
test al, 1
je 0x46a0cc
sub edx, 0xc
mov dword [ebp - 0x34], edx
mov ecx, dword [esi + 0x10950]
test ecx, ecx
jne 0x46a106
xor eax, eax
lea ecx, [eax + 5]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp word [esi + 0x10942], 0xd
mov dword [ebp - 0x58], eax
jae 0x46a17b
movzx ebx, word [esi + 0x10942]
jmp 0x46a180
cmp ecx, 0x1e8480
jbe 0x46a137
mov eax, 0x10624dd3
mul ecx
mov ebx, edx
shr ebx, 6
mov eax, ebx
xor edx, edx
shr eax, 1
cmp ecx, dword [ebp - 0x34]
jb 0x46a12e
sub eax, dword [ebp - 0x34]
add eax, ecx
div ebx
jmp 0x46a167
sub eax, ecx
add eax, dword [ebp - 0x34]
div ebx
jmp 0x46a165
cmp ecx, edx
jb 0x46a151
mov eax, ecx
sub eax, edx
imul eax, eax, 0x3e8
mov edx, ecx
shr edx, 1
add eax, edx
xor edx, edx
div ecx
jmp 0x46a167
mov eax, edx
sub eax, ecx
imul eax, eax, 0x3e8
mov edx, ecx
shr edx, 1
add eax, edx
xor edx, edx
div ecx
neg eax
test eax, eax
jns 0x46a0d8
mov ecx, 5
sub ecx, eax
jmp 0x46a0db
mov ebx, 0xd
lea eax, [ebx*8 + str.Stored]
lea edx, [ebp - 0xc]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x46a190
cmp ebx, 8
je 0x46a1c4
cmp ebx, 9
je 0x46a1c4
cmp ebx, 0xd
jb 0x46a1d5
movzx eax, word [esi + 0x10942]
push eax
lea ecx, [ebp - 8]
push str._03u
push ecx
call fcn.004a931b
add esp, 0xc
jmp 0x46a1d5
mov eax, dword [ebp - 0x54]
shr eax, 1
and eax, 3
mov dl, byte [eax + str.NXFS]
mov byte [ebp - 7], dl
mov cl, byte [esi + 0x10940]
mov eax, dword [esi + 0x10b68]
and cl, 1
neg cl
sbb cl, cl
and cl, 0x25
add cl, 0x20
movzx edx, cl
mov ecx, dword [esi + 0x10948]
push edx
push ecx
lea edx, [ebp - 0xc]
mov dword [ebp - 0x54], eax
push edx
lea ebx, [esi + 0x8dc]
lea eax, [esi + 0x109f0]
call fcn.0046d700
push eax
mov eax, dword [esi + 0x8d8]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp - 0x5c]
and cl, 0x10
neg cl
sbb cl, cl
and cl, 0x3e
add cl, 0x20
movzx edx, cl
mov ecx, dword [ebp - 0x60]
push edx
mov edx, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x58]
push edx
mov edx, dword [ebp - 0x34]
push eax
mov eax, dword [esi + 0x10950]
push edi
push ecx
push edx
push eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x10]
call ecx
mov edx, dword [esi + 0x38]
movzx eax, word [esi + 0x10958]
neg edx
sbb edx, edx
and edx, 0xfffffffb
add edx, 5
push edx
push eax
mov edi, esi
call fcn.00466e20
add esp, 8
test eax, eax
je 0x46a280
mov dword [ebp - 0x30], eax
cmp eax, 1
jg 0x46a2b3
mov ecx, dword [esi + 0x10950]
mov edx, dword [ebp - 0x34]
add dword [ebp - 0x44], ecx
add dword [ebp - 0x50], edx
inc dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x64]
inc dword [ebp - 0x40]
push ebx
mov eax, 4
call fcn.004660d0
add esp, 4
test eax, eax
jne 0x469e27
mov eax, 0x33
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8a2f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x40]
dec eax
cmp ax, word [esi + 0x1096e]
jne 0x46a39a
cmp dword [esi + 0x38], 2
jge 0x46a334
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x44]
call fcn.0046a800
test eax, eax
jns 0x46a2f3
mov ecx, 5
sub ecx, eax
jmp 0x46a2f6
lea ecx, [eax + 5]
mov eax, 0x66666667
imul ecx
mov ecx, dword [esi + 0x10b68]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x50]
mov dword [ecx + 0x18], edx
mov ecx, dword [esi + 0x10b68]
mov edx, dword [ebp - 0x44]
mov dword [ecx + 0x1c], edx
mov ecx, dword [esi + 0x10b68]
mov dword [ecx + 0x20], eax
mov edx, dword [esi + 0x10b68]
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0x24], eax
push 4
push 0x4eb5d8
push ebx
call fcn.004a93c0
add esp, 0xc
test eax, eax
je 0x46a373
push 0x401
lea edi, [esi + 0x8dc]
push str._nnote:__didnt_find_end_of_central_dir_signature_at_end_of_central_dir._n
push edi
call fcn.004a931b
mov ecx, dword [esi + 0x10b54]
add esp, 8
push eax
push edi
push esi
call ecx
mov dword [ebp - 0x30], 1
cmp dword [ebp - 0x3c], 0
jne 0x46a386
cmp dword [ebp - 0x30], 1
jg 0x46a386
mov dword [ebp - 0x30], 0xb
mov eax, dword [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8a2f
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x40]
push 0x401
push edx
lea edi, [esi + 0x8dc]
push str.error:__expected_central_file_header_signature_not_found__file__lu_._n
push edi
call fcn.004a931b
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
push 0x401
push str.___please_check_that_you_have_transferred_or_created_the_zipfile_in_the_n__appropriate_BINARY_mode_and_that_you_have_compiled_UnZip_properly__n
push edi
call fcn.004a931b
mov ecx, dword [esi + 0x10b54]
add esp, 8
push eax
push edi
push esi
call ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 3
pop ebx
call fcn.004a8a2f
mov esp, ebp
pop ebp
ret