joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450b94
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00450ab8
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004036b0
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x450bf8
call fcn.00450388
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x450bea
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004036b0
pop esi
pop ebx
ret

Function at 0x450d78
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.0040473c
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402dc8
test ebx, ebx
je 0x450dc3
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x450ea0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x450ed1
mov ecx, dword [0x454fac]
mov dl, 1
mov eax, dword [0x44f8dc]
call fcn.00409ea8
call fcn.00403c68
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x450efe
mov ecx, dword [0x454df8]
mov dl, 1
mov eax, dword [0x44f8dc]
call fcn.00409ea8
call fcn.00403c68
xor eax, eax
push ebp
push 0x450f7f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.004036b0
cmp byte [ebp + 8], 0
je 0x450f59
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00450e08
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
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 edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00450b14
jmp 0x450f75
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00450674
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x450f9c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x451180
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0045093c
xor eax, eax
push ebp
push 0x4512f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x4512dc
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4511cb
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4511d5
call fcn.00403d14
jmp 0x4512f9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415bfc
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 8]
mov ebx, eax
test ebx, ebx
jle 0x4512d1
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x451283
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x451270
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004036b0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00451138
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x451304]
cmp dl, byte [eax + 0x28]
je 0x4512d8
call fcn.00409d90
jmp 0x4512d8
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415c1c
jmp 0x4512d8
cmp ecx, ebx
jge 0x45129f
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415c1c
jmp 0x4511d5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415bfc
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415c30
cmp edx, dword [esp + 4]
jne 0x4512c0
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4511d5
push ebp
call fcn.00451138
pop ecx
jmp 0x4512d8
push ebp
call fcn.00451138
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4512f9
mov eax, dword [ebp - 4]
call fcn.00450948
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451308
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45142a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045093c
xor eax, eax
push ebp
push 0x45140d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x451358
call fcn.00403d14
jmp 0x451414
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4513f7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4513f7
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004036b0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4513f7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00409598
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x451444
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x454edc]
mov dl, 1
mov eax, dword [0x44f8dc]
call fcn.00409ee4
call fcn.00403c68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451414
mov eax, dword [ebp - 4]
call fcn.00450948
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451431
lea eax, [ebp - 0x28]
call fcn.0040428c
ret
Function at 0x451490
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4515da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045093c
xor eax, eax
push ebp
push 0x4515bd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4514f5
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4514f5
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4515a7
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x451508
call fcn.00403d14
jmp 0x4515c4
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4515a7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4515a7
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004036b0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4515a7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00409598
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4515f4
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x454edc]
mov dl, 1
mov eax, dword [0x44f8dc]
call fcn.00409ee4
call fcn.00403c68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4515c4
mov eax, dword [ebp - 4]
call fcn.00450948
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4515e1
lea eax, [ebp - 0x28]
call fcn.0040428c
ret
Function at 0x10002900
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x11be9cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x41c
push ebx
xor ebx, ebx
push esi
mov esi, dword [esp + 0x434]
lea eax, [esp + 0xc]
push ebx
lea ecx, [esp + 0xc]
push eax
push ecx
push 0x20000013
mov ecx, esi
mov dword [esp + 0x1c], 4
call fcn.1001c973
cmp eax, ebx
je 0x10002a0c
mov eax, dword [esp + 8]
cmp eax, 0xc8
jb 0x10002a0c
cmp eax, 0x12c
jae 0x10002a0c
lea ecx, [esp + 0x10]
call fcn.10016579
mov edx, dword [esp + 0x438]
mov dword [esp + 0x42c], ebx
mov eax, dword [edx + 4]
cmp eax, ebx
jne 0x1000298a
mov eax, 0x11c0440
push ebx
push 0x9001
push eax
lea ecx, [esp + 0x1c]
call fcn.10016687
test eax, eax
je 0x100029f8
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], bl
push 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x2c]
stosb byte es:[edi], al
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x34]
cmp eax, ebx
pop edi
jbe 0x100029ed
lea edx, [esp + 0x24]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.100167c7
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push 0x400
push ecx
mov ecx, esi
call dword [eax + 0x34]
cmp eax, ebx
ja 0x100029c9
lea ecx, [esp + 0x10]
call fcn.100169b7
mov bl, 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x42c], 0xffffffff
call fcn.10016644
mov ecx, dword [esp + 0x424]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x428
ret

Function at 0x100042a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov edx, edi
mov byte [edx], al
inc eax
inc edx
cmp ax, 0x100
jl 0x100042b1
mov byte [edi + 0x100], cl
mov byte [edi + 0x101], cl
mov byte [esp + 0x24], cl
mov esi, edi
mov dword [esp + 0x10], 0x100
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov dl, byte [esi]
and eax, 0xff
xor ebx, ebx
mov bl, byte [eax + ebp]
mov ebp, edx
and ebp, 0xff
add ecx, ebx
add ecx, ebp
and ecx, 0x800000ff
jns 0x10004305
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x14], cl
mov ecx, dword [esp + 0x14]
and ecx, 0xff
inc eax
mov bl, byte [ecx + edi]
mov byte [esi], bl
mov byte [ecx + edi], dl
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc esi
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x100042d5
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x10004340
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
xor edi, edi
mov byte [esp + 8], cl
cmp esi, edi
mov byte [esp + 0x24], dl
mov dword [esp + 0x10], edi
jle 0x10004449
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x24]
push ebx
and ecx, 0xff
push ebp
and esi, 0xff
lea edx, [ecx + 1]
and edx, 0x800000ff
jns 0x10004398
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x10], dl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov bl, byte [ecx + eax]
mov byte [esp + 0x1c], bl
and ebx, 0xff
add ebx, esi
and ebx, 0x800000ff
jns 0x100043c5
dec ebx
or ebx, 0xffffff00
inc ebx
mov byte [esp + 0x2c], bl
mov bl, byte [esp + 0x1c]
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x14], bl
and esi, 0xff
mov ebp, dword [esp + 0x14]
and ebp, 0xff
mov bl, byte [esi + eax]
mov byte [ecx + eax], bl
mov bl, byte [esp + 0x14]
mov byte [esi + eax], bl
xor ebx, ebx
mov bl, byte [ecx + eax]
add ebx, ebp
and ebx, 0x800000ff
jns 0x10004409
dec ebx
or ebx, 0xffffff00
inc ebx
mov ebp, dword [esp + 0x24]
and ebx, 0xff
mov bl, byte [ebx + eax]
xor byte [edi + ebp], bl
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
inc edi
mov dword [esp + 0x18], edi
movsx edi, di
cmp edi, ebx
jl 0x10004385
mov cl, byte [esp + 0x2c]
pop ebp
pop ebx
pop edi
mov byte [eax + 0x100], dl
mov byte [eax + 0x101], cl
pop esi
add esp, 0x10
ret
pop edi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop esi
add esp, 0x10
ret

Function at 0x1001c1a3
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x11bebbb
call fcn.100071d8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.10016579
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x11c7190]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], 0x11c0734
call fcn.100162f8
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.100162f8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x436b30
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x472e18
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00431430
test eax, eax
je 0x436c38
lea ecx, [esp + 0xc]
call fcn.004079f0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00431430
mov ecx, eax
call fcn.0042ebd0
test eax, eax
je 0x436c1f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x436c1f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x436c1f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
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 + 0x10]
call fcn.00407bf0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x436c01
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x436c1f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x5a2dd8]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x577180
call fcn.00407bf0
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x4399b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4730a8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4399e9
inc eax
mov dword [esi + 0x10], eax
jmp 0x439afc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4399fd
mov eax, 0xffffffc7
jmp 0x439afe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x439a0e
cmp dword [esi + 8], eax
jne 0x4399fd
cmp dword [esi + 8], eax
jne 0x439a27
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x439a27
mov eax, 0xffffffc7
jmp 0x439afe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x439a3b
push eax
mov ecx, ebx
call fcn.004391e0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004079f0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x439a6c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00407a10
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00438950
test eax, eax
mov dword [esp + 0x38], eax
je 0x439a9f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x577180
call fcn.00407bf0
mov eax, dword [esp + 0x38]
jmp 0x439afe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00439810
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x439ae3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00439830
mov esi, eax
test esi, esi
jne 0x439b13
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00439810
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x439ab5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x577180
call fcn.00407bf0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x577180
call fcn.00407bf0
mov eax, esi
jmp 0x439afe

Function at 0x43cc30
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43cc90
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43cc90
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43cc90
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43cc90
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43ccd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x407487
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x407524
push ebx
push esi
call fcn.00407450
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00407399
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4074d1
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x407523
push edi
push eax
call fcn.00407fb6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4074f1
call fcn.00405fc2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x407522
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00407399
add esp, 0x20
test eax, eax
jne 0x407510
push edi
call fcn.00405fc2
jmp 0x407518
push ebx
call fcn.00405fc2
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x408739
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410fd8
push 0x410fd0
push str.FlsAlloc
push 0x1e
call fcn.004085fa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40876d
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f134]
call esi
jmp 0x408773
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4087b7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410fe8
push 0x410fe0
push str.FlsGetValue
push 0x20
call fcn.004085fa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4087ee
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f134]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10001c10
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
mov esi, dword [ebp + 0xc]
xor edx, edx
or eax, 0xffffffff
mov ecx, dword [ebp + 8]
lea esp, [esp]
lea esp, [esp]
nop
mov dl, byte [esi]
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x10001050]
add esi, 1
sub ecx, 1
jne 0x10001c30
not eax
pop edx
pop ecx
pop esi
leave
ret 8

Function at 0x100071ae
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push esi
push edi
mov esi, dword [ebp + 8]
xor ecx, ecx
jmp 0x100071f2
inc ecx
cmp ecx, dword [0x1000e519]
jne 0x100071f2
push 0x400
push 0x10021e45
push 0x16
push dword [0x1000d8a2]
call fcn.10007656
push 0x10021e45
call fcn.10002eb0
xor eax, eax
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 0x14
cmp dword [ecx + esi], 0x4550
jne 0x100071bd
add esi, ecx
mov eax, dword [ebp + 8]
add eax, dword [0x1000e519]
cmp dword [eax - 4], 0x32505564
jne 0x10007232
push 0x400
push 0x10022245
push 0x17
push dword [0x1000d8a2]
call fcn.10007656
push 0x10022245
call fcn.10002eb0
jmp 0x100071e7
push esi
movzx eax, word [esi + 6]
dec eax
imul eax, eax, 0x28
movzx ecx, word [esi + 0x14]
add esi, 0x18
add esi, ecx
mov edi, esi
or dword [edi + 0x24], 0x80000000
add edi, eax
pop esi
mov dword [0x1000698d], 0
cmp dword [ebp + 0xc], 4
jne 0x10007267
or dword [0x1000698d], 1
test dword [ebp + 0x18], 0x40
je 0x10007277
or dword [0x1000698d], 2
mov ebx, dword [esi + 0x28]
mov dword [0x10006985], ebx
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
mov dword [esi + 0x28], eax
cmp dword [ebp + 0xc], 4
jne 0x10007299
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 0x10]
add eax, ebx
jmp 0x1000729b
xor eax, eax
mov dword [0x10006991], eax
mov eax, dword [ebp + 8]
add eax, dword [edi + 0x14]
add eax, dword [edi + 0x10]
mov ecx, 0x10006730
mov ebx, 0x278
mov edx, eax
add edx, ebx
push edx
push ebx
push ecx
push eax
call fcn.1000776a
pop edx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x16]
lea ecx, [eax + ecx]
mov ebx, dword [0x1000d880]
sub ebx, eax
push ebx
push ecx
push edx
call fcn.1000776a
mov eax, dword [ebp + 0x10]
push 0x100
push eax
call fcn.10007ae0
add dword [edi + 8], eax
mov eax, dword [ebp + 0x10]
add dword [edi + 0x10], eax
or dword [edi + 0x24], 0xe0000000
mov eax, dword [edi + 0xc]
add eax, dword [edi + 8]
mov ebx, dword [esi + 0x38]
push ebx
push eax
call fcn.10007ae0
mov dword [esi + 0x50], eax
mov ecx, dword [ebp + 8]
add ecx, dword [0x1000e529]
mov byte [ecx - 1], 0x32
mov byte [ecx - 2], 0x50
mov byte [ecx - 3], 0x55
mov byte [ecx - 4], 0x64
xor eax, eax
inc eax
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 0x14