joyce8/EMBER2024-capa huggingface dataset:
Function at 0x533950
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.004e5928
test al, al
jne 0x533afc
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x15c]
test al, al
je 0x53398a
cmp byte [0x658e6c], 0
jne 0x53398a
mov byte [ebx + 0x44c], 1
cmp byte [ebx + 0x44c], 0
je 0x533999
cmp dword [esi + 4], 0
je 0x5339c6
test byte [ebx + 0x55], 1
jne 0x5339b8
mov eax, ebx
call fcn.00458348
test eax, eax
jne 0x5339b8
mov edx, esi
mov eax, ebx
call fcn.0045d428
jmp 0x533afc
mov edx, esi
mov eax, ebx
call fcn.004592cc
jmp 0x533afc
push 0
call sub.user32.dll_GetDC
mov edi, eax
mov eax, ebx
call fcn.00454860
push eax
mov eax, ebx
call fcn.0045481c
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x533af5
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x50]
push eax
mov eax, ebx
call fcn.0045b6d4
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.004db2c8
push eax
mov ecx, eax
mov edx, 0x14
mov eax, ebx
call fcn.00455fe4
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00533950
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x60]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x54]
push eax
lea edx, [ebp - 0x70]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x68]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x50]
push eax
mov eax, ebx
call fcn.0045b6d4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533afc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53d838
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x53d852
add esp, 0xfffffff0
call fcn.00403a48
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x53d8e0
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.004036ac
mov dword [edi + 4], esi
lea eax, [edi + 0x40]
call fcn.0050a0e0
mov byte [edi + 0x34], 1
mov dl, 1
mov eax, dword [0x41d910]
call fcn.004036ac
mov dword [edi + 0x28], eax
mov dl, 1
mov eax, dword [0x41d910]
call fcn.004036ac
mov dword [edi + 0x14], eax
mov dl, 1
mov eax, dword [0x4e69b0]
call fcn.004e6b50
mov esi, eax
mov dword [edi + 0x30], esi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], 0x53e210
lea eax, [ebp - 0x10]
call fcn.0041a824
lea edx, [ebp - 0x10]
lea eax, [edi + 0x18]
call fcn.0041288c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53d8e7
lea eax, [ebp - 0x10]
call fcn.00412474
ret

Function at 0x53f798
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [0x6577a0]
mov eax, dword [eax]
call fcn.00474b48
cmp byte [ebx + 0x28c], 0
je 0x53f7cc
cmp byte [ebx + 0x294], 0
je 0x53f7cc
push 0
mov eax, dword [0x6577a0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
mov si, 0xffe8
call fcn.004038e0
pop esi
pop ebx
ret

Function at 0x5408b0
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x5408d5
cmp dword [esp + 4], 5
jb 0x5408d5
mov al, 1
jmp 0x5408d7
xor eax, eax
add esp, 0x94
ret
Function at 0x57c174
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x57c1a2
mov eax, ebx
call fcn.0057cc28
cmp dword [ebx + 0x40], 0
je 0x57c19b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x57c213
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x57c205
cmp dword [ebx + 8], 0
je 0x57c1c4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x57c1d6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x57c205
cmp dword [ebx + 8], 0
je 0x57c1b7
cmp eax, 3
je 0x57c1e9
dec eax
jne 0x57c1b7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x57c1b7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x57c1b7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x57c231
cmp dword [ebx + 0x14], 0xcc
je 0x57c231
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0057c23c
pop ebx
ret
Function at 0x5ae974
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x5ae97c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x5aeb6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x5aeb84
mov eax, esi
call fcn.005ac800
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.0040464c
lea ecx, [ebp - 0x10]
mov edx, 0x5aeb98
mov eax, esi
call fcn.005ac800
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.0040464c
lea ecx, [ebp - 0x14]
mov edx, 0x5aebb0
mov eax, esi
call fcn.005ac800
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.0040464c
lea ecx, [ebp - 0x18]
mov edx, 0x5aebcc
mov eax, esi
call fcn.005ac800
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.0040464c
lea ecx, [ebp - 0x1c]
mov edx, 0x5aebe8
mov eax, esi
call fcn.005ac800
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.0040464c
lea ecx, [ebp - 0x24]
mov edx, 0x5aec00
mov eax, esi
call fcn.005ac800
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004097cc
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409ec0
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x5aec18
mov eax, esi
call fcn.005ac800
mov eax, dword [ebp - 0x28]
call fcn.005a61f8
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x5aec28
mov eax, esi
call fcn.005ac800
mov eax, dword [ebp - 0x2c]
call fcn.005a61f8
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x5aec40
mov eax, esi
call fcn.005ac800
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409ec0
inc eax
je 0x5aeb11
lea ecx, [ebp - 0x34]
mov edx, 0x5aec40
mov eax, esi
call fcn.005ac800
mov eax, dword [ebp - 0x34]
call fcn.00409e84
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040ba00
fstp qword [ebp - 0x3c]
wait
call fcn.0040be40
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x5aeb2c
lea ecx, [ebp - 0x40]
mov edx, 0x5aec40
mov eax, esi
call fcn.005ac800
mov eax, dword [ebp - 0x40]
call fcn.005a61f8
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x5aec50
mov eax, esi
call fcn.005ac800
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.0040464c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5aeb75
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0040461c
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.0040461c
ret
Function at 0x5b5f34
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x5b5f8e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.005b5f24
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.005a4e64
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.005a4a64
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b5f95
lea eax, [ebp - 4]
call fcn.004045f8
ret

Function at 0x5b9390
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x5b93cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 7
push 0
lea eax, [ebp - 8]
push eax
call sub.wininet.dll_InternetGetConnectedState
test eax, eax
je 0x5b93c5
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b93d9
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x5b93e4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5b946f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x105
push 0
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004047e0
lea eax, [ebp - 0x10]
mov edx, 0x5b9484
call fcn.004048c0
mov eax, dword [ebp - 0x10]
call fcn.00404ab8
push eax
call sub.kernel32.dll_GetVolumeInformationA
push esi
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x5b9490
call fcn.0040ac2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b9476
lea eax, [ebp - 0x10]
call fcn.004045f8
ret
Function at 0x5b94a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5b95bf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x109]
test eax, eax
je 0x5b9599
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00404868
mov eax, dword [ebp - 0x110]
mov ecx, 1
mov edx, 1
call fcn.00404b18
mov eax, dword [ebp - 4]
mov bl, byte [eax]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
call fcn.005b95f4
mov eax, dword [ebp - 0x118]
mov ecx, 8
mov edx, 1
call fcn.00404b18
mov eax, dword [ebp - 0x114]
push eax
mov al, byte [0x5b95cc]
push eax
lea eax, [ebp - 0x11c]
push eax
lea edx, [ebp - 0x120]
mov eax, ebx
call fcn.005b93e4
mov eax, dword [ebp - 0x120]
xor ecx, ecx
mov edx, 0x5b95d8
call fcn.0040fd54
mov edx, dword [ebp - 0x11c]
mov eax, esi
pop ecx
call fcn.00404904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b95c6
lea eax, [ebp - 0x120]
mov edx, 5
call fcn.0040461c
lea eax, [ebp - 4]
call fcn.004045f8
ret
Function at 0x5e50ac
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x5e50c9
add esp, 0xfffffff0
call fcn.00403a48
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x5e5265
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.005db8b8
test al, al
jne 0x5e5106
mov ecx, 0x5e5298
mov dl, 1
mov eax, dword [0x5cffb4]
call fcn.0040e4e0
call fcn.00403f74
xor eax, eax
push ebp
push 0x5e5132
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.005da364
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.005da250
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e5152
mov eax, dword [ebp - 0x10]
mov edx, 0x5e52d4
call fcn.00405070
je 0x5e516f
mov eax, esi
mov edx, 0x5e52d4
call fcn.00405070
jne 0x5e5193
mov eax, edi
mov edx, 0x5e52e4
call fcn.00405070
je 0x5e5193
mov ecx, 0x5e52bc
mov dl, 1
mov eax, dword [0x5d025c]
call fcn.0040e4e0
call fcn.00403f74
mov eax, edi
xor edx, edx
call fcn.00405070
jne 0x5e51c0
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00405070
je 0x5e51c0
mov ecx, 0x5e52bc
mov dl, 1
mov eax, dword [0x5d025c]
call fcn.0040e4e0
call fcn.00403f74
mov eax, dword [ebp - 0x10]
mov edx, 0x5e5324
call fcn.00405070
jne 0x5e51f3
mov eax, edi
mov edx, 0x5e5330
call fcn.00405070
je 0x5e51f3
mov ecx, 0x5e52bc
mov dl, 1
mov eax, dword [0x5d025c]
call fcn.0040e4e0
call fcn.00403f74
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.005e319c
lea eax, [ebx + 4]
mov edx, esi
call fcn.00404d40
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00404d40
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00404d40
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00404d40
lea eax, [ebx + 8]
call fcn.00404d04
mov byte [ebx + 0xc], 2
xor eax, eax
mov dword [ebx + 0x30], eax
mov al, byte [ebp + 8]
mov byte [ebx + 0x34], al
mov ax, word [0x5e537c]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e526c
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404d1c
ret
Function at 0x5e6b60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x5e6b7d
add esp, 0xfffffff0
call fcn.00403a48
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x5e6d18
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.005db8b8
test al, al
jne 0x5e6bba
mov ecx, 0x5e6d4c
mov dl, 1
mov eax, dword [0x5cffb4]
call fcn.0040e4e0
call fcn.00403f74
xor eax, eax
push ebp
push 0x5e6be6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.005da364
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.005da250
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e6c06
mov eax, edi
xor edx, edx
call fcn.00405070
jne 0x5e6c33
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00405070
je 0x5e6c33
mov ecx, 0x5e6d70
mov dl, 1
mov eax, dword [0x5d025c]
call fcn.0040e4e0
call fcn.00403f74
mov eax, dword [ebp - 0x10]
mov edx, 0x5e6d88
call fcn.00405070
jne 0x5e6c66
mov eax, edi
mov edx, 0x5e6d94
call fcn.00405070
je 0x5e6c66
mov ecx, 0x5e6d70
mov dl, 1
mov eax, dword [0x5d025c]
call fcn.0040e4e0
call fcn.00403f74
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.005e319c
lea eax, [ebx + 4]
mov edx, esi
call fcn.00404d40
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00404d40
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00404d40
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00404d40
lea eax, [ebx + 8]
call fcn.00404d04
mov byte [ebx + 0xc], 1
mov dl, 1
mov eax, dword [0x41d100]
call fcn.004036ac
mov dword [ebx + 0x38], eax
mov dl, 1
mov eax, dword [0x41d100]
call fcn.004036ac
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x41d100]
call fcn.004036ac
mov dword [ebx + 0x34], eax
push ebx
mov eax, dword [ebx + 0x38]
push eax
mov ax, word [0x5e6de0]
push eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x5d2fd8]
call fcn.005e23f4
mov dword [ebx + 0x3c], eax
mov ax, word [0x5e6de4]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e6d1f
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404d1c
ret
Function at 0x5e9774
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x5e9796
add esp, 0xfffffff0
call fcn.00403a48
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x5e9901
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.005db8b8
test al, al
jne 0x5e97d3
mov ecx, 0x5e9934
mov dl, 1
mov eax, dword [0x5cffb4]
call fcn.0040e4e0
call fcn.00403f74
push dword [0x656c14]
lea edx, [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xbc]
push dword [ebp - 0x10]
push dword [0x656c14]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405028
mov eax, dword [ebp - 0xc]
call fcn.005dc390
test al, al
jne 0x5e98a5
push dword [0x656c10]
push dword [ebp + 8]
push dword [0x656c10]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00405028
mov eax, dword [ebp - 0x14]
call fcn.005dc390
test al, al
jne 0x5e98a5
push dword [0x656c14]
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xb8]
push dword [ebp - 0x1c]
push dword [0x656c14]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405028
mov eax, dword [ebp - 0x18]
call fcn.005dc4a8
test al, al
jne 0x5e98a5
push dword [0x656c10]
push edi
push dword [0x656c10]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00405028
mov eax, dword [ebp - 0x20]
call fcn.005dc4a8
test al, al
jne 0x5e98a5
mov ecx, 0x5e9934
mov dl, 1
mov eax, dword [0x5cffb4]
call fcn.0040e4e0
call fcn.00403f74
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.005e319c
lea eax, [ebx + 4]
mov edx, esi
call fcn.00404d40
lea eax, [ebx + 8]
call fcn.00404d04
lea eax, [ebx + 0x30]
mov edx, edi
call fcn.00404d40
lea eax, [ebx + 0x34]
mov edx, dword [ebp + 8]
call fcn.00404d40
mov byte [ebx + 0xc], 0xc
mov ax, word [0x5e9950]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e9908
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00404d1c
ret

Function at 0x61e404
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x61e47f
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x100]
push eax
push 0x59
call sub.kernel32.dll_GetThreadLocale_1
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x61e466
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00404868
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.004095b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61e486
lea eax, [ebp - 0x104]
call fcn.004045f8
ret
Function at 0x62b694
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x62b7aa
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x62b770
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403054
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x28], 1
mov dword [ebp - 0xc], 1
mov eax, esi
call fcn.00404ab8
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push edi
call sub.wininet.dll_InternetCrackUrlA
mov eax, dword [ebp - 0x30]
add eax, 0xfffffffd
sub eax, 2
jb 0x62b739
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x40], 0xb
lea eax, [ebp - 0x44]
push eax
push 0
push 0
lea edx, [ebp - 0x48]
mov eax, dword [0x657120]
call fcn.00406c94
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x62ac24]
call fcn.0062b2f8
call fcn.00403f74
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x64], eax
movzx eax, word [ebp - 0x24]
mov dword [ebx + 0x60], eax
lea eax, [ebx + 0x58]
push eax
mov edx, dword [ebp - 0x2c]
sub edx, edi
inc edx
mov ecx, dword [ebp - 0x28]
mov eax, esi
call fcn.00404b18
lea eax, [ebx + 0x5c]
push eax
mov edx, dword [ebp - 0x10]
sub edx, edi
inc edx
mov ecx, dword [ebp - 0xc]
mov eax, esi
call fcn.00404b18
jmp 0x62b78a
xor eax, eax
mov dword [ebx + 0x60], eax
lea eax, [ebx + 0x58]
call fcn.004045f8
lea eax, [ebx + 0x5c]
call fcn.004045f8
xor eax, eax
mov dword [ebx + 0x64], eax
lea eax, [ebx + 0x3c]
mov edx, esi
call fcn.0040464c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62b7b1
lea eax, [ebp - 0x48]
call fcn.004045f8
ret
Function at 0x62b9a8
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
test dl, dl
je 0x62bad3
mov eax, dword [ebp - 4]
cmp byte [eax + 0x39], 0
jne 0x62bb0a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.004048b8
test eax, eax
jle 0x62b9dd
mov ebx, 3
jmp 0x62b9df
xor ebx, ebx
push 0
call sub.wininet.dll_InternetAttemptConnect
test eax, eax
je 0x62b9ef
call fcn.0040e4b4
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.00404ab8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.00404ab8
push eax
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00404ab8
push eax
call sub.wininet.dll_InternetOpenA
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], esi
test esi, esi
setne dl
xor dl, 1
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0062b49c
xor eax, eax
push ebp
push 0x62baae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push 0
push 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00404ab8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.00404ab8
push eax
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x60]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.00404ab8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
push eax
call sub.wininet.dll_InternetConnectA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x74], ebx
test ebx, ebx
setne dl
xor dl, 1
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0062b49c
mov eax, dword [ebp - 4]
mov byte [eax + 0x39], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x62bb0a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
test eax, eax
je 0x62bae3
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
test eax, eax
je 0x62bafb
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x70], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x39], 0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret