joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4044b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41af28
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x422674]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x404641
cmp byte [ebx + 0x49], 0
je 0x404641
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x404635
lea esi, [ebp - 0x2c]
call fcn.00403fb0
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x404523
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
mov edi, dword [ebp - 0x1c]
add edi, edx
push edi
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x40455c
dec eax
je 0x404560
sub eax, 2
lea ecx, [ebp - 0x2c]
je 0x40463c
call fcn.004026b0
xor al, al
jmp 0x404643
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x404570
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x40459d
cmp edi, 0x10
jae 0x40457f
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00409d3c
add esp, 0x10
cmp esi, eax
jne 0x40462d
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x404639
test esi, esi
jne 0x404517
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x40465e
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x40465e
cmp edi, esi
jae 0x404616
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00406240
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x404517
mov ecx, eax
cmp edi, 0x10
jae 0x4045f2
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x40460d
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x404511
test esi, esi
jne 0x4045e8
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x404625
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x404511
lea ecx, [ebp - 0x2c]
call fcn.004026b0
xor al, al
jmp 0x404643
lea ecx, [ebp - 0x2c]
call fcn.004026b0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00407da6
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.00407ae1
int3
Function at 0x4054d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ad5b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x422674]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00407b9c
push 4
mov dword [ebp - 4], 0
call fcn.0040848e
mov edi, eax
add esp, 4
test edi, edi
je 0x40554c
call fcn.004075ef
mov dword [edi], eax
call fcn.004073ae
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004072e3
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x405542
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0040730b
jmp 0x40554e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x407da6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422674]
jne 0x407db0
repz ret
jmp fcn.0040c88c
Function at 0x415fc9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x422674]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040d181
and dword [ebp - 0x14], 0
cmp dword [0x4249c8], 0
mov dword [ebp - 0x18], eax
jne 0x41607c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416124
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x416124
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4249c8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4249cc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4249d0], eax
call edi
push eax
call esi
mov dword [0x4249d8], eax
test eax, eax
je 0x41607c
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4249d4], eax
mov eax, dword [0x4249d4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4160d5
cmp dword [0x4249d8], ecx
je 0x4160d5
push eax
call esi
push dword [0x4249d8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4160d5
test ebx, ebx
je 0x4160d5
call edi
test eax, eax
je 0x4160cc
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4160cc
test byte [ebp - 8], 1
jne 0x4160d5
or dword [ebp + 0x10], 0x200000
jmp 0x416108
mov eax, dword [0x4249cc]
cmp eax, dword [ebp - 0x18]
je 0x416108
push eax
call esi
test eax, eax
je 0x416108
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x416108
mov eax, dword [0x4249d0]
cmp eax, dword [ebp - 0x18]
je 0x416108
push eax
call esi
test eax, eax
je 0x416108
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4249c8]
call esi
test eax, eax
je 0x416124
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416126
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407da6
leave
ret
Function at 0xadb5a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x684000]
push edi
jmp 0xadb5ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xadb5c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xadb5b0
mov eax, 1
add ebx, ebx
jne 0xadb5d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xadb5e4
jne 0xadb603
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xadb603
dec eax
add ebx, ebx
jne 0xadb5f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xadb5c8
add ebx, ebx
jne 0xadb5ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xadb655
xor ecx, ecx
sub eax, 3
jb 0xadb61b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xadb68a
sar eax, 1
mov ebp, eax
jmp 0xadb626
add ebx, ebx
jne 0xadb626
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xadb5f4
inc ecx
add ebx, ebx
jne 0xadb634
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xadb5f4
add ebx, ebx
jne 0xadb641
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xadb636
jne 0xadb652
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xadb636
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xadb674
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xadb666
jmp 0xadb5b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xadb674
add edi, ecx
jmp 0xadb5b6
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xadb692
cmp byte [edi], 0x11
jne 0xadb692
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 0xadb697
lea edi, [esi + 0x6d4000]
mov eax, dword [edi]
or eax, eax
je 0xadb70f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcddcf0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xcdde6c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xadb6c4
mov ecx, edi
jns 0xadb6f3
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 + str.__d_r]
or eax, eax
je 0xadb709
mov dword [ebx], eax
add ebx, 4
jmp 0xadb6e1
call dword [esi + 0xcdde80]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xadb740
cmp al, 0xef
ja 0xadb733
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xadb715
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xadb722
mov ebp, dword [esi + 0xcdde74]
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 0xadb774
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..pdata
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7c5000d8
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..pdata_1
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x38d37841
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x402fe6
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov edi, dword [ebp + 8]
mov edi, dword [edi]
push edi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
pop edi
mov esi, ecx
not esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [eax + 0x10]
push dword [eax]
xor eax, eax
push edx
mov ecx, dword [edx + 0x30]
movzx ebx, byte [eax + edi]
movzx edx, byte [ecx + eax*2]
sub ebx, edx
cmp ebx, 0
je 0x40302d
cmp ebx, 0x20
je 0x40302d
cmp ebx, 0xffffffe0
je 0x40302d
jne 0x403036
add eax, 1
cmp esi, eax
je 0x403043
jne 0x403012
pop edx
mov edx, dword [edx]
xor eax, eax
pop ebx
cmp ebx, edx
push ebx
je 0x403047
jne 0x40300e
pop edx
mov eax, dword [edx + 0x18]
leave
ret 4

Function at 0x40305b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x40311c
test ecx, ecx
je 0x40311c
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x40311c
test ebx, ebx
je 0x40311c
mov ebx, eax
add ebx, edx
je 0x40311c
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x40311c
cmp dword [edx + eax + 0x14], 0
je 0x40311c
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x40311c
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x40310c
test dl, dl
je 0x403108
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x40310c
add edi, 2
add esi, 2
test dl, dl
jne 0x4030ec
xor eax, eax
jmp 0x403111
sbb eax, eax
or eax, 1
test eax, eax
je 0x403128
inc ebp
cmp ebp, dword [esp + 4]
jb 0x4030d9
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x40401e
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40404c
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x404043
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x40403b
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40406d
mov esp, ebp
pop ebp
ret

Function at 0x404071
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x4040dd
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x40410a
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x4040f9
xor ecx, eax
xor edx, ebx
dec edi
jne 0x4040ea
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x404130
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x4040d1
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40415c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404ec0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.00405a00
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0x417440
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x404f82
mov ecx, dword [esp + 0x10]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0xc], eax
jle 0x404f7b
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ebx, [edi + 4]
mov ecx, dword [ebx]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
push 0
push 0x3a8
call ebp
mov esi, eax
test esi, esi
jle 0x404f66
lea edx, [esi + 1]
push edx
call fcn.00404ae0
mov edi, eax
add esp, 4
test edi, edi
je 0x404f58
mov eax, dword [ebx]
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push eax
push 0
push 0x3a8
call ebp
mov byte [eax + edi], 0
push edi
lea ecx, [esp + 0x20]
call fcn.00405c90
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x404f12
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx]
test eax, eax
je 0x404f95
push eax
call fcn.00405e30
add esp, 4
mov edi, dword [esp + 0x28]
shr edi, 2
shl edi, 2
lea ecx, [edi + 8]
push ecx
call fcn.00404ae0
mov dword [eax], 1
mov edx, dword [esp + 0x2c]
shr edx, 2
mov dword [eax + 4], edx
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
add esp, 4
neg esi
sbb esi, esi
and esi, ecx
mov ecx, edi
mov edx, ecx
lea edi, [eax + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
mov dword [ebx], eax
mov dword [esp + 0x18], 0x41743c
call fcn.00405c00
pop edi
pop esi
pop ebx
add esp, 0x20
ret

Function at 0x405070
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
sub esp, 0x294
lea eax, [esp + 0x104]
push esi
push eax
push 0x202
xor esi, esi
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x4050c2
lea ecx, [esp + 4]
push 0x104
push ecx
call sub.WS2_32.dll_gethostname
test eax, eax
jne 0x4050bd
lea edx, [esp + 4]
push edx
call dword [0x43aad4]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.00405e90
add esp, 0xc
mov esi, eax
call sub.WS2_32.dll_WSACleanup
mov eax, esi
pop esi
add esp, 0x294
ret

Function at 0x4055c0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x4055de
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x4055d3
pop esi
ret
Function at 0x415051
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41507f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41509d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00414fb7
jmp 0x41509d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41509d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00414fb7
test edi, edi
mov eax, edi
jne 0x415087
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x430052
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00428103
and dword [ebp - 4], 0
cmp dword [0x451fe0], 0
mov ebx, eax
jne 0x430103
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4301b4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4301b4
push eax
call fcn.00428091
mov dword [esp], 0x44036c
push edi
mov dword [0x451fe0], eax
call esi
push eax
call fcn.00428091
mov dword [esp], 0x440358
push edi
mov dword [0x451fe4], eax
call esi
push eax
call fcn.00428091
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x451fe8], eax
call esi
push eax
call fcn.00428091
pop ecx
mov dword [0x451ff0], eax
test eax, eax
je 0x430103
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00428091
pop ecx
mov dword [0x451fec], eax
mov eax, dword [0x451fec]
cmp eax, ebx
je 0x43015b
cmp dword [0x451ff0], ebx
je 0x43015b
push eax
call fcn.0042810c
push dword [0x451ff0]
mov esi, eax
call fcn.0042810c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43015b
test edi, edi
je 0x43015b
call esi
test eax, eax
je 0x430152
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x430152
test byte [ebp - 0xc], 1
jne 0x43015b
or dword [ebp + 0x10], 0x200000
jmp 0x430194
mov eax, dword [0x451fe4]
cmp eax, ebx
je 0x430194
push eax
call fcn.0042810c
pop ecx
test eax, eax
je 0x430194
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x430194
mov eax, dword [0x451fe8]
cmp eax, ebx
je 0x430194
push eax
call fcn.0042810c
pop ecx
test eax, eax
je 0x430194
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x451fe0]
call fcn.0042810c
pop ecx
test eax, eax
je 0x4301b4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4301b6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401d50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x418de9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4bc5d0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x10]
push eax
xor ebx, ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x30]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.QL_Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push 0x41ce08
mov ecx, eax
mov dword [esp + 0x40], ebx
call dword [sym.imp.QL_Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov edx, dword [sym.imp.QL_Core.dll_struct_QMetaObject_const_QIODevice::staticMetaObject]
mov ecx, dword [sym.imp.QL_Core.dll_public:_void___thiscall_QIODevice::readyRead_void_]
mov edi, dword [sym.imp.QL_Core.dll_private:_static_bool___cdecl_QObject::disconnectImpl_class_QObject_const___void____class_QObject_const___void____struct_QMetaObject_const__]
push edx
mov edx, dword [esi + 0x40]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], ecx
push esi
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x24], 0x4018f0
call edi
mov ecx, dword [sym.imp.QL_Network.dll_struct_QMetaObject_const_QNetworkReply::staticMetaObject]
mov eax, dword [sym.imp.QL_Network.dll_public:_void___thiscall_QNetworkReply::error_enum_QNetworkReply::NetworkError_]
push ecx
mov ecx, dword [esi + 0x40]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x38], eax
push esi
lea eax, [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0x40], fcn.00401980
call edi
mov ecx, dword [esp + 0x6c]
add esp, 0x28
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QObject::deleteLater_void_]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
cmp byte [esi + 0xc], bl
je 0x401e66
mov ecx, dword [esi + 0x2c]
mov byte [esi + 0xc], bl
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QTimer::stop_void_]
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x24]
cmp ecx, ebx
je 0x401e4e
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 1
call eax
push ecx
lea edx, [esi + 0x3c]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, esi
call fcn.00416a20
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret 4