joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48bbd0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543130
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x58f860]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov dword [eax], vtable.CCloudConfigBase_class_CMagictrayCloudConfig_.0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x8c], 0
je 0x48bc8c
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x6c
call fcn.004413d0
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x88], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x6c
call fcn.004413f0
push 0x64
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x8c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x48bc66
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x48bc85
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x90], 0
je 0x48bca8
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x90]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
add ecx, 0xa0
call fcn.0040f740
mov ecx, dword [ebp - 0x18]
add ecx, 0x9c
call fcn.0040f740
mov ecx, dword [ebp - 0x18]
add ecx, 0x98
call fcn.0040f740
mov ecx, dword [ebp - 0x18]
add ecx, 0x94
call fcn.0040f740
mov ecx, dword [ebp - 0x18]
add ecx, 0x6c
call fcn.0048bd10
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.0040f740
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48d090
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x58f860]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.00512af0
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x48d110
cmp dword [ebp - 0x11c], 5
jae 0x48d104
cmp dword [ebp - 0x11c], 4
jne 0x48d110
cmp dword [ebp - 0x118], 0x5a
jb 0x48d110
mov dword [ebp - 0x128], 0
jmp 0x48d11a
mov dword [ebp - 0x128], 1
mov al, byte [ebp - 0x128]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00512610
mov esp, ebp
pop ebp
ret
Function at 0x491470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x49148c
mov eax, dword [ebp - 8]
sub eax, 0x3e0
mov dword [ebp - 0xc], eax
jmp 0x491493
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov ecx, 0x591ad4
call fcn.0047ed10
test eax, eax
je 0x4914be
mov ecx, 0x591ad4
call fcn.0047ecf0
mov ecx, eax
call fcn.00491510
mov edx, dword [ebp - 8]
mov dword [edx + 0x2c], eax
push 0
push 0x7d0
push 0x1f4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x36ee80
push 0x200
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0x4a44d0
call fcn.0051af0d
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x4917b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x4917cc
mov eax, dword [ebp - 8]
sub eax, 0x3e0
mov dword [ebp - 0xc], eax
jmp 0x4917d3
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x34]
test eax, eax
jne 0x49180a
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0x491550
call fcn.0051af0d
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
push 0
push 0x4a44d0
call fcn.0051af0d
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x496980
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x58f860]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 8], 0
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
mov ecx, dword [ebp - 0x29c]
add ecx, 0x98
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x496ae1
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp dword [ebp - 0xc], 0
jl 0x496ad7
jg 0x496a04
cmp dword [ebp - 0x10], 0
jbe 0x496ad7
cmp dword [ebp - 0xc], 0
jg 0x496ad7
jl 0x496a1d
cmp dword [ebp - 0x10], 0x19000
jae 0x496ad7
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
add eax, 1
mov ecx, dword [ebp - 0xc]
adc ecx, 0
push eax
call fcn.004c8580
add esp, 4
mov dword [ebp - 0x294], eax
mov edx, dword [ebp - 0x294]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov ecx, dword [ebp - 0xc]
adc ecx, 0
push eax
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.00512af0
add esp, 0xc
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x496ab2
lea ecx, [ebp - 0x290]
call fcn.00496b00
lea ecx, [ebp - 0x290]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x29c]
call fcn.004ac1d0
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x290]
call fcn.00496dc0
cmp dword [ebp - 0x14], 0
je 0x496ad7
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x298], ecx
mov edx, dword [ebp - 0x298]
push edx
call fcn.005124eb
add esp, 4
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00512610
mov esp, ebp
pop ebp
ret
Function at 0x499570
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x1c], ecx
lea ecx, [ebp - 0x18]
call fcn.0042e670
push ecx
mov ecx, esp
push str.rmup.exe
call fcn.0041c8a0
push ecx
push esp
lea ecx, [ebp - 0x18]
call fcn.0042e6b0
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
call fcn.0042e910
lea ecx, [ebp - 0x1c]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x499601
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
jne 0x4995df
push 0x4b1210
push 0
push 0x4293a0
call fcn.0051af0d
add esp, 0xc
mov edx, dword [ebp - 0x2c]
mov byte [edx + 0x18], 1
mov byte [ebp - 0x25], 0
lea ecx, [ebp - 0x1c]
call fcn.0040f740
lea ecx, [ebp - 0x18]
call fcn.0042e690
mov al, byte [ebp - 0x25]
jmp 0x49962a
mov byte [ebp - 0x26], 1
lea ecx, [ebp - 0x1c]
call fcn.0040f740
lea ecx, [ebp - 0x18]
call fcn.0042e690
mov al, byte [ebp - 0x26]
jmp 0x49962a
mov esp, ebp
pop ebp
ret 4
Function at 0x49db00
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x54], ecx
push ecx
mov ecx, esp
push str.worldtimeitem
call fcn.00442340
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 8
call fcn.0048b550
mov ecx, eax
call fcn.004424c0
lea ecx, [ebp + 8]
call fcn.0041cbc0
push eax
lea ecx, [ebp - 0x18]
call fcn.004423f0
lea ecx, [ebp - 0x18]
push ecx
push ecx
mov ecx, esp
push str.createtime
call fcn.00442340
lea ecx, [ebp - 4]
call fcn.0048b6d0
mov ecx, eax
call fcn.00447360
lea ecx, [ebp - 0x18]
call fcn.00442440
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.0041cc60
lea ecx, [ebp + 0xc]
call fcn.0041cbc0
push eax
lea ecx, [ebp - 0x30]
call fcn.004423f0
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, esp
push str.timezonename
call fcn.00442340
lea ecx, [ebp - 4]
call fcn.0048b6d0
mov ecx, eax
call fcn.00447360
lea ecx, [ebp - 0x30]
call fcn.00442440
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
call fcn.0041cc60
lea ecx, [ebp + 0x10]
call fcn.0041cbc0
push eax
lea ecx, [ebp - 0x48]
call fcn.004423f0
lea eax, [ebp - 0x48]
push eax
push ecx
mov ecx, esp
push str.cityname
call fcn.00442340
lea ecx, [ebp - 4]
call fcn.0048b6d0
mov ecx, eax
call fcn.00447360
lea ecx, [ebp - 0x48]
call fcn.00442440
push 0xffffffffffffffff
lea ecx, [ebp + 0x10]
call fcn.0041cc60
push 0
mov ecx, dword [ebp - 0x54]
add ecx, 0xc
call fcn.0048b750
movzx ecx, al
test ecx, ecx
je 0x49dc30
lea ecx, [ebp - 4]
call fcn.0048b6c0
push eax
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x54]
add ecx, 0xc
call fcn.0048b6d0
mov ecx, eax
call fcn.00442460
lea ecx, [ebp - 0x50]
call fcn.0048b4d0
mov ecx, dword [ebp - 0x54]
call fcn.00442ec0
mov ecx, dword [ebp - 0x54]
call fcn.00446e10
lea ecx, [ebp - 4]
call fcn.0040fd10
lea ecx, [ebp + 8]
call fcn.0040f740
lea ecx, [ebp + 0xc]
call fcn.0040f740
lea ecx, [ebp + 0x10]
call fcn.0040f740
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a2220
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 8], 0
je 0x4a223a
mov eax, dword [ebp + 8]
sub eax, 8
mov dword [ebp - 0x1c], eax
jmp 0x4a2241
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x4a2269
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 4]
jge 0x4a22c7
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x30]
call eax
push eax
lea ecx, [ebp - 0x10]
call fcn.0041c8a0
push str.cityitem_itemdel
lea ecx, [ebp - 0x10]
call fcn.00430140
test eax, eax
jne 0x4a22bd
push 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x180]
call eax
lea ecx, [ebp - 0x10]
call fcn.0040f740
jmp 0x4a2260
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a22d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 8], 0
je 0x4a22ea
mov eax, dword [ebp + 8]
sub eax, 8
mov dword [ebp - 0x1c], eax
jmp 0x4a22f1
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x4a2319
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 4]
jge 0x4a2377
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x30]
call eax
push eax
lea ecx, [ebp - 0x10]
call fcn.0041c8a0
push str.cityitem_itemdel
lea ecx, [ebp - 0x10]
call fcn.00430140
test eax, eax
jne 0x4a236d
push 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x180]
call eax
lea ecx, [ebp - 0x10]
call fcn.0040f740
jmp 0x4a2310
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a2610
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
je 0x4a262c
mov eax, dword [ebp - 0xc]
sub eax, 0x3e0
mov dword [ebp - 0x10], eax
jmp 0x4a2633
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x1f4
je 0x4a2662
cmp dword [ebp - 0x14], 0x200
je 0x4a2689
jmp 0x4a269c
push 0x1f4
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0x4b5b30
call fcn.0051af0d
add esp, 0xc
jmp 0x4a269c
mov edx, dword [ebp - 0xc]
push edx
push 0
push 0x4a44d0
call fcn.0051af0d
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4a9410
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543280
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x434
mov eax, dword [0x58f860]
xor eax, ebp
mov dword [ebp - 0x34], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x444], ecx
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
push str.GetWeb
lea ecx, [ebp - 0x30]
call fcn.004a95e0
push 0x400000
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0xc]
call fcn.0041cb20
push eax
lea ecx, [ebp - 0x30]
call fcn.004a95c0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004a97a0
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
push 0x13
lea ecx, [ebp - 0x1c]
call fcn.004a97f0
lea ecx, [ebp - 0x20]
call fcn.0040ee90
cmp dword [ebp - 0x24], 0xc8
jne 0x4a94f5
mov byte [ebp - 0x440], 0
push 0x400
push 0
lea ecx, [ebp - 0x43f]
push ecx
call fcn.00512af0
add esp, 0xc
push 0x400
lea edx, [ebp - 0x440]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004a9760
test eax, eax
jbe 0x4a94f5
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x20]
call fcn.0047dc50
jmp 0x4a94cc
lea ecx, [ebp - 0x1c]
call fcn.004a9590
lea ecx, [ebp - 0x30]
call fcn.004a9590
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041c880
lea ecx, [ebp - 0x20]
call fcn.0040f740
lea ecx, [ebp - 0x1c]
call fcn.004a98b0
lea ecx, [ebp - 0x30]
call fcn.004a9740
lea ecx, [ebp + 0xc]
call fcn.0040f740
mov eax, dword [ebp + 8]
jmp 0x4a956a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.00512610
mov esp, ebp
pop ebp
ret 8

Function at 0x4a95e0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x58f860]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov ecx, dword [ebp - 0x214]
call fcn.004a9690
mov eax, dword [ebp - 0x214]
mov dword [eax], vtable.CInternetSession.0
cmp dword [ebp + 8], 0
jne 0x4a9647
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x218]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00512610
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4a9ad0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5432d0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x830
mov eax, dword [0x58f860]
xor eax, ebp
mov dword [ebp - 0x34], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x840], ecx
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
push str.GetWeb
lea ecx, [ebp - 0x30]
call fcn.004a95e0
push 0x400000
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0xc]
call fcn.0041cb20
push eax
lea ecx, [ebp - 0x30]
call fcn.004a95c0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004a97a0
push 0x554518
lea ecx, [ebp - 0x20]
call fcn.0041c8a0
push 0
lea eax, [ebp - 0x24]
push eax
push 0x13
lea ecx, [ebp - 0x1c]
call fcn.004a97f0
cmp dword [ebp - 0x24], 0xc8
jne 0x4a9c7c
mov byte [ebp - 0x828], 0
push 0x7e8
push 0
lea ecx, [ebp - 0x827]
push ecx
call fcn.00512af0
add esp, 0xc
push 0x7e8
lea edx, [ebp - 0x828]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004a9760
test eax, eax
jbe 0x4a9c7c
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x828]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x830], eax
xor ecx, ecx
mov eax, dword [ebp - 0x830]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c8580
add esp, 4
mov dword [ebp - 0x834], eax
mov eax, dword [ebp - 0x834]
mov dword [ebp - 0x82c], eax
cmp dword [ebp - 0x82c], 0
jne 0x4a9c1f
mov ecx, dword [ebp - 0x82c]
mov dword [ebp - 0x838], ecx
mov edx, dword [ebp - 0x838]
push edx
call fcn.005124eb
add esp, 4
mov eax, dword [ebp - 0x830]
push eax
mov ecx, dword [ebp - 0x82c]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x828]
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041c900
mov ecx, dword [ebp - 0x82c]
mov dword [ebp - 0x83c], ecx
mov edx, dword [ebp - 0x83c]
push edx
call fcn.005124eb
add esp, 4
mov dword [ebp - 0x82c], 0
jmp 0x4a9b8e
lea ecx, [ebp - 0x1c]
call fcn.004a9590
lea ecx, [ebp - 0x30]
call fcn.004a9590
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041c880
lea ecx, [ebp - 0x20]
call fcn.0040f740
lea ecx, [ebp - 0x1c]
call fcn.004a98b0
lea ecx, [ebp - 0x30]
call fcn.004a9740
lea ecx, [ebp + 0xc]
call fcn.0040f740
mov eax, dword [ebp + 8]
jmp 0x4a9cf1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.00512610
mov esp, ebp
pop ebp
ret 8
Function at 0x4b5050
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], 0
je 0x4b506c
mov eax, dword [ebp - 0x50]
sub eax, 0x3e0
mov dword [ebp - 0x54], eax
jmp 0x4b5073
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 4], ecx
lea ecx, [ebp - 8]
call fcn.0040ee90
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s__s__s__s
lea eax, [ebp - 8]
push eax
call fcn.004beff0
add esp, 0x18
push 0
lea ecx, [ebp - 8]
call fcn.0041cb20
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x88
call fcn.0047e090
test eax, eax
jl 0x4b50ec
lea ecx, [ebp - 8]
call fcn.0040f740
lea ecx, [ebp + 8]
call fcn.0040f740
lea ecx, [ebp + 0xc]
call fcn.0040f740
lea ecx, [ebp + 0x10]
call fcn.0040f740
lea ecx, [ebp + 0x14]
call fcn.0040f740
jmp 0x4b5296
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x88
call fcn.0047dc30
mov ecx, dword [ebp - 0x50]
add ecx, 0x88
call fcn.0041cc40
movzx edx, al
test edx, edx
jne 0x4b5148
mov eax, dword [ebp - 0x50]
add eax, 0x88
push ecx
mov ecx, esp
push eax
call fcn.0041c880
push ecx
mov ecx, esp
push str.List
call fcn.0041c8a0
push ecx
mov ecx, esp
push str.OtherCity
call fcn.0041c8a0
mov ecx, 0x591448
call fcn.0045bf10
lea ecx, [ebp - 0x2c]
call fcn.004b85f0
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0041c8e0
lea edx, [ebp + 0x14]
push edx
lea ecx, [ebp - 0x28]
call fcn.0041c8e0
push 0x55caa4
lea ecx, [ebp - 0x24]
call fcn.0041cec0
push 0x554518
lea ecx, [ebp - 0x20]
call fcn.0041cec0
push 0x554518
lea ecx, [ebp - 0x1c]
call fcn.0041cec0
push 0x554518
lea ecx, [ebp - 0x18]
call fcn.0041cec0
push 0
push 0
push 0
push 1
push 1
push 0x7de
lea ecx, [ebp - 0x14]
call fcn.0043f7e0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x8c
call fcn.004b97d0
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0x4b5b90
call fcn.0051af0d
add esp, 0xc
push ecx
mov ecx, esp
lea edx, [ebp + 0x14]
push edx
call fcn.0041c880
push ecx
mov ecx, esp
lea eax, [ebp + 0x10]
push eax
call fcn.0041c880
push ecx
mov ecx, esp
lea edx, [ebp + 0xc]
push edx
call fcn.0041c880
push ecx
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.0041c880
mov ecx, dword [ebp - 0x50]
call fcn.004b9a30
push str.weather_othercity_add_hor
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.004dd71b
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4b523b
push 1
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0x180]
call eax
push str.weather_othercity_citylist
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.004dd71b
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4b5266
push 0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0x180]
call eax
lea ecx, [ebp - 0x2c]
call fcn.004b8650
lea ecx, [ebp - 8]
call fcn.0040f740
lea ecx, [ebp + 8]
call fcn.0040f740
lea ecx, [ebp + 0xc]
call fcn.0040f740
lea ecx, [ebp + 0x10]
call fcn.0040f740
lea ecx, [ebp + 0x14]
call fcn.0040f740
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b9980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x58f860]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0xc], 0x50
lea ecx, [ebp - 8]
call fcn.0040ee90
mov eax, dword [ebp + 0xc]
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones_s
lea ecx, [ebp - 8]
push ecx
call fcn.004beff0
add esp, 0xc
lea edx, [ebp - 4]
push edx
push 1
push 0
lea ecx, [ebp - 8]
call fcn.0041cb20
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0
push 0x568214
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0xb
lea esi, [ebp - 0x3c]
mov edi, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 8]
call fcn.0040f740
lea ecx, [ebp + 0xc]
call fcn.0040f740
mov eax, dword [ebp + 8]
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512610
mov esp, ebp
pop ebp
ret 8