joyce8/EMBER2024-capa huggingface dataset:
Function at 0x497ac0
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.00498798
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.004979e0
pop ecx
call fcn.004d2e1c
test al, al
je 0x497b68
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
cmp byte [eax + 0x60], 0
je 0x497b68
push 0xffffffffffffffec
mov eax, dword [edi]
call fcn.00449640
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [edi]
call fcn.00449640
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
cmp byte [eax + 0x61], 0
je 0x497b51
mov eax, dword [edi]
call fcn.00449640
xor edx, edx
call fcn.004d2e58
jmp 0x497b68
mov eax, dword [edi]
call fcn.00449640
mov edx, dword [edi]
mov edx, dword [edx + 0x220]
mov dl, byte [edx + 0x62]
call fcn.004d2e58
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.00449640
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, dword [edi]
call fcn.00442d40
mov eax, dword [edi]
mov ebx, dword [eax + 0x220]
cmp byte [ebx + 0x61], 0
je 0x497c01
cmp byte [ebx + 0x60], 0
je 0x497c01
call fcn.004d2e1c
test al, al
je 0x497c01
mov eax, dword [0x5417ac]
mov eax, dword [eax]
call fcn.00462808
xor ebx, ebx
xor esi, esi
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp eax, 5
jbe 0x497bf1
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 0x497be3
mov ebx, eax
mov eax, dword [edi]
call fcn.00449640
mov edx, ebx
call fcn.004d2e58
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jl 0x497bbb
mov eax, dword [edi]
call fcn.00498ccc
mov eax, dword [edi]
call fcn.00449640
push eax
call sub.user32.dll_SetCapture
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b5044
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
xor ebx, ebx
call fcn.004d2e1c
test al, al
je 0x4b514b
mov eax, dword [esi + 4]
mov edx, dword [0x4b31d8]
call fcn.00403458
test al, al
je 0x4b514b
mov ebx, dword [esi + 4]
cmp byte [ebx + 0x2f9], 0
je 0x4b50b4
cmp byte [esi + 0x540], 0
jne 0x4b50b4
push 0xffffffffffffffec
mov eax, esi
call fcn.00449640
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, esi
call fcn.00449640
push eax
call sub.user32.dll_SetWindowLongA
jmp 0x4b50ea
cmp byte [ebx + 0x2f9], 0
jne 0x4b50ea
cmp byte [esi + 0x540], 0
je 0x4b50ea
push 0xffffffffffffffec
mov eax, esi
call fcn.00449640
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
mov eax, esi
call fcn.00449640
push eax
call sub.user32.dll_SetWindowLongA
mov al, byte [ebx + 0x2f9]
mov byte [esi + 0x540], al
mov al, byte [esi + 0x541]
cmp al, byte [ebx + 0x2fb]
je 0x4b514b
cmp byte [ebx + 0x2f9], 0
je 0x4b514b
cmp byte [ebx + 0x2fa], 0
je 0x4b512d
mov eax, esi
call fcn.00449640
xor edx, edx
call fcn.004d2e58
mov byte [esi + 0x541], 0
jmp 0x4b514b
mov eax, esi
call fcn.00449640
mov dl, byte [ebx + 0x2fb]
call fcn.004d2e58
mov al, byte [ebx + 0x2fb]
mov byte [esi + 0x541], al
push 0x51
push 0
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push 0
mov eax, esi
call fcn.00449640
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, esi
call fcn.00442d40
call fcn.004d2e1c
test al, al
je 0x4b520b
test ebx, ebx
je 0x4b520b
cmp byte [ebx + 0x2fa], 0
je 0x4b520b
cmp byte [ebx + 0x2f9], 0
je 0x4b520b
mov eax, dword [0x5417ac]
mov eax, dword [eax]
call fcn.00462808
xor edi, edi
xor ebp, ebp
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
mov eax, ebp
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x4b51cb
cmp eax, 5
jbe 0x4b51f3
jmp 0x4b51cd
jle 0x4b51f3
call sub.kernel32.dll_GetTickCount
mov ebp, eax
add edi, 0xa
xor eax, eax
mov al, byte [ebx + 0x2fb]
cmp edi, eax
jle 0x4b51e5
mov edi, eax
mov eax, esi
call fcn.00449640
mov edx, edi
call fcn.004d2e58
mov eax, dword [0x5417ac]
mov eax, dword [eax]
call fcn.00462808
xor eax, eax
mov al, byte [ebx + 0x2fb]
cmp edi, eax
jl 0x4b51aa
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4be3b4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4be504
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x350]
test eax, eax
je 0x4be4dc
cmp dword [eax + 0x3f8], 0
je 0x4be4dc
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x2f0]
cmp eax, 0xc8
jbe 0x4be4dc
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x2f0], eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00442e20
mov eax, dword [ebp - 0xc]
call fcn.00404380
dec eax
jne 0x4be45c
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00442e20
mov eax, dword [ebp - 0x10]
call fcn.00404580
push eax
mov eax, ebx
call fcn.004bf004
push eax
push 0x18f
mov eax, dword [ebx + 0x350]
mov eax, dword [eax + 0x3f8]
call fcn.00449640
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
jmp 0x4be48f
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00442e20
mov eax, dword [ebp - 0x14]
call fcn.00404580
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x350]
mov eax, dword [eax + 0x3f8]
call fcn.00449640
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
test esi, esi
jl 0x4be4dc
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00442e20
mov edx, esi
mov eax, ebx
call fcn.004bf010
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00442e20
mov eax, dword [ebp - 4]
call fcn.00404380
mov edx, eax
mov eax, ebx
call fcn.004be694
mov eax, dword [ebp - 8]
call fcn.00404380
push eax
mov eax, dword [ebp - 4]
call fcn.00404380
pop edx
sub edx, eax
mov eax, ebx
call fcn.004be6b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be50b
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004040e4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004040e4
ret
Function at 0x4be514
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404570
xor eax, eax
push ebp
push 0x4be631
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x350]
test eax, eax
je 0x4be61b
cmp dword [eax + 0x3f8], 0
je 0x4be61b
cmp byte [ebx + 0x2f8], 0
je 0x4be59c
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x2f0]
cmp eax, 0x1f4
jb 0x4be575
lea eax, [ebx + 0x2f4]
call fcn.004040c0
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x2f0], eax
lea eax, [ebx + 0x2f4]
mov edx, dword [ebp - 4]
call fcn.00404388
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x2f4]
call fcn.00404158
mov eax, dword [ebp - 4]
call fcn.00404380
test eax, eax
jle 0x4be60b
mov eax, dword [ebp - 4]
call fcn.00404380
dec eax
jne 0x4be5e2
mov eax, dword [ebp - 4]
call fcn.00404580
push eax
mov eax, ebx
call fcn.004bf004
push eax
push 0x18f
mov eax, dword [ebx + 0x350]
mov eax, dword [eax + 0x3f8]
call fcn.00449640
push eax
call sub.user32.dll_SendMessageA
jmp 0x4be60e
mov eax, dword [ebp - 4]
call fcn.00404580
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x350]
mov eax, dword [eax + 0x3f8]
call fcn.00449640
push eax
call sub.user32.dll_SendMessageA
jmp 0x4be60e
or eax, 0xffffffff
test eax, eax
jl 0x4be61b
mov edx, eax
mov eax, ebx
call fcn.004bf010
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be638
lea eax, [ebp - 4]
call fcn.004040c0
ret
Function at 0x4df4d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x4df4e5
add esp, 0xfffffff0
call fcn.004035f0
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404570
xor eax, eax
push ebp
push 0x4df5c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004da6ac
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00417128
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.00417128
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.00417128
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.00417128
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.00417150
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 0x4df5c7
lea eax, [ebp - 4]
call fcn.004040c0
ret
Function at 0x4e541c
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 0x4e5593
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x4e55ac
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.00404114
push 0xffffffffffffffff
mov ecx, 0x4e55bc
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
push 0xffffffffffffffff
mov ecx, 0x4e55d8
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x34], eax
mov ecx, 0x4e55f8
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004d33b0
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4e5614
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004d329c
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, 0x4e5628
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004d329c
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, 0x4e5640
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004d329c
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x38]
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, 0x4e565c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004d33b0
mov byte [ebx + 0x48], al
mov ecx, 0x4e5670
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004da1f8
mov byte [ebx + 0x49], al
push 0xffffffffffffffff
mov ecx, 0x4e5684
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x4c], eax
push 0xffffffffffffffff
mov ecx, 0x4e56a4
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x50], eax
push 0
mov ecx, 0x4e56c8
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x54], eax
push 0
mov ecx, 0x4e56e4
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x58], eax
push 0xff
mov ecx, 0x4e5700
mov edx, dword [ebx + 4]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x5c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e559a
lea eax, [ebp - 4]
call fcn.004040c0
ret
Function at 0x4fe89c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41529c]
call fcn.00404c1c
xor eax, eax
push ebp
push 0x4fe9e0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x53feb8], 0
jne 0x4fe8ef
mov ecx, dword [0x541260]
mov dl, 1
mov eax, dword [0x407820]
call fcn.0040c304
call fcn.00403a58
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402c84
mov eax, ebx
call fcn.00404930
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4fe9f0
lea edi, [ebp - 0x30]
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 edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405cc4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404940
test eax, eax
jle 0x4fe987
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4fe980
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404348
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404330
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004086d4
test eax, eax
jne 0x4fe980
mov ebx, 0x15
jmp 0x4fe98c
mov ebx, 0x10
jmp 0x4fe98c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x53feb8]
call fcn.004fe7f4
mov eax, dword [ebp - 8]
call fcn.004fe7f4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405cdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe9e7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004040e4
lea eax, [ebp - 0x10]
mov edx, dword [0x41529c]
call fcn.00404cec
ret

Function at 0x50218c
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.00501c2c
test byte [ebx + 0x23d], 4
jne 0x502221
mov edx, esp
mov eax, ebx
call fcn.004427c0
push esp
mov eax, ebx
call fcn.0044943c
push eax
push 0
mov eax, ebx
test eax, eax
je 0x5021c1
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x5021f2
mov ecx, dword [0x5415ec]
mov dl, 1
mov eax, dword [0x4fe4b4]
call fcn.0040c304
call fcn.00403a58
mov eax, ebx
call fcn.00502760
cmp byte [ebx + 0x57], 0
jne 0x502228
mov eax, ebx
call fcn.00449640
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x502228
push 0
mov eax, ebx
call fcn.00449640
push eax
call sub.user32.dll_ShowWindow
jmp 0x502228
mov eax, ebx
call fcn.004465c0
add esp, 0x10
pop ebx
ret
Function at 0x5098b8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5098e6
mov eax, ebx
call fcn.0050a36c
cmp dword [ebx + 0x40], 0
je 0x5098df
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x509957
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x509949
cmp dword [ebx + 8], 0
je 0x509908
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 0x50991a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x509949
cmp dword [ebx + 8], 0
je 0x5098fb
cmp eax, 3
je 0x50992d
dec eax
jne 0x5098fb
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 0x5098fb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5098fb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x509975
cmp dword [ebx + 0x14], 0xcc
je 0x509975
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.00509980
pop ebx
ret

Function at 0x51a268
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404570
mov eax, dword [ebp - 8]
call fcn.00404570
xor eax, eax
push ebp
push 0x51a333
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, dword [ebp - 8]
call fcn.00404580
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x51a340
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404580
push eax
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0x4b
push ebx
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
push ebx
call sub.wininet.dll_InternetSetOptionA
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51a33a
lea eax, [ebp - 8]
mov edx, 2
call fcn.004040e4
ret

Function at 0x51e6b4
Capabilities:
Get geographical location

Disassembly:
add esp, 0xfffffff4
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.00402c84
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp byte [esp], 0x31
jne 0x51e6e2
mov al, 1
jmp 0x51e6e4
xor eax, eax
add esp, 0xc
ret
Function at 0x52a864
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 0x52a86c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x52aa5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x52aa74
mov eax, esi
call fcn.005285f4
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404114
lea ecx, [ebp - 0x10]
mov edx, 0x52aa88
mov eax, esi
call fcn.005285f4
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404114
lea ecx, [ebp - 0x14]
mov edx, 0x52aaa0
mov eax, esi
call fcn.005285f4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404114
lea ecx, [ebp - 0x18]
mov edx, 0x52aabc
mov eax, esi
call fcn.005285f4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404114
lea ecx, [ebp - 0x1c]
mov edx, 0x52aad8
mov eax, esi
call fcn.005285f4
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404114
lea ecx, [ebp - 0x24]
mov edx, 0x52aaf0
mov eax, esi
call fcn.005285f4
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408744
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408b24
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x52ab08
mov eax, esi
call fcn.005285f4
mov eax, dword [ebp - 0x28]
call fcn.0052770c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x52ab18
mov eax, esi
call fcn.005285f4
mov eax, dword [ebp - 0x2c]
call fcn.0052770c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x52ab30
mov eax, esi
call fcn.005285f4
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408b24
inc eax
je 0x52aa01
lea ecx, [ebp - 0x34]
mov edx, 0x52ab30
mov eax, esi
call fcn.005285f4
mov eax, dword [ebp - 0x34]
call fcn.00408ae8
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.0040a0b8
fstp qword [ebp - 0x3c]
wait
call fcn.0040a41c
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x52aa1c
lea ecx, [ebp - 0x40]
mov edx, 0x52ab30
mov eax, esi
call fcn.005285f4
mov eax, dword [ebp - 0x40]
call fcn.0052770c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x52ab40
mov eax, esi
call fcn.005285f4
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404114
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52aa65
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004040e4
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004040e4
ret
Function at 0x536cfc
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 0x536d56
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00536cec
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00526378
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00525f78
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 0x536d5d
lea eax, [ebp - 4]
call fcn.004040c0
ret
Function at 0x40cfe1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42d268
cmp edx, dword [eax]
je 0x40d003
add eax, 8
inc ecx
cmp eax, 0x42d2f8
jl 0x40cff4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42d268]
jne 0x40d131
mov eax, dword [0x4320ec]
cmp eax, 1
je 0x40d10b
test eax, eax
jne 0x40d034
cmp dword [0x42ce34], 1
je 0x40d10b
cmp edx, 0xfc
je 0x40d131
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40d06b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040d270
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040a910
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40d0ae
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040a910
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x425f64
push edi
call fcn.0040fce0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040d270
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040d280
lea eax, [ebp - 0xa0]
push 0x425f44
push eax
call fcn.0040d280
push dword [esi + 0x42d26c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040d280
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040fc49
add esp, 0x2c
pop edi
jmp 0x40d131
lea eax, [ebp + 8]
lea esi, [esi + 0x42d26c]
push 0
push eax
push dword [esi]
call fcn.0040a910
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret