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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
mov eax, dword [0x5c0c70]
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 0x5873c0
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 0x4ddf50
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.004f4318
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.0053ef70
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.0053e160
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x84]
add ecx, 2
push ecx
lea ecx, [ebp - 0x80]
call fcn.004665a0
push str.CityList
lea ecx, [ebp - 0x7c]
call fcn.0041cec0
lea ecx, [ebp - 0x80]
call fcn.0046adf0
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
push eax
call fcn.0053e96b
add esp, 4
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x74]
call fcn.004b3040
mov ecx, eax
call fcn.004c30b0
lea ecx, [ebp - 0x18]
call fcn.004c3280
mov ecx, eax
call fcn.004c3170
mov dword [ebp - 4], eax
mov dword [ebp - 0x88], 0
jmp 0x4ddf90
mov edx, dword [ebp - 0x88]
add edx, 1
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 4]
jge 0x4de332
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.004c3280
mov ecx, eax
call fcn.004c3110
mov ecx, eax
call fcn.004c8850
mov ecx, eax
call fcn.004cb900
mov ecx, eax
call fcn.00455330
push eax
lea ecx, [ebp - 0x8c]
call fcn.0041c8a0
lea ecx, [ebp - 0xc4]
call fcn.00455310
lea ecx, [ebp - 0xc0]
call fcn.004b2e40
push str.Province
lea ecx, [ebp - 0x8c]
push ecx
call fcn.0041cac0
add esp, 8
movzx edx, al
test edx, edx
je 0x4de322
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004c3280
mov ecx, eax
call fcn.004c3110
push ecx
mov ecx, esp
push str.Name
call fcn.0041c8a0
push ecx
mov ecx, esp
lea edx, [ebp - 0x98]
push edx
call fcn.004eaae0
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x80]
call fcn.0046b3d0
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.004c3280
mov ecx, eax
call fcn.004c3110
mov ecx, eax
call fcn.004c8850
mov ecx, eax
call fcn.004c30b0
lea ecx, [ebp - 0xd4]
call fcn.004b2e40
lea ecx, [ebp - 0x90]
call fcn.004c3280
mov ecx, eax
call fcn.004c3170
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x9c], 0
jmp 0x4de0e5
mov ecx, dword [ebp - 0x9c]
add ecx, 1
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
cmp edx, dword [ebp - 0x94]
jge 0x4de30c
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x90]
call fcn.004c3280
mov ecx, eax
call fcn.004c3110
push ecx
mov ecx, esp
push str.Name
call fcn.0041c8a0
push ecx
mov ecx, esp
lea edx, [ebp - 0xa8]
push edx
call fcn.004eaae0
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x80]
call fcn.0046b3d0
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.004c3280
mov ecx, eax
call fcn.004c3110
mov ecx, eax
call fcn.004c8850
mov ecx, eax
call fcn.004c30b0
lea ecx, [ebp - 0xe4]
call fcn.004b2e40
lea ecx, [ebp - 0xa4]
call fcn.004c3280
mov ecx, eax
call fcn.004c3170
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xac], 0
jmp 0x4de1c9
mov ecx, dword [ebp - 0xac]
add ecx, 1
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
cmp edx, dword [ebp - 0xa0]
jge 0x4de2f1
mov eax, dword [ebp - 0xac]
push eax
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0xa4]
call fcn.004c3280
mov ecx, eax
call fcn.004c3110
push ecx
mov ecx, esp
push str.Name
call fcn.0041c8a0
push ecx
mov ecx, esp
lea edx, [ebp - 0xb0]
push edx
call fcn.004eaae0
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x80]
call fcn.0046b3d0
lea ecx, [ebp + 0x10]
push ecx
lea edx, [ebp - 0xb4]
push edx
call fcn.004a6090
add esp, 8
movzx eax, al
test eax, eax
je 0x4de2d6
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.004b2e40
lea ecx, [ebp - 0xa4]
call fcn.004c3260
lea ecx, [ebp - 0xa8]
call fcn.004b2e40
lea ecx, [ebp - 0x90]
call fcn.004c3260
lea ecx, [ebp - 0x98]
call fcn.004b2e40
lea ecx, [ebp - 0x8c]
call fcn.0040f740
lea ecx, [ebp - 0x18]
call fcn.004c3260
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 0x4de35a
lea ecx, [ebp - 0xb4]
call fcn.0040f740
lea ecx, [ebp - 0xb0]
call fcn.004b2e40
jmp 0x4de1ba
lea ecx, [ebp - 0xa4]
call fcn.004c3260
lea ecx, [ebp - 0xa8]
call fcn.004b2e40
jmp 0x4de0d6
lea ecx, [ebp - 0x90]
call fcn.004c3260
lea ecx, [ebp - 0x98]
call fcn.004b2e40
lea ecx, [ebp - 0x8c]
call fcn.0040f740
jmp 0x4ddf81
lea ecx, [ebp - 0x18]
call fcn.004c3260
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.0053ea90
mov esp, ebp
pop ebp
ret 0xc