joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ef84
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5adbb8]
cmp dword [eax + 0x30], 0
je 0x45f02e
cmp dword [ebx + 0x94], 0
jne 0x45f028
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45ef14
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45f028
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45efee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45f028
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041f94c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45effd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45fb8c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45fbc1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405198
jmp 0x45fbce
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004050fc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x460d98
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x460dd9
mov eax, esi
call fcn.0044706c
test al, al
je 0x460dd9
mov eax, dword [ebx + 0x84]
call fcn.00446d68
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x460dd9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00446d68
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4621c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x4621ea
cmp dword [ebx + 0x64], 0
jne 0x4621ea
cmp dword [ebx + 0x6c], 0
jne 0x4621ea
mov esi, edi
jmp 0x462282
cmp esi, 0xffffffff
jne 0x4621f5
dec esi
jmp 0x462282
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x462282
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.004616d4
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
mov dword [esp], edx
sub dword [esp], 2
mov edx, dword [esp]
movzx edx, word [edx]
cmp edi, edx
ja 0x462242
sub dx, di
mov ecx, dword [esp]
mov word [ecx], dx
jmp 0x46224a
mov edx, dword [esp]
mov word [edx], 0
dec eax
test eax, eax
jne 0x462229
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
mov dword [esp], edx
sub dword [esp], 2
mov edx, dword [esp]
movzx edx, word [edx]
cmp edi, edx
ja 0x462273
sub dx, di
mov ecx, dword [esp]
mov word [ecx], dx
jmp 0x46227b
mov edx, dword [esp]
mov word [edx], 0
dec eax
test eax, eax
jne 0x46225a
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x4622e0
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.00461ee4
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4622cb
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4622e0
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4621ca
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x469ae4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x469b1c]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x469afa
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x469b09
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x469b18
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x46a468
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x43c6c0]
call fcn.00404350
test al, al
je 0x46a4aa
mov eax, dword [0x5ac308]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x46a4aa
mov edx, dword [0x5ac308]
xor edx, edx
call fcn.00459588
push 0
mov eax, dword [0x5ac308]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x48d8a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
lea edi, [ebp - 4]
mov eax, dword [edi]
call fcn.0048e578
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push ebp
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.0048d820
pop ecx
call fcn.00492bd4
test al, al
je 0x48d948
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
cmp byte [eax + 0x60], 0
je 0x48d948
push 0xffffffffffffffec
mov eax, dword [edi]
call fcn.00446d68
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [edi]
call fcn.00446d68
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
cmp byte [eax + 0x61], 0
je 0x48d931
mov eax, dword [edi]
call fcn.00446d68
xor edx, edx
call fcn.00492c10
jmp 0x48d948
mov eax, dword [edi]
call fcn.00446d68
mov edx, dword [edi]
mov edx, dword [edx + 0x220]
mov dl, byte [edx + 0x62]
call fcn.00492c10
push 0x51
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [edi]
call fcn.00446d68
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, dword [edi]
call fcn.004404d4
mov eax, dword [edi]
mov ebx, dword [eax + 0x220]
cmp byte [ebx + 0x61], 0
je 0x48d9e1
cmp byte [ebx + 0x60], 0
je 0x48d9e1
call fcn.00492bd4
test al, al
je 0x48d9e1
mov eax, dword [0x5ac308]
mov eax, dword [eax]
call fcn.0045fecc
xor ebx, ebx
xor esi, esi
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp eax, 5
jbe 0x48d9d1
call sub.kernel32.dll_GetTickCount
mov esi, eax
add ebx, 0xa
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jle 0x48d9c3
mov ebx, eax
mov eax, dword [edi]
call fcn.00446d68
mov edx, ebx
call fcn.00492c10
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jl 0x48d99b
mov eax, dword [edi]
call fcn.0048eaac
mov eax, dword [edi]
call fcn.00446d68
push eax
call sub.user32.dll_SetCapture
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49ef84
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x49ef99
add esp, 0xfffffff0
call fcn.004044f0
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405558
xor eax, eax
push ebp
push 0x49f074
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0049a22c
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041e4a0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041e4a0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041e4a0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041e4a0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041e4c8
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x52], 0
mov byte [esi + 0x53], 0
mov byte [esi + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x50], 0
mov byte [esi + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f07b
lea eax, [ebp - 4]
call fcn.004050a8
ret
Function at 0x4a4a7c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a4b78
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x4a4b90
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.004050fc
push 0xffffffffffffffff
mov ecx, 0x4a4ba0
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
mov ecx, 0x4a4bbc
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004931dc
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4a4bd8
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004930c8
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4a4bec
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004930c8
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4a4c04
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004930c8
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x4a4c20
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004931dc
mov byte [ebx + 0x44], al
mov ecx, 0x4a4c34
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00499d78
mov byte [ebx + 0x45], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4b7f
lea eax, [ebp - 4]
call fcn.004050a8
ret
Function at 0x517454
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 0x517471
add esp, 0xfffffff0
call fcn.004044f0
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 0x51760d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0050dc60
test al, al
jne 0x5174ae
mov ecx, 0x517640
mov dl, 1
mov eax, dword [0x50235c]
call fcn.0040ed04
call fcn.00404a1c
xor eax, eax
push ebp
push 0x5174da
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0050c70c
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.0050c5f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5174fa
mov eax, dword [ebp - 0x10]
mov edx, 0x51767c
call fcn.00405b18
je 0x517517
mov eax, esi
mov edx, 0x51767c
call fcn.00405b18
jne 0x51753b
mov eax, edi
mov edx, 0x51768c
call fcn.00405b18
je 0x51753b
mov ecx, 0x517664
mov dl, 1
mov eax, dword [0x502604]
call fcn.0040ed04
call fcn.00404a1c
mov eax, edi
xor edx, edx
call fcn.00405b18
jne 0x517568
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00405b18
je 0x517568
mov ecx, 0x517664
mov dl, 1
mov eax, dword [0x502604]
call fcn.0040ed04
call fcn.00404a1c
mov eax, dword [ebp - 0x10]
mov edx, 0x5176cc
call fcn.00405b18
jne 0x51759b
mov eax, edi
mov edx, 0x5176d8
call fcn.00405b18
je 0x51759b
mov ecx, 0x517664
mov dl, 1
mov eax, dword [0x502604]
call fcn.0040ed04
call fcn.00404a1c
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.00515544
lea eax, [ebx + 4]
mov edx, esi
call fcn.0040582c
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.0040582c
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.0040582c
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.0040582c
lea eax, [ebx + 8]
call fcn.004057f0
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 [0x517724]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x517614
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00405808
ret
Function at 0x518f08
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 0x518f25
add esp, 0xfffffff0
call fcn.004044f0
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 0x5190c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0050dc60
test al, al
jne 0x518f62
mov ecx, 0x5190f4
mov dl, 1
mov eax, dword [0x50235c]
call fcn.0040ed04
call fcn.00404a1c
xor eax, eax
push ebp
push 0x518f8e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0050c70c
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.0050c5f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x518fae
mov eax, edi
xor edx, edx
call fcn.00405b18
jne 0x518fdb
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00405b18
je 0x518fdb
mov ecx, 0x519118
mov dl, 1
mov eax, dword [0x502604]
call fcn.0040ed04
call fcn.00404a1c
mov eax, dword [ebp - 0x10]
mov edx, 0x519130
call fcn.00405b18
jne 0x51900e
mov eax, edi
mov edx, 0x51913c
call fcn.00405b18
je 0x51900e
mov ecx, 0x519118
mov dl, 1
mov eax, dword [0x502604]
call fcn.0040ed04
call fcn.00404a1c
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.00515544
lea eax, [ebx + 4]
mov edx, esi
call fcn.0040582c
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.0040582c
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.0040582c
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.0040582c
lea eax, [ebx + 8]
call fcn.004057f0
mov byte [ebx + 0xc], 1
mov dl, 1
mov eax, dword [0x41d058]
call fcn.00404178
mov dword [ebx + 0x38], eax
mov dl, 1
mov eax, dword [0x41d058]
call fcn.00404178
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x41d058]
call fcn.00404178
mov dword [ebx + 0x34], eax
push ebx
mov eax, dword [ebx + 0x38]
push eax
mov ax, word [0x519188]
push eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x505380]
call fcn.0051479c
mov dword [ebx + 0x3c], eax
mov ax, word [0x51918c]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5190c7
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00405808
ret
Function at 0x51bb1c
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 0x51bb3e
add esp, 0xfffffff0
call fcn.004044f0
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 0x51bca9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0050dc60
test al, al
jne 0x51bb7b
mov ecx, 0x51bcdc
mov dl, 1
mov eax, dword [0x50235c]
call fcn.0040ed04
call fcn.00404a1c
push dword [0x5aa7e4]
lea edx, [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xbc]
push dword [ebp - 0x10]
push dword [0x5aa7e4]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405ad0
mov eax, dword [ebp - 0xc]
call fcn.0050e738
test al, al
jne 0x51bc4d
push dword [0x5aa7e0]
push dword [ebp + 8]
push dword [0x5aa7e0]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00405ad0
mov eax, dword [ebp - 0x14]
call fcn.0050e738
test al, al
jne 0x51bc4d
push dword [0x5aa7e4]
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xb8]
push dword [ebp - 0x1c]
push dword [0x5aa7e4]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405ad0
mov eax, dword [ebp - 0x18]
call fcn.0050e850
test al, al
jne 0x51bc4d
push dword [0x5aa7e0]
push edi
push dword [0x5aa7e0]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00405ad0
mov eax, dword [ebp - 0x20]
call fcn.0050e850
test al, al
jne 0x51bc4d
mov ecx, 0x51bcdc
mov dl, 1
mov eax, dword [0x50235c]
call fcn.0040ed04
call fcn.00404a1c
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.00515544
lea eax, [ebx + 4]
mov edx, esi
call fcn.0040582c
lea eax, [ebx + 8]
call fcn.004057f0
lea eax, [ebx + 0x30]
mov edx, edi
call fcn.0040582c
lea eax, [ebx + 0x34]
mov edx, dword [ebp + 8]
call fcn.0040582c
mov byte [ebx + 0xc], 0xc
mov ax, word [0x51bcf8]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51bcb0
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00405808
ret

Function at 0x5507ac
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 0x550827
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 0x55080e
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00405318
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.0040aca8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55082e
lea eax, [ebp - 0x104]
call fcn.004050a8
ret
Function at 0x55cf1c
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 0x55d032
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x55cff8
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403834
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.00405568
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 0x55cfc1
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 [0x5abe3c]
call fcn.004076dc
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x55c4ac]
call fcn.0055cb80
call fcn.00404a1c
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.004055c8
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.004055c8
jmp 0x55d012
xor eax, eax
mov dword [ebx + 0x60], eax
lea eax, [ebx + 0x58]
call fcn.004050a8
lea eax, [ebx + 0x5c]
call fcn.004050a8
xor eax, eax
mov dword [ebx + 0x64], eax
lea eax, [ebx + 0x3c]
mov edx, esi
call fcn.004050fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55d039
lea eax, [ebp - 0x48]
call fcn.004050a8
ret
Function at 0x55d230
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 0x55d35b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x39], 0
jne 0x55d392
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.00405368
test eax, eax
jle 0x55d265
mov ebx, 3
jmp 0x55d267
xor ebx, ebx
push 0
call sub.wininet.dll_InternetAttemptConnect
test eax, eax
je 0x55d277
call fcn.0040ecd8
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.00405568
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.00405568
push eax
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00405568
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.0055cd24
xor eax, eax
push ebp
push 0x55d336
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.00405568
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.00405568
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.00405568
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.0055cd24
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 0x55d392
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
test eax, eax
je 0x55d36b
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 0x55d383
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