joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ca40
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5148c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 8], 0xffffffff
je 0x42ca6a
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a4c3
mov esp, ebp
pop ebp
ret
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x42ca59
cmp dword [esi + 8], 0xffffffff
jne 0x42ca59
push 4
lea ecx, [ebp - 8]
mov dword [esi + 8], eax
push ecx
push 4
push 0xffff
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0049a4c3
mov esp, ebp
pop ebp
ret

Function at 0x42cab0
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x5148c8]
xor eax, esp
mov dword [esp + 0x34], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
lea ecx, [esp + 0x20]
push edi
mov dword [esp + 0xc], esi
call fcn.004090f0
cmp dword [esp + 0x34], 0
je 0x42cb9e
push dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, 2
movdqa xmmword [esp + 0x14], xmm0
mov word [esp + 0x14], ax
call dword [sym.imp.WS2_32.dll_ntohs]
cmp dword [esp + 0x38], 0x10
mov word [esp + 0x12], ax
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
je 0x42cb39
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push 0x10
push eax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
setns al
jmp 0x42cba0
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x42cb9e
mov ecx, dword [edi + 0xc]
xor esi, esi
cmp dword [ecx], esi
je 0x42cb9e
xor edx, edx
nop
movsx eax, word [edi + 0xa]
push eax
push dword [ecx + edx]
lea eax, [esp + 0x1c]
push eax
call fcn.004a3b50
add esp, 0xc
lea eax, [esp + 0x10]
push 0x10
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 8]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x42cbce
mov ecx, dword [edi + 0xc]
inc esi
cmp dword [ecx + esi*4], 0
lea edx, [esi*4]
jne 0x42cb60
xor al, al
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0xb], al
jb 0x42cbbb
push dword [esp + 0x24]
call fcn.0048d9a0
mov al, byte [esp + 0xf]
add esp, 4
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.0049a4c3
mov esp, ebp
pop ebp
ret 8
mov al, 1
jmp 0x42cba0
Function at 0x42d410
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov ecx, edi
mov esi, dword [edi + 0x10]
call fcn.004075b0
push 0
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, esi
jge 0x42d454
test eax, eax
jle 0x42d45d
mov ecx, edi
sub esi, eax
call fcn.004075b0
push 0
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, esi
jl 0x42d436
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4

Function at 0x42d580
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x5148c8]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
cmp dword [eax + 0x14], 8
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [esp + 0x34], 0x4f82b4
mov dword [esp + 0x38], 0
jb 0x42d5ba
mov eax, dword [eax]
push 1
push 0x84001081
lea ecx, [esp + 0x3c]
push ecx
push 0
push str.HTTP_1.1
push eax
push str.POST
push dword [edi + 8]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, eax
mov dword [edi + 0xc], ecx
test ecx, ecx
jne 0x42d5fb
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0049a4c3
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 0x14], 8
xorps xmm0, xmm0
movdqu xmmword [esp + 0x10], xmm0
mov dword [esp + 0x30], 0
movdqu xmmword [esp + 0x20], xmm0
mov dword [esp + 0xc], 0x28
mov dword [esp + 0x10], 0
jb 0x42d62c
mov eax, dword [esi]
jmp 0x42d62e
mov eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x10]
push 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
push 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
push 0
push eax
push ecx
mov dword [esp + 0x34], ebx
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x42d5e5
push 0
push 0
push 0
push dword [edi + 0xc]
call dword [sym.imp.WININET.dll_HttpEndRequestW]
mov ecx, dword [esp + 0x3c]
test eax, eax
pop edi
pop esi
setne al
pop ebx
xor ecx, esp
call fcn.0049a4c3
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42d690
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5148c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0
mov dword [ebp - 0x10], eax
mov edi, ecx
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
push 0x20000013
push dword [edi + 0xc]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x42d6eb
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a4c3
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
push 0
mov dword [ebp - 8], 0
mov dword [ecx], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov dword [esi], 0xffffffff
push eax
push 0x20000005
push dword [edi + 0xc]
mov dword [ebp - 0xc], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x42d728
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0049a4c3
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42d740
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5148c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push edx
push dword [ebp + 0xc]
mov dword [ebp - 8], 0
push eax
push dword [ecx + 0xc]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x42d782
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a4c3
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ebp
call fcn.0049a4c3
mov esp, ebp
pop ebp
ret 8

Function at 0x42d7a0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5148c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
cmp dword [eax + 0x14], 8
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 0x4f82b4
mov dword [ebp - 8], 0
jb 0x42d7d3
mov eax, dword [eax]
push 1
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.HTTP_1.1
push eax
push 0x4f82dc
push dword [edi + 8]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x42d80b
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a4c3
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x42d816
mov esi, dword [esi]
push 0
push 0
push ecx
push esi
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov ecx, dword [ebp - 4]
test eax, eax
pop edi
setne al
xor ecx, ebp
pop esi
call fcn.0049a4c3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42d950
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42d969
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42d9a4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x42d9a0
lea ebx, [ebx]
cmp esi, edx
jae 0x42d9a4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x42d990
cmp esi, edx
jb 0x42d9ab
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x42deb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3128
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5148c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044e889
add esp, 4
mov dword [ebp - 0x10], eax
push eax
push esi
call edi
mov eax, dword [ebp - 0x10]
mov esi, eax
cmp word [eax], 0
je 0x42df94
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea ecx, [ecx]
push esi
call edi
test eax, eax
je 0x42df7c
cmp eax, 1
je 0x42df7c
cmp eax, 2
je 0x42df7c
cmp eax, 4
je 0x42df7c
cmp eax, 5
je 0x42df7c
cmp eax, 6
je 0x42df7c
call fcn.0042e3d0
test al, al
jne 0x42df7c
push esi
lea ecx, [ebp - 0x28]
call fcn.004067b0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.0042eef0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x42df7c
push dword [ebp - 0x28]
call fcn.0048d9a0
add esp, 4
push 0
push esi
call fcn.004a236e
add esp, 8
cmp word [eax + 2], 0
lea esi, [eax + 2]
jne 0x42df20
mov eax, dword [ebp - 0x10]
push eax
call fcn.0049c0d6
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42dfc0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3158
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5148c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
xor eax, eax
mov dword [ebp - 0x18], 7
push 0x4f8308
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.004066b0
mov dword [ebp - 4], 0
cmp word [esi], 0
jne 0x42e020
xor ecx, ecx
jmp 0x42e034
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e025
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.004084f0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push 0
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x42e0d3
push 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push 0xc
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x38], 8
push ecx
push 0xc
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x34], 0
push ecx
push 0x2d1400
push eax
mov byte [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp byte [ebp - 0x3c], 1
jne 0x42e0bc
push str.It_is_suport_trim
push 0xa7
push str.helper::disk::isSSD
call fcn.00443030
add esp, 0xc
mov bl, 1
jmp 0x42e0d5
push str.It_is_not_suport_trim
push 0xab
push str.helper::disk::isSSD
call fcn.00443030
add esp, 0xc
xor bl, bl
cmp dword [ebp - 0x18], 8
jb 0x42e0e6
push dword [ebp - 0x2c]
call fcn.0048d9a0
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049a4c3
mov esp, ebp
pop ebp
ret
Function at 0x42eb60
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5148c8]
xor eax, ebp
mov dword [ebp - 4], eax
push 3
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.00407c90
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x10]
push 0
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], 0
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x42ebae
xorps xmm0, xmm0
jmp 0x42ebc1
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.004ce66e
mulsd xmm0, qword [0x500640]
cmp dword [ebp - 0x14], 8
movsd qword [ebp - 0x30], xmm0
jb 0x42ebdc
push dword [ebp - 0x28]
call fcn.0048d9a0
movsd xmm0, qword [ebp - 0x30]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a4c3
mov esp, ebp
pop ebp
ret
Function at 0x42fb90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d3330
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x5148c8]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
push str.adsdk__showOffer
push 0xba
push str.SDKAPIImpl::showOffer
call fcn.0040ba80
add esp, 0xc
cmp byte [0x51d3b4], 0
je 0x42fc0c
sub esp, 8
call fcn.0040e220
mov esi, eax
push esi
push str.sdk_offersShow__d
push 0xc0
push str.SDKAPIImpl::showOffer
call fcn.0040ba80
add esp, 0x10
test esi, esi
jne 0x42fc20
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [0x51d3cc]
call esi
push 5
push dword [0x51d3c8]
call esi
push str.download_getOffer
lea ecx, [esp + 0x28]
call fcn.004067b0
lea eax, [esp + 0xc]
mov dword [esp + 0x48], 0
push eax
call fcn.0041aaa0
mov ecx, eax
call fcn.0041cb30
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x4c], 1
push eax
call fcn.0041aaa0
mov ecx, eax
call fcn.00422520
cmp dword [esp + 0x20], 8
jb 0x42fc8b
push dword [esp + 0xc]
call fcn.0048d9a0
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
cmp dword [esp + 0x38], 8
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
jb 0x42fcb5
push dword [esp + 0x24]
call fcn.0048d9a0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42fcd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3376
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x5148c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x51d3d0]
call fcn.0040e4d0
test eax, eax
jne 0x42fd28
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
push dword [0x51d3cc]
call esi
push 0
push dword [0x51d3c8]
call esi
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0x14
xor eax, eax
mov dword [ebp - 0x14], 7
push str.download_rejectOffer
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004066b0
mov dword [ebp - 4], 0
mov eax, dword [0x51d3ac]
test eax, eax
jne 0x42fd99
push 0x520
call fcn.0049a612
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x42fd8e
push 0x520
push 0
push esi
call fcn.004a6740
add esp, 0xc
mov ecx, esi
call fcn.0041a6c0
jmp 0x42fd90
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x51d3ac], eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.0041cb30
mov edi, eax
mov byte [ebp - 4], 2
mov eax, dword [0x51d3ac]
test eax, eax
jne 0x42fdf1
push 0x520
call fcn.0049a612
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x42fde6
push 0x520
push 0
push esi
call fcn.004a6740
add esp, 0xc
mov ecx, esi
call fcn.0041a6c0
jmp 0x42fde8
xor eax, eax
mov byte [ebp - 4], 2
mov dword [0x51d3ac], eax
push edi
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00422520
cmp dword [ebp - 0x2c], 8
jb 0x42fe0e
push dword [ebp - 0x40]
call fcn.0048d9a0
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x42fe33
push dword [ebp - 0x28]
call fcn.0048d9a0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42fe50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3376
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x5148c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x51d3d0]
call fcn.0040e430
test eax, eax
jne 0x42fea8
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
push dword [0x51d3cc]
call esi
push 0
push dword [0x51d3c8]
call esi
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0x14
xor eax, eax
mov byte [edi + 0x2b], 1
push str.download_acceptOffer
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004066b0
mov dword [ebp - 4], 0
mov eax, dword [0x51d3ac]
test eax, eax
jne 0x42ff1d
push 0x520
call fcn.0049a612
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x42ff12
push 0x520
push 0
push esi
call fcn.004a6740
add esp, 0xc
mov ecx, esi
call fcn.0041a6c0
jmp 0x42ff14
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x51d3ac], eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.0041cb30
mov edi, eax
mov byte [ebp - 4], 2
mov eax, dword [0x51d3ac]
test eax, eax
jne 0x42ff75
push 0x520
call fcn.0049a612
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x42ff6a
push 0x520
push 0
push esi
call fcn.004a6740
add esp, 0xc
mov ecx, esi
call fcn.0041a6c0
jmp 0x42ff6c
xor eax, eax
mov byte [ebp - 4], 2
mov dword [0x51d3ac], eax
push edi
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00422520
cmp dword [ebp - 0x2c], 8
jb 0x42ff92
push dword [ebp - 0x40]
call fcn.0048d9a0
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x42ffb7
push dword [ebp - 0x28]
call fcn.0048d9a0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x430b40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d01bb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5148c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [0x51deb4]
test esi, esi
jne 0x430b9f
push 0x38
call fcn.0049a612
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x430b90
mov ecx, eax
call fcn.0040c930
mov esi, eax
jmp 0x430b92
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x51deb4], esi
push 2
push 0x4f218c
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.004059d0
test eax, eax
je 0x430bd0
mov al, byte [esi + 0x18]
test al, al
je 0x430bd0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x1c]
call esi
push 0
push dword [edi + 0x20]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x431e20
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d35b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x5148c8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00407080
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.00431d50
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x431e91
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.004a093c
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x431eba
push dword [esp + 0xc]
call fcn.0048d9a0
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x432b90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d36aa
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5148c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.0044f463
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x432c36
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.004a093c
push 0x5117d4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.004a422b
push edi
push esi
call fcn.0044f336
add esp, 8
mov eax, esi
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.0049a4c3
mov esp, ebp
pop ebp
ret 4
Function at 0x433580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d3708
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5148c8]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x5148c8]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x4336d4
cmp byte [ebx + 0x45], 0
je 0x4336d4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4335e0
xor al, al
jmp 0x4336d6
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x433620
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x433661
dec eax
je 0x433665
sub eax, 2
je 0x4336bb
xor bl, bl
jmp 0x4336bd
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x43369c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004a2654
add esp, 0x10
cmp esi, eax
jne 0x43365d
cmp byte [ebx + 0x45], 0
je 0x4336bb
test esi, esi
jne 0x433620
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0040b260
jmp 0x433620
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x4336d0
push dword [esp + 0x18]
call fcn.0048d9a0
add esp, 4
mov al, bl
jmp 0x4336d6
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0049a4c3
mov esp, ebp
pop ebp
ret