Function at 0x4b5f40
Capabilities:
Extract resource via kernel32 functions
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
mov eax, dword [0x58f860]
xor eax, ebp
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xf0], ecx
lea ecx, [ebp - 0x1c]
call fcn.0040ee90
lea ecx, [ebp - 0xc]
call fcn.0040ee90
push 0x558d40
push 0xd2
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x20]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x80]
call fcn.0040f2e0
cmp dword [ebp - 0x10], 0
jbe 0x4b6060
mov eax, dword [ebp - 0x10]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c8580
add esp, 4
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x84]
push eax
call fcn.00512af0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x84]
push eax
call fcn.00511ce0
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x84]
add ecx, 2
push ecx
lea ecx, [ebp - 0x80]
call fcn.00442630
push str.CityList
lea ecx, [ebp - 0x7c]
call fcn.0041cec0
lea ecx, [ebp - 0x80]
call fcn.00446e10
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
push eax
call fcn.005124eb
add esp, 4
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x74]
call fcn.0048b6d0
mov ecx, eax
call fcn.0049b190
lea ecx, [ebp - 0x18]
call fcn.0049b360
mov ecx, eax
call fcn.0049b250
mov dword [ebp - 4], eax
mov dword [ebp - 0x88], 0
jmp 0x4b60a0
mov edx, dword [ebp - 0x88]
add edx, 1
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 4]
jge 0x4b6442
lea ecx, [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0x88]
push edx
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x18]
call fcn.0049b360
mov ecx, eax
call fcn.0049b1f0
mov ecx, eax
call fcn.004a0a90
mov ecx, eax
call fcn.004a5450
mov ecx, eax
call fcn.00431490
push eax
lea ecx, [ebp - 0x8c]
call fcn.0041c8a0
lea ecx, [ebp - 0xc4]
call fcn.00431470
lea ecx, [ebp - 0xc0]
call fcn.0048b4d0
push str.Province
lea ecx, [ebp - 0x8c]
push ecx
call fcn.0041cac0
add esp, 8
movzx edx, al
test edx, edx
je 0x4b6432
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0049b360
mov ecx, eax
call fcn.0049b1f0
push ecx
mov ecx, esp
push str.Name
call fcn.0041c8a0
push ecx
mov ecx, esp
lea edx, [ebp - 0x98]
push edx
call fcn.004bf1d0
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x80]
call fcn.004473f0
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041c8e0
lea ecx, [ebp - 0xd0]
call fcn.0040f740
lea ecx, [ebp - 0x90]
push ecx
mov edx, dword [ebp - 0x88]
push edx
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x18]
call fcn.0049b360
mov ecx, eax
call fcn.0049b1f0
mov ecx, eax
call fcn.004a0a90
mov ecx, eax
call fcn.0049b190
lea ecx, [ebp - 0xd4]
call fcn.0048b4d0
lea ecx, [ebp - 0x90]
call fcn.0049b360
mov ecx, eax
call fcn.0049b250
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x9c], 0
jmp 0x4b61f5
mov ecx, dword [ebp - 0x9c]
add ecx, 1
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
cmp edx, dword [ebp - 0x94]
jge 0x4b641c
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x90]
call fcn.0049b360
mov ecx, eax
call fcn.0049b1f0
push ecx
mov ecx, esp
push str.Name
call fcn.0041c8a0
push ecx
mov ecx, esp
lea edx, [ebp - 0xa8]
push edx
call fcn.004bf1d0
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x80]
call fcn.004473f0
push eax
lea ecx, [ebp - 0xc]
call fcn.0041c8e0
lea ecx, [ebp - 0xe0]
call fcn.0040f740
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x90]
call fcn.0049b360
mov ecx, eax
call fcn.0049b1f0
mov ecx, eax
call fcn.004a0a90
mov ecx, eax
call fcn.0049b190
lea ecx, [ebp - 0xe4]
call fcn.0048b4d0
lea ecx, [ebp - 0xa4]
call fcn.0049b360
mov ecx, eax
call fcn.0049b250
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xac], 0
jmp 0x4b62d9
mov ecx, dword [ebp - 0xac]
add ecx, 1
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
cmp edx, dword [ebp - 0xa0]
jge 0x4b6401
mov eax, dword [ebp - 0xac]
push eax
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0xa4]
call fcn.0049b360
mov ecx, eax
call fcn.0049b1f0
push ecx
mov ecx, esp
push str.Name
call fcn.0041c8a0
push ecx
mov ecx, esp
lea edx, [ebp - 0xb0]
push edx
call fcn.004bf1d0
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x80]
call fcn.004473f0
lea ecx, [ebp + 0x10]
push ecx
lea edx, [ebp - 0xb4]
push edx
call fcn.0047e690
add esp, 8
movzx eax, al
test eax, eax
je 0x4b63e6
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041c8e0
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0041c8e0
lea ecx, [ebp - 0xb4]
call fcn.0040f740
lea ecx, [ebp - 0xb0]
call fcn.0048b4d0
lea ecx, [ebp - 0xa4]
call fcn.0049b340
lea ecx, [ebp - 0xa8]
call fcn.0048b4d0
lea ecx, [ebp - 0x90]
call fcn.0049b340
lea ecx, [ebp - 0x98]
call fcn.0048b4d0
lea ecx, [ebp - 0x8c]
call fcn.0040f740
lea ecx, [ebp - 0x18]
call fcn.0049b340
lea ecx, [ebp - 0x80]
call fcn.0040fcb0
lea ecx, [ebp - 0xc]
call fcn.0040f740
lea ecx, [ebp - 0x1c]
call fcn.0040f740
lea ecx, [ebp + 0x10]
call fcn.0040f740
jmp 0x4b646a
lea ecx, [ebp - 0xb4]
call fcn.0040f740
lea ecx, [ebp - 0xb0]
call fcn.0048b4d0
jmp 0x4b62ca
lea ecx, [ebp - 0xa4]
call fcn.0049b340
lea ecx, [ebp - 0xa8]
call fcn.0048b4d0
jmp 0x4b61e6
lea ecx, [ebp - 0x90]
call fcn.0049b340
lea ecx, [ebp - 0x98]
call fcn.0048b4d0
lea ecx, [ebp - 0x8c]
call fcn.0040f740
jmp 0x4b6091
lea ecx, [ebp - 0x18]
call fcn.0049b340
lea ecx, [ebp - 0x80]
call fcn.0040fcb0
lea ecx, [ebp - 0xc]
call fcn.0040f740
lea ecx, [ebp - 0x1c]
call fcn.0040f740
lea ecx, [ebp + 0x10]
call fcn.0040f740
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00512610
mov esp, ebp
pop ebp
ret 0xc