joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a440
Capabilities:
Create thread
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.0043323c
mov eax, dword [esi + 0xb8]
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x80
push ecx
call edi
mov edx, dword [esi + 0xb8]
mov eax, dword [esi + 0x20]
push edx
push 0
push 0x80
push eax
call edi
call fcn.00417120
push 0x5ca47c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push str.router.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41a6b3
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Init
push edi
call ebx
push str.InstLsp
push edi
mov dword [0x5ca4a0], eax
call ebx
push str.unInstLsp
push edi
mov dword [0x5ca4a4], eax
call ebx
push str.isInstLsp
push edi
mov dword [0x5ca4a8], eax
call ebx
push str.pGetSendSum
push edi
mov dword [0x5ca4ac], eax
call ebx
push str.pGetRecvSum
push edi
mov dword [0x5ca4b8], eax
call ebx
push str.pAddProxy
push edi
mov dword [0x5ca4bc], eax
call ebx
push str.pDelProxy
push edi
mov dword [0x5ca4b0], eax
call ebx
cmp dword [0x5ca4b8], 0
mov dword [0x5ca4b4], eax
je 0x41a697
cmp dword [0x5ca4bc], 0
je 0x41a697
cmp dword [0x5ca4a0], 0
je 0x41a697
cmp dword [0x5ca4a4], 0
je 0x41a697
cmp dword [0x5ca4a8], 0
je 0x41a697
mov ecx, dword [0x5ca4ac]
test ecx, ecx
je 0x41a697
cmp dword [0x5ca4b0], 0
je 0x41a697
test eax, eax
je 0x41a697
call ecx
test eax, eax
jne 0x41a5a1
call dword [0x5ca4a4]
test eax, eax
jne 0x41a5a1
push eax
push 0x59144c
push 0x591458
mov ecx, esi
call fcn.0042c7b4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.NtSuspendProcess
push 0x591490
call edi
push eax
call ebx
push str.NtResumeProcess
push 0x5914a8
mov dword [0x5ca4c4], eax
call edi
push eax
call ebx
push str.NtQueryInformationProcess
push str.ntdll
mov dword [0x5ca4c8], eax
call edi
push eax
call ebx
mov dword [0x5ca4c0], eax
test eax, eax
je 0x41a6c6
cmp dword [0x5ca4c4], 0
je 0x41a6c6
cmp dword [0x5ca4c8], 0
je 0x41a6c6
call dword [0x5ca4a0]
test ax, ax
je 0x41a6c6
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push esi
push 0x418370
push 0
push 0
call fcn.0052b5b1
push 0
push 0
push esi
push 0x4193c0
push 0
push 0
call fcn.0052b5b1
push 0
push 0
push esi
push 0x419b90
push 0
push 0
call fcn.0052b5b1
add esp, 0x48
push 0
push 0
push esi
push 0x41a0b0
push 0
push 0
call fcn.0052b5b1
push 0
push 0
push esi
push 0x418120
push 0
push 0
call fcn.0052b5b1
add esp, 0x30
mov ecx, esi
call fcn.00416ae0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x5913f4
push 0x591400
mov ecx, esi
call fcn.0042c7b4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x59142c
push 0x591438
mov ecx, esi
call fcn.0042c7b4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41bcf0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55ecfb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5bbd60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00546a08
push 4
mov dword [ebp - 4], 0
call fcn.00427a86
mov edi, eax
add esp, 4
test edi, edi
je 0x41bd70
call fcn.00546508
mov dword [edi], eax
call fcn.005462c7
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.005461fc
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x41bd66
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00546224
jmp 0x41bd72
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
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 0x41eeb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5b06d0
push 0x52c840
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5bbd60]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov byte [ebp - 0x19], 0
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov eax, 0x590ad4
cmp eax, 2
je 0x41ef80
mov ecx, eax
cmp ecx, 3
je 0x41ef80
mov edx, eax
cmp edx, 1
je 0x41ef80
push eax
push 0xbf
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
cmp edi, ebx
je 0x41efac
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test esi, esi
je 0x41efac
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x41efac
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push edi
push eax
call fcn.0052f500
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41efac
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040aa00
test eax, eax
jns 0x41efa8
jmp 0x41efac
call fcn.0042a532
mov eax, dword [eax + 0xc]
push 0x2000
push ebx
push ebx
push ebx
push 0xbf
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
push ebx
call fcn.00409f50
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.0041efd0
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41fdf0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41fe0d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x41fe64
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x41fe64
mov eax, dword [ebp + 8]
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41fe64
push 0
lea ecx, [ebp - 4]
push ecx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x41fe6d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41ffd0
Capabilities:
Create service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x5bbd60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0
lea ecx, [ebp - 0x104]
push ecx
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
jne 0x420036
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager___Faild__d____n
call fcn.0052b40e
add esp, 8
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00527d0f
mov esp, ebp
pop ebp
ret
push esi
push edi
push str.OpenSCManager___ok____n
call fcn.0052b40e
add esp, 4
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x104]
push edx
push 0
push 3
push 1
push 0xf01ff
push 0x5908c4
push 0x5908c4
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x4200e2
call edi
cmp eax, 0x3e5
je 0x4200a3
cmp eax, 0x431
je 0x4200a3
push eax
push str.CrateService___Faild__d____n
call fcn.0052b40e
add esp, 8
xor edi, edi
jmp 0x42014a
push str.CrateService___Faild_Service_is_ERROR_IO_PENDING_or_ERROR_SERVICE_EXISTS___n
call fcn.0052b40e
add esp, 4
push 0xf01ff
push 0x5908c4
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x4200db
call edi
push eax
push str.OpenService___Faild__d____n
call fcn.0052b40e
add esp, 8
xor edi, edi
jmp 0x42014a
push str.OpenService___ok____n
jmp 0x4200e7
push str.CrateService___ok____n
call fcn.0052b40e
add esp, 4
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x42013e
call edi
cmp eax, 0x3e5
je 0x420120
cmp eax, 0x420
je 0x420131
push eax
push str.StartService___Faild__d____n
call fcn.0052b40e
add esp, 8
xor edi, edi
jmp 0x420143
push str.StartService___Faild_ERROR_IO_PENDING____n
call fcn.0052b40e
add esp, 4
xor edi, edi
jmp 0x420143
push str.StartService___Faild_ERROR_SERVICE_ALREADY_RUNNING____n
call fcn.0052b40e
add esp, 4
mov edi, 1
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00527d0f
mov esp, ebp
pop ebp
ret
Function at 0x4209d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
call fcn.0043323c
mov eax, dword [edi + 0x214]
mov ecx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x80
push ecx
call esi
mov edx, dword [edi + 0x214]
mov eax, dword [edi + 0x20]
push edx
push 0
push 0x80
push eax
call esi
mov ecx, dword [edi + 0x190]
push 0x64
push 0
push 0x406
push ecx
call esi
mov edx, dword [edi + 0xec]
push 0x64
push 0
push 0x406
push edx
call esi
lea esi, [edi + 0x170]
call fcn.0041f530
lea esi, [edi + 0xcc]
call fcn.0041f530
push 0
push 0
push 0x20000
mov ecx, esi
call fcn.004317e2
push 0
push 0
push 0x20000
lea ecx, [edi + 0x170]
call fcn.004317e2
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x420a9e
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64DisableWow64FsRedirection
push esi
call ebx
push str.Wow64RevertWow64FsRedirection
push esi
mov dword [0x5ca508], eax
call ebx
mov dword [0x5ca504], eax
push 0
push 0
push edi
push 0x420210
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x3d4], eax
test eax, eax
je 0x420acf
mov eax, dword [edi + 0x20]
push 0
push 0x3e8
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420de0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f9bd
mov eax, dword fs:[0]
push eax
sub esp, 0x530
mov eax, dword [0x5bbd60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x488], ebx
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x48c], edi
jb 0x420e29
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x53c]
push eax
call fcn.0041ae30
mov esi, 1
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x53c]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + edx - 0x530]
test al, 6
je 0x420e8b
push ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
push 0x590202
mov ecx, edi
mov byte [edi], bl
call fcn.00403690
lea ecx, [ebp - 0x4d4]
mov dword [ebp - 0x488], esi
mov byte [ebp - 4], bl
call fcn.0041af90
lea eax, [ebp - 0x4d4]
push eax
jmp 0x420f7f
mov byte [ebp - 0x41c], bl
mov dword [ebp - 0x470], ebx
mov dword [ebp - 0x474], ebx
mov dword [ebp - 0x484], 0x67452301
mov dword [ebp - 0x480], 0xefcdab89
mov dword [ebp - 0x47c], 0x98badcfe
mov dword [ebp - 0x478], 0x10325476
test al, 1
jne 0x420f21
lea esp, [esp]
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x53c]
push edx
call fcn.00415380
cmp dword [ebp - 0x530], ebx
jl 0x420f09
mov eax, dword [ebp - 0x534]
jg 0x420ef7
cmp eax, ebx
jbe 0x420f09
lea ecx, [ebp - 0x414]
push ecx
lea esi, [ebp - 0x484]
call fcn.00414790
mov edx, dword [ebp - 0x53c]
mov eax, dword [edx + 4]
test byte [ebp + eax - 0x530], 1
je 0x420ed0
mov esi, 1
lea ecx, [ebp - 0x52c]
call fcn.00415710
test eax, eax
jne 0x420f59
mov ecx, dword [ebp - 0x53c]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0x530]
lea ecx, [ebp + ecx - 0x53c]
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x420f52
or eax, 4
push ebx
push eax
call fcn.004145f0
lea eax, [ebp - 0x484]
call fcn.00415220
lea ecx, [ebp - 0x4d4]
mov dword [ebp - 0x488], esi
mov byte [ebp - 4], bl
call fcn.0041af90
lea edx, [ebp - 0x4d4]
push edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.005469ca
mov eax, edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00527d0f
mov esp, ebp
pop ebp
ret
Function at 0x420fb0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f212
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5bbd60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x124], ebx
push ebx
mov edi, ecx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x590203
mov ecx, esi
mov dword [ebp - 0x12c], esi
mov byte [esi], bl
call fcn.00403690
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
push 0x590a3c
mov dword [ebp - 0x124], 1
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
mov dword [ebp - 0x11c], ebx
test ebx, ebx
je 0x4210f0
push 0
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
mov dword [ebp - 0x118], edi
test edi, edi
je 0x4210e9
push 0
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x114]
push ecx
push 5
push edi
mov dword [ebp - 0x120], 0x104
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x4210e2
lea edx, [ebp - 0x114]
push edx
call fcn.0052b4cb
mov ebx, eax
lea eax, [ebx + 1]
push eax
mov dword [ebp - 0x128], 0
call fcn.00427ac0
mov edi, eax
add esp, 8
test edi, edi
je 0x4210d6
mov edx, dword [ebp - 0x118]
lea ecx, [ebp - 0x128]
push ecx
push ebx
push edi
push edx
mov byte [edi + ebx], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4210cd
push ebx
push edi
mov ecx, esi
call fcn.00403690
push edi
call fcn.00427ab5
add esp, 4
mov edi, dword [ebp - 0x118]
mov ebx, dword [ebp - 0x11c]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527d0f
mov esp, ebp
pop ebp
ret
Function at 0x422c00
Capabilities:
Create http request

Disassembly:
push ecx
cmp dword [ebx + 0xc], 0
push esi
push edi
jne 0x422cac
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__compatible__MSIE_5.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebx], eax
test eax, eax
jne 0x422c96
push str.InternetOpen_error_
push 0x5ca2b8
call fcn.00423360
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.004230e0
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x422c68
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x422c68
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x422c89
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x422c81
or eax, 4
push 0
push eax
call fcn.004145f0
mov dword [ebx + 0xc], 0
xor eax, eax
pop edi
pop esi
pop ecx
ret
push 0
push 0x5901e7
lea ecx, [ebx + 0x10]
mov dword [ebx + 0xc], 1
call fcn.00403690
pop edi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x430f13
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x430f5a
call fcn.0042a532
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x430f5a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x430f76
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00430a18
mov esi, eax
test edi, edi
je 0x430f74
test ebx, ebx
je 0x430f74
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x431e4f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x55ba0c
call fcn.0052c55c
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x431e74
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x431ec6
call fcn.00427b27
push eax
lea ecx, [ebp - 0x10]
call fcn.004050b0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0052c666
push eax
call fcn.00404710
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004050e0
mov eax, esi
call fcn.0052c634
ret 8

Function at 0x433749
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0042a532
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x433782
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0043338b
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x4337e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x433804
cmp dword [edi + 0x74], 0
jne 0x433804
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0042a532
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004337a1
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x436a86
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00436745
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x436ad0
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00428f05
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00407a00
jmp 0x436adb
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004419c4
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x436ae1
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00431722
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x436b1e
call fcn.00436745
mov dword [esi + 0xc], 1
jmp 0x436b23
call fcn.00436745
cmp dword [esi], 0
je 0x436b6c
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x436b44
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00428f05
jmp 0x436b56
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00404ee0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00407a00
jmp 0x436b90
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x436b90
push dword [esi]
push dword [ebp + 8]
call fcn.004419c4
pop esi
pop ebp
ret 0xc

Function at 0x43783a
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x437865
call fcn.0042a532
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x437888
push eax
push dword [esi + 4]
call fcn.004377c0
push esi
push eax
mov ecx, 0x5c59bc
call fcn.00437464
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x438087
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x552fa0
call fcn.0052c55c
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov ebx, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00438047
and dword [ebp - 4], 0
mov dword [esi], vtable.CHttpConnection.0
call fcn.00427b27
push eax
lea ecx, [esi + 0x18]
call fcn.004050b0
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00404ff0
push dword [esi + 8]
mov ebx, dword [ebx + 8]
push 0
push 3
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 4], eax
test eax, eax
jne 0x4380fe
push eax
push dword [esi + 8]
call fcn.004377c0
push dword [esi + 0xc]
mov ecx, 0x5c59bc
push eax
call fcn.00437464
mov eax, esi
call fcn.0052c634
ret 0x18

Function at 0x438844
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5bbd60]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x43888c
push 0x5693a8
push 4
push eax
call fcn.0052eee7
push eax
call fcn.00404710
add esp, 0x10
jmp 0x4388a2
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x438925
push edi
call fcn.0052ca3e
mov edi, dword [eax]
call fcn.0052ca3e
and dword [eax], 0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00529eac
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.0052ca3e
cmp dword [eax], 0
je 0x4388f9
call fcn.0052ca3e
push dword [eax]
call fcn.004285cd
pop ecx
jmp 0x438900
call fcn.0052ca3e
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
pop edi
je 0x438925
cmp dword [ebp - 0x11c], esi
jae 0x438925
push 0
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x438927
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00527d0f
leave
ret