joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438b30
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esi + 0xc]
push ebp
mov ebp, dword [eax]
mov eax, dword [esp + 8]
sub eax, 3
push edi
je 0x438bea
sub eax, 2
je 0x438b8d
sub eax, 1
je 0x438b69
push str.tftp_rx:_internal_error
push 0x4ebbdc
push ebp
call fcn.00426270
add esp, 0xc
pop edi
mov eax, 0x47
pop ebp
ret
inc dword [esi + 0x14]
mov eax, dword [esi + 0x14]
push eax
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
push ebp
call fcn.004261e0
mov ecx, dword [esi + 0x14]
add esp, 0xc
cmp ecx, dword [esi + 0x1c]
jle 0x438b98
mov dword [esi + 8], 0xffffff9d
pop edi
mov dword [esi], 3
xor eax, eax
pop ebp
ret
mov edx, dword [esi + 0x138]
push edx
mov edx, dword [esi + 0x10]
lea eax, [esi + 0xb8]
push eax
push 0
push 4
lea ecx, [esi + 0x348]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x438cc5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov eax, dword [esi + 0xc]
push eax
call fcn.00429480
push eax
push 0x4ebbdc
push ebp
call fcn.00426270
add esp, 0x14
pop edi
mov eax, 0x37
pop ebp
ret
movzx cx, byte [esi + 0x146]
movzx edx, byte [esi + 0x147]
movzx eax, word [esi + 0x30]
shl cx, 8
movzx edi, cx
or edi, edx
inc eax
cmp eax, edi
je 0x438c41
push edi
push str.Received_unexpected_DATA_packet_block__d_n
push ebp
call fcn.004261e0
inc dword [esi + 0x14]
mov eax, dword [esi + 0x14]
add esp, 0xc
cmp eax, dword [esi + 0x1c]
jle 0x438c41
movzx ecx, word [esi + 0x30]
inc ecx
push ecx
push str.tftp_rx:_giving_up_waiting_for_block__d
push ebp
call fcn.00426270
add esp, 0xc
pop edi
mov eax, 0x47
pop ebp
ret
lea eax, [esi + 0x348]
mov word [esi + 0x30], di
mov dword [esi + 0x14], 0
mov byte [eax], 0
mov byte [eax + 1], 4
movzx ecx, word [esi + 0x30]
mov edx, ecx
shr edx, 8
mov byte [eax + 2], dl
mov byte [eax + 3], cl
mov ecx, dword [esi + 0x138]
push ecx
lea edx, [esi + 0xb8]
push edx
push 0
push 4
push eax
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x438cb0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esi + 0xc]
push eax
push ecx
call fcn.00429480
push eax
push 0x4ebbdc
push ebp
call fcn.00426270
add esp, 0x14
pop edi
mov eax, 0x37
pop ebp
ret
xor edx, edx
cmp dword [esi + 0x13c], 0x204
setl dl
lea edx, [edx + edx + 1]
mov dword [esi], edx
pop edi
xor eax, eax
pop ebp
ret
Function at 0x438cd0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esi + 0xc]
push ebx
mov ebx, dword [eax]
mov eax, dword [esp + 8]
push ebp
push edi
xor edi, edi
sub eax, 4
je 0x438d94
sub eax, 1
je 0x438d2e
sub eax, 1
je 0x438d0a
push str.tftp_tx:_internal_error
push 0x4ebbdc
push ebx
call fcn.00426270
add esp, 0xc
pop edi
pop ebp
xor eax, eax
pop ebx
ret
inc dword [esi + 0x14]
mov eax, dword [esi + 0x14]
push eax
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
push ebx
call fcn.004261e0
mov ecx, dword [esi + 0x14]
add esp, 0xc
cmp ecx, dword [esi + 0x1c]
jle 0x438d3a
mov dword [esi + 8], 0xffffff9d
pop edi
pop ebp
mov dword [esi], 3
xor eax, eax
pop ebx
ret
mov edx, dword [esi + 0x138]
mov ecx, dword [esi + 0x140]
push edx
lea eax, [esi + 0xb8]
push eax
mov eax, dword [esi + 0x10]
push edi
add ecx, 4
push ecx
lea edx, [esi + 0x348]
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x438ed7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esi + 0xc]
push eax
push ecx
call fcn.00429480
push eax
push 0x4ebbdc
push ebx
call fcn.00426270
add esp, 0x14
pop edi
pop ebp
mov eax, 0x37
pop ebx
ret
movzx cx, byte [esi + 0x146]
movzx edx, byte [esi + 0x147]
shl cx, 8
movzx eax, cx
movzx ecx, word [esi + 0x30]
or eax, edx
movzx edx, cx
cmp eax, edx
je 0x438e4c
push edx
push eax
push str.Received_ACK_for_block__d__expecting__d_n
push ebx
call fcn.004261e0
inc dword [esi + 0x14]
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp eax, dword [esi + 0x1c]
jle 0x438df4
movzx eax, word [esi + 0x30]
push eax
push str.tftp_tx:_giving_up_waiting_for_block__d_ack
push ebx
call fcn.00426270
add esp, 0xc
mov edi, 0x37
mov eax, edi
pop edi
pop ebp
pop ebx
ret
mov ecx, dword [esi + 0x138]
mov eax, dword [esi + 0x140]
push ecx
lea edx, [esi + 0xb8]
push edx
mov edx, dword [esi + 0x10]
push edi
add eax, 4
push eax
lea ecx, [esi + 0x348]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x438e46
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov eax, dword [esi + 0xc]
push eax
call fcn.00429480
push eax
push 0x4ebbdc
push ebx
call fcn.00426270
add esp, 0x14
mov edi, 0x37
mov eax, edi
pop edi
pop ebp
pop ebx
ret
mov dword [esi + 0x14], edi
inc ecx
mov word [esi + 0x30], cx
lea edi, [esi + 0x348]
mov byte [edi], 0
mov byte [edi + 1], 3
movzx eax, word [esi + 0x30]
mov ecx, eax
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 3], al
cmp word [esi + 0x30], 1
jbe 0x438e87
cmp dword [esi + 0x140], 0x200
jl 0x438d2e
mov edx, dword [esi + 0xc]
lea ebp, [esi + 0x140]
push ebp
push 0x200
push edx
call fcn.0042dfe0
add esp, 0xc
test eax, eax
jne 0x438eea
mov eax, dword [esi + 0x138]
mov edx, dword [ebp]
push eax
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0xb8]
push ecx
push 0
add edx, 4
push edx
push edi
push eax
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jl 0x438d6c
mov eax, dword [ebp]
cdq
add dword [ebx + 0x40], eax
adc dword [ebx + 0x44], edx
mov edx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x40]
push edx
push eax
push ebx
call fcn.00435150
add esp, 0xc
xor eax, eax
pop edi
pop ebp
pop ebx
ret
Function at 0x439fe0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x18
mov eax, dword [0x52d4d0]
xor eax, esp
mov dword [esp + 0x14], eax
push ebp
mov ebp, dword [esi]
push edi
mov edi, dword [esi + 0xa4]
push 1
push 0
push esi
call fcn.00431d30
add esp, 0xc
test eax, eax
jge 0x43a02d
push str.Timed_out_before_server_could_connect_to_us
push ebp
call fcn.00426270
add esp, 8
pop edi
mov eax, 0x1c
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004a58c9
add esp, 0x18
ret
push eax
push 0xffffffffffffffff
push edi
call fcn.0043dfb0
add esp, 0xc
cmp eax, 0xffffffff
je 0x43a10b
test eax, eax
je 0x43a0e7
push ebx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push edi
or ebx, 0xffffffff
mov dword [esp + 0x18], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x43a086
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x18], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
cmp ebx, 0xffffffff
jne 0x43a0b7
push str.Error_accept__ing_server_connect
push ebp
call fcn.00426270
add esp, 8
pop ebx
pop edi
mov eax, 0x1e
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004a58c9
add esp, 0x18
ret
push str.Connection_accepted_from_server_n
push ebp
call fcn.004261e0
push 1
push ebx
mov dword [esi + 0xa4], ebx
call fcn.00431de0
add esp, 0x10
pop ebx
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004a58c9
add esp, 0x18
ret
push str.Timeout_while_waiting_for_server_connect
push ebp
call fcn.00426270
add esp, 8
pop edi
mov eax, 0x1e
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004a58c9
add esp, 0x18
ret
push str.Error_while_waiting_for_server_connect
push ebp
call fcn.00426270
mov ecx, dword [esp + 0x24]
add esp, 8
pop edi
pop ebp
xor ecx, esp
mov eax, 0x1e
call fcn.004a58c9
add esp, 0x18
ret
Function at 0x43dfb0
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
sub esp, 0x320
push ebp
mov ebp, dword [esp + 0x328]
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0x334]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
cmp ebp, 0xffffffff
jne 0x43e012
cmp edi, ebp
jne 0x43e012
mov eax, dword [esp + 0x338]
cmp eax, esi
je 0x43e006
jge 0x43dfff
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
pop edi
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x320
ret
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x320
ret
push ebx
mov ebx, dword [esp + 0x33c]
cmp ebx, esi
jle 0x43e02d
mov esi, ebx
call fcn.00434980
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
xor ecx, ecx
xor eax, eax
or edx, 0xffffffff
mov dword [esp + 0x24], ecx
mov dword [esp + 0x128], eax
cmp ebp, 0xffffffff
je 0x43e061
mov ecx, 1
mov dword [esp + 0x12c], ebp
mov dword [esp + 0x128], ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ecx
mov edx, ebp
mov dword [esp + 0x22c], eax
cmp edi, 0xffffffff
je 0x43e0a7
mov dword [esp + 0x230], edi
mov dword [esp + 0x22c], 1
test ecx, ecx
jbe 0x43e08e
cmp dword [esp + eax*4 + 0x28], edi
je 0x43e08e
inc eax
cmp eax, ecx
jb 0x43e083
cmp eax, ecx
jne 0x43e09f
cmp ecx, 0x40
jae 0x43e09f
mov dword [esp + eax*4 + 0x28], edi
inc dword [esp + 0x24]
xor eax, eax
cmp edi, edx
jbe 0x43e0a7
mov edx, edi
xor ecx, ecx
cmp ebx, eax
setl cl
lea edi, [esp + 0x18]
dec ecx
and ecx, edi
inc edx
mov ebp, ecx
mov dword [esp + 0x20], edx
jmp 0x43e0c2
xor eax, eax
cmp ebx, eax
jle 0x43e0f1
mov eax, 0x10624dd3
imul esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
imul eax, eax, 0x3e8
mov edx, esi
sub edx, eax
imul edx, edx, 0x3e8
mov dword [esp + 0x1c], edx
jmp 0x43e0fb
jne 0x43e0fb
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push ebp
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x234]
push ecx
lea edx, [esp + 0x134]
push edx
push eax
call dword [sym.imp.WS2_32.dll_select]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43e15d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x43e134
cmp eax, 0x2714
jne 0x43e15d
test ebx, ebx
jle 0x43e0c0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.00434980
push edx
push eax
call fcn.004349b0
mov esi, ebx
sub esi, eax
add esp, 0x10
test esi, esi
jg 0x43e0c0
pop ebx
test edi, edi
jl 0x43dff2
je 0x43e006
mov edi, dword [esp + 0x330]
xor esi, esi
cmp edi, 0xffffffff
je 0x43e1a3
lea eax, [esp + 0x124]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43e191
mov esi, 1
lea ecx, [esp + 0x20]
push ecx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43e1a3
or esi, 4
mov edi, dword [esp + 0x334]
cmp edi, 0xffffffff
je 0x43e1d6
lea edx, [esp + 0x228]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43e1c4
or esi, 2
lea eax, [esp + 0x20]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43e1d6
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x320
ret
Function at 0x43e1f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], 0
mov dword [eax], 0
call fcn.00434980
mov ecx, dword [esi + 0x9c]
push ecx
mov ecx, dword [esi + 0x98]
push ecx
push edx
push eax
call fcn.004349b0
add esp, 0x10
cmp eax, ebx
jg 0x43e296
mov edi, edi
mov edx, ebx
sub edx, eax
mov eax, dword [esp + 0x14]
push edx
push 0xffffffffffffffff
push eax
call fcn.0043dfb0
add esp, 0xc
test eax, eax
jle 0x43e296
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
push edi
push ebp
push edx
push esi
call fcn.00425ee0
add esp, 0x14
test eax, eax
jne 0x43e299
mov eax, dword [esp + 0xc]
cmp edi, eax
je 0x43e29f
test eax, eax
je 0x43e296
add dword [esp + 8], eax
sub edi, eax
add ebp, eax
call fcn.00434980
mov ecx, dword [esi + 0x9c]
push ecx
mov ecx, dword [esi + 0x98]
push ecx
push edx
push eax
call fcn.004349b0
add esp, 0x10
cmp eax, ebx
jle 0x43e230
or eax, 0xffffffff
pop edi
pop ebp
add esp, 8
ret
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x1c]
add eax, edx
pop edi
mov dword [ecx], eax
xor eax, eax
pop ebp
add esp, 8
ret

Function at 0x43ede0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x52d4d0]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.004ad612
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x43ee45
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x43ee45
lea edx, [esp]
push edx
call dword [0x522150]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004a58c9
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.004a58c9
add esp, 0x108
ret
jmp 0x43ede0

Function at 0x43ee60
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x52d4d0]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.004ad612
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x43ee45
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x43ee45
lea edx, [esp]
push edx
call dword [0x522150]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004a58c9
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.004a58c9
add esp, 0x108
ret
jmp 0x43ede0
Function at 0x442910
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
mov eax, dword [0x52d4d0]
xor eax, esp
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x64]
push esi
mov eax, edx
push edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 8], 0x67452301
mov dword [esp + 0xc], 0xefcdab89
mov dword [esp + 0x10], 0x98badcfe
mov dword [esp + 0x14], 0x10325476
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x442960
sub eax, esi
push edx
lea esi, [esp + 0xc]
call fcn.00442790
add esp, 4
mov edx, esi
mov ecx, edi
call fcn.00442830
mov ecx, dword [esp + 0x60]
pop edi
pop esi
xor ecx, esp
call fcn.004a58c9
add esp, 0x5c
ret

Function at 0x4438c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x474
call fcn.004ad960
mov eax, dword [0x52d4d0]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x3c], 0
test esi, esi
jne 0x443907
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.004a58c9
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x48]
push eax
push esi
call fcn.004adac9
mov edi, eax
add esp, 8
mov eax, 8
call fcn.004ad960
fldz
fstp qword [esp]
lea ecx, [esp + 0x50]
push 0x30
push ecx
call fcn.00443730
add esp, 0x10
test edi, edi
jl 0x4438f0
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4438f0
push 0x4ebcb4
push esi
call fcn.004a90d2
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
je 0x4439e1
jmp 0x443964
mov eax, dword [esp + 0x40]
test ebx, ebx
jle 0x443972
cmp ebx, 0x400
mov esi, ebx
jl 0x443977
mov esi, 0x400
push eax
push esi
lea edx, [esp + 0x80]
push 1
push edx
call fcn.004aa2ff
mov edi, eax
add esp, 0x10
mov dword [esp + 0x44], edi
test edi, edi
jle 0x4439c5
fild dword [esp + 0x44]
mov eax, 8
call fcn.004ad960
lea eax, [esp + 0x80]
fstp qword [esp]
push esi
push eax
call fcn.00443730
add dword [esp + 0x4c], edi
add esp, 0x10
test ebx, ebx
jle 0x443960
sub ebx, esi
test ebx, ebx
jg 0x443960
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004a887c
lea edx, [esp + 0x7c]
push 0x400
push edx
call fcn.0044ca90
add esp, 0xc
mov ecx, dword [esp + 0x47c]
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a58c9
mov esp, ebp
pop ebp
ret
Function at 0x443be0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x74
call fcn.004ad960
mov eax, dword [0x52d4d0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
mov ebx, eax
push edi
mov dword [esp + 0x48], ebx
call esi
push 0xa
push edi
mov dword [esp + 0x4c], eax
call esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
push 0x10
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push ebx
mov dword [esp + 0x50], esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x50]
push ecx
push 0x18
push esi
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_GetObjectA]
movzx esi, word [esp + 0x60]
imul esi, dword [esp + 0x58]
imul esi, dword [esp + 0x5c]
push 0x2bb
push str..crypto_rand_rand_win.c
push esi
call fcn.00447770
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
je 0x443d28
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
xor ebx, ebx
mov dword [esp + 0x38], ecx
test ecx, ecx
jle 0x443d1b
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push 0xcc0020
push ebx
push 0
push edi
push 0x10
push edx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
push ecx
push esi
push edx
call dword [sym.imp.GDI32.dll_GetBitmapBits]
push 0
call fcn.0044ba80
mov ecx, dword [esp + 0x40]
push eax
push 0
lea eax, [esp + 0x74]
push eax
push esi
push ecx
call fcn.0044be30
add esp, 0x18
mov eax, 8
call fcn.004ad960
fldz
fstp qword [esp]
lea edx, [esp + 0x70]
push 0x14
push edx
call fcn.00443730
add ebx, 0x10
add esp, 0x10
cmp ebx, dword [esp + 0x38]
jl 0x443ca3
mov eax, dword [esp + 0x3c]
push eax
call fcn.00447920
mov ebx, dword [esp + 0x44]
add esp, 4
mov eax, dword [esp + 0x4c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call esi
push edi
call esi
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a58c9
mov esp, ebp
pop ebp
ret
Function at 0x444410
Capabilities:
Capture screenshot

Disassembly:
call fcn.00443d60
jmp fcn.00443be0
Function at 0x44a630
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
lea eax, [ecx + 1]
ret
Function at 0x47f2a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4254
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x52d4d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
call fcn.004d6930
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xc], str.DownloadUrlResponse
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x14], 0x4fec8c
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x18], 0x4fec94
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x1c], 0x4fec98
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x20], str.Location
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x24], str.Resource
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x28], str.SerialNumber
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x2c], 0x4fecc4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x30], 0x4feccc
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x34], 0x4fecd4
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x38], 0x4fecd8
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x3c], str.Message
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x40], 0x4fece4
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x44], str.OfferID
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x48], str.BrandID
push 0x4fec77
mov ecx, dword [ebp - 0x20]
add ecx, 0x4c
call fcn.004011f0
mov byte [ebp - 4], 2
push 0x4feca5
mov ecx, dword [ebp - 0x20]
add ecx, 0x68
call fcn.004011f0
mov byte [ebp - 4], 3
push 0x4feca6
mov ecx, dword [ebp - 0x20]
add ecx, 0x84
call fcn.004011f0
mov byte [ebp - 4], 4
push 0x4feca7
mov ecx, dword [ebp - 0x20]
add ecx, 0xa0
call fcn.004011f0
mov byte [ebp - 4], 5
push 0x4fecb1
mov ecx, dword [ebp - 0x20]
add ecx, 0xbc
call fcn.004011f0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xd8], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0xdc
call fcn.0047fe70
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x20]
add ecx, 0xfc
call fcn.00403310
push 0x78
call fcn.00488707
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 0
je 0x47f42f
mov ecx, dword [ebp - 0x18]
call fcn.00422720
mov dword [ebp - 0x24], eax
jmp 0x47f436
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x104], eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp + 8]
push edx
call fcn.00401230
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x20]
call fcn.0047f620
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401270
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x489118
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x48913c
cmp dword [edi + 0x54], 0
jne 0x48913c
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00495011
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004890d9
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x48f1f8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x48f23f
call fcn.00495011
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x48f23f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x48f25b
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0048ed70
mov esi, eax
test edi, edi
je 0x48f259
test ebx, ebx
je 0x48f259
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x48fa28
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4e5560
call fcn.004ad9bf
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x48fa4d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x48fa93
lea ecx, [ebp - 0x10]
call fcn.00403660
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00489206
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402df0
mov eax, esi
call fcn.004ada97
ret 8