joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444b04
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor eax, eax
push ebp
push 0x444b53
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
test bl, bl
jne 0x444b45
push 0
lea eax, [ebp - 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x444b45
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00444aa8
test eax, eax
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444b5a
ret

Function at 0x4468f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
call fcn.0040556c
xor eax, eax
push ebp
push 0x446954
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
mov eax, dword [ebp + 8]
call fcn.0040557c
push eax
mov eax, esi
call fcn.0040557c
push eax
mov eax, ebx
call fcn.0040557c
push eax
push 0x446964
push edi
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44695b
lea eax, [ebp + 8]
call fcn.004050d0
ret

Function at 0x446b70
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor eax, eax
push ebp
push 0x446bbf
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
test bl, bl
jne 0x446bb1
push 0
lea eax, [ebp - 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x446bb1
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00446b14
test eax, eax
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446bc6
ret

Function at 0x446d7c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040556c
xor eax, eax
push ebp
push 0x446e2f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor edx, edx
push ebp
push 0x446e07
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409210
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00405168
cmp dword [ebp - 4], 0
jne 0x446ddb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x446e11
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040557c
push eax
push 0x446e44
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
setg byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x446e11
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446e36
lea eax, [ebp - 0xc]
call fcn.004050d0
lea eax, [ebp - 4]
call fcn.004050d0
ret
Function at 0x450904
Capabilities:
Enumerate gui resources

Disassembly:
push 2
push 0x4507f4
call sub.user32.dll_EnumWindows
ret

Function at 0x450914
Capabilities:
Enumerate gui resources

Disassembly:
push 2
push 0x45070c
call sub.user32.dll_EnumWindows
call fcn.00450904
ret
Function at 0x45e0ec
Capabilities:
Inspect section memory permissions

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
xor edx, edx
mov ecx, edx
mov edi, dword [esi + 0x154]
test edi, edi
je 0x45e122
test dl, dl
jne 0x45e10c
test byte [edi + 0x70], 0x10
setne dl
test cl, cl
jne 0x45e117
test byte [edi + 0x71], 0x10
setne cl
test cl, dl
jne 0x45e122
mov edi, dword [edi + 0x30]
test edi, edi
jne 0x45e101
test dl, dl
jne 0x45e133
test byte [esi + 0xb8], 0x10
jne 0x45e133
xor eax, eax
jmp 0x45e135
mov al, 1
test cl, cl
jne 0x45e146
test byte [esi + 0xb9], 0x10
jne 0x45e146
xor ebx, ebx
jmp 0x45e148
mov bl, 1
mov byte [esp], bl
mov edi, dword [esi + 0x154]
test edi, edi
je 0x45e219
mov ebp, dword [edi + 0x70]
mov ebx, ebp
and ebx, 0x1f
sub ebx, 2
je 0x45e16d
sub ebx, 2
je 0x45e18d
jmp 0x45e1ab
test al, al
jne 0x45e184
or ebp, 0x400000
or ebp, 0x200000
mov dword [edi + 0x70], ebp
mov dl, 1
jmp 0x45e1ab
and dword [edi + 0x70], 0xff9fffff
jmp 0x45e1ab
test al, al
je 0x45e1a4
or ebp, 0x400000
or ebp, 0x200000
mov dword [edi + 0x70], ebp
mov dl, 1
jmp 0x45e1ab
and dword [edi + 0x70], 0xff9fffff
mov ebx, dword [edi + 0x70]
and ebx, 0x1f00
sub ebx, 0x200
je 0x45e1c6
sub ebx, 0x200
je 0x45e1eb
jmp 0x45e20e
cmp byte [esp], 0
jne 0x45e1e2
mov ecx, dword [edi + 0x70]
or ecx, 0x40000000
or ecx, 0x20000000
mov dword [edi + 0x70], ecx
mov cl, 1
jmp 0x45e20e
and dword [edi + 0x70], 0x9fffffff
jmp 0x45e20e
cmp byte [esp], 0
je 0x45e207
mov ecx, dword [edi + 0x70]
or ecx, 0x40000000
or ecx, 0x20000000
mov dword [edi + 0x70], ecx
mov cl, 1
jmp 0x45e20e
and dword [edi + 0x70], 0x9fffffff
mov edi, dword [edi + 0x30]
test edi, edi
jne 0x45e159
test dl, dl
je 0x45e237
mov edx, dword [esi + 0xb8]
or edx, 0x400000
or edx, 0x100000
mov dword [esi + 0xb8], edx
jmp 0x45e241
and dword [esi + 0xb8], 0xffafffff
mov edx, dword [esi + 0xb8]
mov ebx, edx
and ebx, 0x1f
sub ebx, 2
je 0x45e258
sub ebx, 2
je 0x45e273
jmp 0x45e28c
test al, al
jne 0x45e26a
or edx, 0x20
or edx, 0x40
mov dword [esi + 0xb8], edx
jmp 0x45e28c
and dword [esi + 0xb8], 0xffffff9f
jmp 0x45e28c
test al, al
je 0x45e285
or edx, 0x20
or edx, 0x40
mov dword [esi + 0xb8], edx
jmp 0x45e28c
and dword [esi + 0xb8], 0xffffff9f
test cl, cl
je 0x45e2a8
mov eax, dword [esi + 0xb8]
or eax, 0x40000000
or eax, 0x10000000
mov dword [esi + 0xb8], eax
jmp 0x45e2b2
and dword [esi + 0xb8], 0xafffffff
mov eax, dword [esi + 0xb8]
mov edx, eax
and edx, 0x1f00
sub edx, 0x200
je 0x45e2d2
sub edx, 0x200
je 0x45e2f6
jmp 0x45e318
cmp byte [esp], 0
jne 0x45e2ea
or eax, 0x2000
or eax, 0x4000
mov dword [esi + 0xb8], eax
jmp 0x45e318
and dword [esi + 0xb8], 0xffff9fff
jmp 0x45e318
cmp byte [esp], 0
je 0x45e30e
or eax, 0x2000
or eax, 0x4000
mov dword [esi + 0xb8], eax
jmp 0x45e318
and dword [esi + 0xb8], 0xffff9fff
mov edi, dword [esi + 0x144]
mov eax, edi
call fcn.004541cc
mov ebx, dword [edi + 0x20]
test ebx, ebx
jle 0x45e343
dec ebx
mov edx, ebx
mov eax, edi
call fcn.00454940
mov edx, dword [eax]
mov eax, esi
call fcn.0045dde8
test ebx, ebx
jne 0x45e32c
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45e968
Capabilities:
Inspect section memory permissions

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
xor edx, edx
mov ecx, edx
mov edi, dword [esi + 0x154]
test edi, edi
je 0x45e9a4
test dl, dl
jne 0x45e98b
test byte [edi + 0x80], 0x10
setne dl
test cl, cl
jne 0x45e999
test byte [edi + 0x81], 0x10
setne cl
test cl, dl
jne 0x45e9a4
mov edi, dword [edi + 0x30]
test edi, edi
jne 0x45e97d
test dl, dl
jne 0x45e9b5
test byte [esi + 0xc8], 0x10
jne 0x45e9b5
xor eax, eax
jmp 0x45e9b7
mov al, 1
test cl, cl
jne 0x45e9c8
test byte [esi + 0xc9], 0x10
jne 0x45e9c8
xor ebx, ebx
jmp 0x45e9ca
mov bl, 1
mov byte [esp], bl
mov edi, dword [esi + 0x154]
test edi, edi
je 0x45eabf
mov ebp, dword [edi + 0x80]
mov ebx, ebp
and ebx, 0x1f
sub ebx, 2
je 0x45e9f2
sub ebx, 2
je 0x45ea18
jmp 0x45ea3c
test al, al
jne 0x45ea0c
or ebp, 0x400000
or ebp, 0x200000
mov dword [edi + 0x80], ebp
mov dl, 1
jmp 0x45ea3c
and dword [edi + 0x80], 0xff9fffff
jmp 0x45ea3c
test al, al
je 0x45ea32
or ebp, 0x400000
or ebp, 0x200000
mov dword [edi + 0x80], ebp
mov dl, 1
jmp 0x45ea3c
and dword [edi + 0x80], 0xff9fffff
mov ebx, dword [edi + 0x80]
and ebx, 0x1f00
sub ebx, 0x200
je 0x45ea5a
sub ebx, 0x200
je 0x45ea88
jmp 0x45eab4
cmp byte [esp], 0
jne 0x45ea7c
mov ecx, dword [edi + 0x80]
or ecx, 0x40000000
or ecx, 0x20000000
mov dword [edi + 0x80], ecx
mov cl, 1
jmp 0x45eab4
and dword [edi + 0x80], 0x9fffffff
jmp 0x45eab4
cmp byte [esp], 0
je 0x45eaaa
mov ecx, dword [edi + 0x80]
or ecx, 0x40000000
or ecx, 0x20000000
mov dword [edi + 0x80], ecx
mov cl, 1
jmp 0x45eab4
and dword [edi + 0x80], 0x9fffffff
mov edi, dword [edi + 0x30]
test edi, edi
jne 0x45e9db
test dl, dl
je 0x45eadd
mov edx, dword [esi + 0xc8]
or edx, 0x400000
or edx, 0x100000
mov dword [esi + 0xc8], edx
jmp 0x45eae7
and dword [esi + 0xc8], 0xffafffff
mov edx, dword [esi + 0xc8]
mov ebx, edx
and ebx, 0x1f
sub ebx, 2
je 0x45eafe
sub ebx, 2
je 0x45eb19
jmp 0x45eb32
test al, al
jne 0x45eb10
or edx, 0x20
or edx, 0x40
mov dword [esi + 0xc8], edx
jmp 0x45eb32
and dword [esi + 0xc8], 0xffffff9f
jmp 0x45eb32
test al, al
je 0x45eb2b
or edx, 0x20
or edx, 0x40
mov dword [esi + 0xc8], edx
jmp 0x45eb32
and dword [esi + 0xc8], 0xffffff9f
test cl, cl
je 0x45eb4e
mov eax, dword [esi + 0xc8]
or eax, 0x40000000
or eax, 0x10000000
mov dword [esi + 0xc8], eax
jmp 0x45eb58
and dword [esi + 0xc8], 0xafffffff
mov eax, dword [esi + 0xc8]
mov edx, eax
and edx, 0x1f00
sub edx, 0x200
je 0x45eb78
sub edx, 0x200
je 0x45eb9c
jmp 0x45ebbe
cmp byte [esp], 0
jne 0x45eb90
or eax, 0x2000
or eax, 0x4000
mov dword [esi + 0xc8], eax
jmp 0x45ebbe
and dword [esi + 0xc8], 0xffff9fff
jmp 0x45ebbe
cmp byte [esp], 0
je 0x45ebb4
or eax, 0x2000
or eax, 0x4000
mov dword [esi + 0xc8], eax
jmp 0x45ebbe
and dword [esi + 0xc8], 0xffff9fff
mov edi, dword [esi + 0x148]
mov eax, edi
call fcn.004541cc
mov ebx, dword [edi + 0x20]
test ebx, ebx
jle 0x45ebe9
dec ebx
mov edx, ebx
mov eax, edi
call fcn.00454940
mov edx, dword [eax]
mov eax, esi
call fcn.0045e658
test ebx, ebx
jne 0x45ebd2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45f128
Capabilities:
Inspect section memory permissions

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
xor edx, edx
mov ecx, edx
mov edi, dword [esi + 0x154]
test edi, edi
je 0x45f164
test dl, dl
jne 0x45f14b
test byte [edi + 0x8c], 0x10
setne dl
test cl, cl
jne 0x45f159
test byte [edi + 0x8d], 0x10
setne cl
test cl, dl
jne 0x45f164
mov edi, dword [edi + 0x30]
test edi, edi
jne 0x45f13d
test dl, dl
jne 0x45f175
test byte [esi + 0xd4], 0x10
jne 0x45f175
xor eax, eax
jmp 0x45f177
mov al, 1
test cl, cl
jne 0x45f188
test byte [esi + 0xd5], 0x10
jne 0x45f188
xor ebx, ebx
jmp 0x45f18a
mov bl, 1
mov byte [esp], bl
mov edi, dword [esi + 0x154]
test edi, edi
je 0x45f27f
mov ebp, dword [edi + 0x8c]
mov ebx, ebp
and ebx, 0x1f
sub ebx, 2
je 0x45f1b2
sub ebx, 2
je 0x45f1d8
jmp 0x45f1fc
test al, al
jne 0x45f1cc
or ebp, 0x400000
or ebp, 0x200000
mov dword [edi + 0x8c], ebp
mov dl, 1
jmp 0x45f1fc
and dword [edi + 0x8c], 0xff9fffff
jmp 0x45f1fc
test al, al
je 0x45f1f2
or ebp, 0x400000
or ebp, 0x200000
mov dword [edi + 0x8c], ebp
mov dl, 1
jmp 0x45f1fc
and dword [edi + 0x8c], 0xff9fffff
mov ebx, dword [edi + 0x8c]
and ebx, 0x1f00
sub ebx, 0x200
je 0x45f21a
sub ebx, 0x200
je 0x45f248
jmp 0x45f274
cmp byte [esp], 0
jne 0x45f23c
mov ecx, dword [edi + 0x8c]
or ecx, 0x40000000
or ecx, 0x20000000
mov dword [edi + 0x8c], ecx
mov cl, 1
jmp 0x45f274
and dword [edi + 0x8c], 0x9fffffff
jmp 0x45f274
cmp byte [esp], 0
je 0x45f26a
mov ecx, dword [edi + 0x8c]
or ecx, 0x40000000
or ecx, 0x20000000
mov dword [edi + 0x8c], ecx
mov cl, 1
jmp 0x45f274
and dword [edi + 0x8c], 0x9fffffff
mov edi, dword [edi + 0x30]
test edi, edi
jne 0x45f19b
test dl, dl
je 0x45f29d
mov edx, dword [esi + 0xd4]
or edx, 0x400000
or edx, 0x100000
mov dword [esi + 0xd4], edx
jmp 0x45f2a7
and dword [esi + 0xd4], 0xffafffff
mov edx, dword [esi + 0xd4]
mov ebx, edx
and ebx, 0x1f
sub ebx, 2
je 0x45f2be
sub ebx, 2
je 0x45f2d9
jmp 0x45f2f2
test al, al
jne 0x45f2d0
or edx, 0x20
or edx, 0x40
mov dword [esi + 0xd4], edx
jmp 0x45f2f2
and dword [esi + 0xd4], 0xffffff9f
jmp 0x45f2f2
test al, al
je 0x45f2eb
or edx, 0x20
or edx, 0x40
mov dword [esi + 0xd4], edx
jmp 0x45f2f2
and dword [esi + 0xd4], 0xffffff9f
test cl, cl
je 0x45f30e
mov eax, dword [esi + 0xd4]
or eax, 0x40000000
or eax, 0x10000000
mov dword [esi + 0xd4], eax
jmp 0x45f318
and dword [esi + 0xd4], 0xafffffff
mov eax, dword [esi + 0xd4]
mov edx, eax
and edx, 0x1f00
sub edx, 0x200
je 0x45f338
sub edx, 0x200
je 0x45f35c
jmp 0x45f37e
cmp byte [esp], 0
jne 0x45f350
or eax, 0x2000
or eax, 0x4000
mov dword [esi + 0xd4], eax
jmp 0x45f37e
and dword [esi + 0xd4], 0xffff9fff
jmp 0x45f37e
cmp byte [esp], 0
je 0x45f374
or eax, 0x2000
or eax, 0x4000
mov dword [esi + 0xd4], eax
jmp 0x45f37e
and dword [esi + 0xd4], 0xffff9fff
mov edi, dword [esi + 0x14c]
mov eax, edi
call fcn.004541cc
mov ebx, dword [edi + 0x20]
test ebx, ebx
jle 0x45f3a9
dec ebx
mov edx, ebx
mov eax, edi
call fcn.00454940
mov edx, dword [eax]
mov eax, esi
call fcn.0045ee18
test ebx, ebx
jne 0x45f392
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46c048
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x46c076
mov eax, ebx
call fcn.0046caec
cmp dword [ebx + 0x3c], 0
je 0x46c06f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x46c0e7
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x46c0d9
cmp dword [ebx + 8], 0
je 0x46c098
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x46c0aa
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46c0d9
cmp dword [ebx + 8], 0
je 0x46c08b
cmp eax, 3
je 0x46c0bd
dec eax
jne 0x46c08b
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 0x46c08b
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x46c08b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x46c105
cmp dword [ebx + 0x10], 0xcc
je 0x46c105
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046c110
pop ebx
ret
Function at 0x47b654
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040556c
mov eax, dword [ebp - 8]
call fcn.0040556c
xor eax, eax
push ebp
push 0x47b7d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
call fcn.00444b04
test al, al
je 0x47b7b7
mov ecx, dword [ebp + 0xc]
mov dl, 1
mov eax, dword [0x442ad0]
call fcn.00444078
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x47b7ad
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x47b79c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x4905b4]
cmp dword [eax], 0
je 0x47b6e0
mov eax, dword [ebp - 0x10]
add eax, 8
mov edx, dword [0x4905b4]
mov edx, dword [edx]
call fcn.00405124
mov eax, dword [ebp - 0x10]
add eax, 0xd
mov edx, dword [ebp - 4]
call fcn.00405124
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x26], 1
mov eax, dword [ebp - 0x10]
add eax, 0x12
mov edx, dword [ebp - 8]
call fcn.00405124
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [eax + 0xb0], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x46], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x4a], edx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xc], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x7b], 0xa
mov eax, dword [ebp - 0x10]
movzx edx, byte [ebp + 0x18]
mov byte [eax + 0x27], dl
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x11], 0
mov eax, dword [ebp - 0x10]
call fcn.00444190
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa8]
cmp eax, 0xc8
jl 0x47b76c
cmp eax, 0x12c
jge 0x47b76c
mov eax, dword [ebp - 8]
call fcn.0040999c
mov byte [ebp - 9], al
jmp 0x47b786
mov eax, dword [ebp - 8]
call fcn.0040999c
test al, al
je 0x47b786
mov eax, dword [ebp - 8]
call fcn.0040557c
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b7a3
mov eax, dword [ebp - 0x10]
call fcn.004041ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b7d9
lea eax, [ebp - 8]
mov edx, 2
call fcn.004050f4
ret
Function at 0x480074
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.004039a8
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x48380c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x483868
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x483837
call fcn.0040e9fc
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.004030e0
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x483868
call fcn.0040e9fc
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x488b1c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x488c25
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
push 0x488c38
call sub.wininet.dll_InternetOpenA
mov esi, eax
push 0
push 0x200
push 0
push 0
mov eax, ebx
call fcn.0040557c
push eax
push esi
call sub.wininet.dll_InternetOpenUrlA
mov edi, eax
test edi, edi
jne 0x488b77
xor ebx, ebx
jmp 0x488c09
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x201
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20d]
push eax
push 0x13
push edi
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
jne 0x488ba2
xor ebx, ebx
jmp 0x488c03
lea eax, [ebp - 4]
lea edx, [ebp - 0x20d]
mov ecx, 0x201
call fcn.00405340
mov eax, dword [ebp - 4]
mov edx, 0x488c4c
call fcn.00405514
jne 0x488bc8
mov bl, 1
jmp 0x488c03
mov eax, dword [ebp - 4]
mov edx, 0x488c58
call fcn.00405514
jne 0x488bdb
mov bl, 1
jmp 0x488c03
mov eax, dword [ebp - 4]
mov edx, 0x488c64
call fcn.00405514
jne 0x488bee
xor ebx, ebx
jmp 0x488c03
mov eax, dword [ebp - 4]
mov edx, 0x488c70
call fcn.00405514
jne 0x488c01
xor ebx, ebx
jmp 0x488c03
xor ebx, ebx
push edi
call sub.wininet.dll_InternetCloseHandle
push esi
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488c2c
lea eax, [ebp - 4]
call fcn.004050d0
ret
Function at 0x488c74
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov byte [ebp - 2], dl
mov byte [ebp - 1], al
mov ecx, 0x488e80
mov dl, 1
mov eax, dword [0x4251b4]
call fcn.004252a0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x488e67
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
mov ecx, 0x1000
mov edx, 6
mov eax, 0x488e80
call fcn.00424c34
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.004253b0
test al, al
je 0x488e51
xor eax, eax
push ebp
push 0x488e4a
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0047e860
call sub.kernel32.dll_GetTickCount
mov edi, eax
mov esi, 0x1f
xor eax, eax
call fcn.00446b70
mov ebx, eax
test bl, bl
je 0x488d10
push 0
push 1
push 0x488e94
call sub.wininet.dll_InternetCheckConnectionA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x488d20
mov eax, 0x488ec8
call fcn.00488b1c
mov ebx, eax
test bl, bl
jne 0x488d60
cmp byte [ebp + 0xc], 0
je 0x488d60
push 0x7d0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WaitForSingleObject
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
lea eax, [edi + 0xfa00]
cdq
cmp edx, dword [esp + 4]
jne 0x488d59
cmp eax, dword [esp]
pop edx
pop eax
ja 0x488d5d
jmp 0x488d60
pop edx
pop eax
jle 0x488d60
dec esi
jne 0x488cef
test bl, bl
je 0x488d70
mov dl, 1
mov eax, dword [0x47d254]
call fcn.0047d2b4
mov dl, 1
mov eax, dword [0x450698]
call fcn.00450c40
mov edx, dword [0x4904c4]
mov dword [edx], eax
cmp byte [ebp + 8], 0
jne 0x488dad
test byte [ebp + 0xc], bl
jne 0x488d95
cmp byte [ebp + 0xc], 0
jne 0x488db9
push 0
mov eax, dword [ebp - 8]
push eax
movzx ecx, byte [ebp - 1]
mov dl, 1
mov eax, dword [0x477388]
call fcn.00479cc8
jmp 0x488db9
mov dl, 1
mov eax, dword [0x479fbc]
call fcn.0047b390
cmp byte [ebp + 0xc], 0
je 0x488dc3
test bl, bl
je 0x488dc7
xor eax, eax
jmp 0x488dc9
mov al, 1
push eax
movzx ecx, byte [ebp - 2]
mov dl, 1
mov eax, dword [0x47ee4c]
call fcn.0047eff4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x488e2d
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x488e02
mov eax, dword [ebp - 0xc]
call fcn.0047fa8c
push 0x32
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x44], 0
je 0x488ded
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488e34
mov eax, dword [ebp - 0xc]
call fcn.004041ec
mov eax, dword [0x4904c4]
mov eax, dword [eax]
call fcn.004041ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488e6e
mov eax, dword [ebp - 0x10]
call fcn.004041ec
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x9517008], 0x8088405
inc edx
mov dword [ebx + 0x9517008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cd18
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cd49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cd31
add dl, dl
jne 0x41cd54
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cda5
xor eax, eax
add dl, dl
jne 0x41cd61
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ce42
add dl, dl
jne 0x41cd70
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cd7b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cd86
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cd91
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cd9b
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cd40
mov eax, 1
add dl, dl
jne 0x41cdb3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cdbe
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cdaa
sub eax, ebx
mov ebx, 1
jne 0x41cdf1
mov ecx, 1
add dl, dl
jne 0x41cdd7
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cde2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cdce
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd40
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41ce08
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41ce13
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cdff
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd40
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41ce63
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cd40
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret