joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4027c0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
test eax, 0x100000
je 0x4027e9
mov ecx, eax
mov dword [esi + 0x10], 0
not ecx
shr ecx, 0x13
and ecx, 1
mov dword [esi + 0xc], ecx
jmp 0x4027f7
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 1
mov edx, eax
mov ecx, eax
shr edx, 0x11
and edx, 3
mov ebp, 4
and ecx, 0xc00
sub ebp, edx
cmp ecx, 0xc00
mov dword [esi + 0x18], ebp
jne 0x402846
push str.Stream_error_n
push 0x41dd28
call fcn.0040e254
push 0x41dd08
call fcn.0040de15
push 0x41dd28
call fcn.0040de15
add esp, 0x10
push 1
call fcn.0040e17f
mov edx, dword [esi + 0x10]
test edx, edx
je 0x40285d
mov ecx, eax
shr ecx, 0xa
and ecx, 3
add ecx, 6
mov dword [esi + 0x24], ecx
jmp 0x402870
mov ecx, dword [esi + 0xc]
mov edi, eax
shr edi, 0xa
and edi, 3
lea ecx, [ecx + ecx*2]
add edi, ecx
mov dword [esi + 0x24], edi
mov ecx, eax
not ecx
shr ecx, 0x10
and ecx, 1
test edx, edx
mov dword [esi + 0x1c], ecx
je 0x40288c
mov edx, eax
shr edx, 0xc
and edx, 0xf
mov dword [esi + 0x20], edx
mov ebx, eax
mov ecx, eax
shr ebx, 4
and ebx, 3
mov edx, eax
mov dword [esi + 0x34], ebx
mov ebx, eax
shr ecx, 8
shr ebx, 3
and ecx, 1
and ebx, 1
mov dword [esi + 0x2c], ecx
mov ecx, eax
mov dword [esi + 0x38], ebx
mov edi, eax
mov ebx, eax
and eax, 3
shr ecx, 6
shr edx, 0xc
shr edi, 9
shr ebx, 2
and ecx, 3
mov dword [esi + 0x40], eax
and edx, 0xf
and edi, 1
and ebx, 1
xor eax, eax
cmp ecx, 3
mov dword [esi + 0x20], edx
setne al
inc eax
cmp ebp, 3
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], ecx
mov dword [esi + 0x3c], ebx
mov dword [esi], eax
je 0x402909
push ebp
push str.Sorry__layer__d_not_supported_n
push 0x41dd28
call fcn.0040e254
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
test edx, edx
jne 0x40291a
mov dword [esi + 0x44], edx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
mov ecx, dword [esi + 0xc]
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, edx
mov edx, dword [esi + 0x24]
mov eax, dword [eax*4 + 0x41717c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
shl eax, 7
mov dword [esi + 0x44], eax
mov ebx, dword [edx*4 + 0x41727c]
shl ebx, cl
cdq
idiv ebx
lea eax, [eax + edi - 4]
pop edi
mov dword [esi + 0x44], eax
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x405640
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, dword [edi + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
cmp eax, ecx
jl 0x40568c
xor ebx, ebx
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov dword [edi + 4], eax
je 0x405665
mov dword [eax + 0x10], ebx
jmp 0x40566a
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov eax, dword [esi]
push eax
call fcn.0040d5dc
push esi
call fcn.0040d5dc
mov esi, dword [edi + 4]
add esp, 8
cmp esi, ebx
je 0x4056ad
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
cmp eax, ecx
jge 0x405656
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
xor ecx, ecx
mov cl, byte [edx + eax]
mov edx, dword [edi + 0x24]
dec edx
mov eax, ecx
mov dword [edi + 0x24], edx
mov edi, dword [edi + 4]
mov ecx, dword [edi + 8]
inc ecx
mov dword [edi + 8], ecx
pop edi
pop esi
pop ebx
ret
push str.Fatal_error__tried_to_read_past_mp_buffer_n
push 0x41dd28
call fcn.0040e254
push 0x41dd08
call fcn.0040de15
push 0x41dd28
call fcn.0040de15
add esp, 0x10
push 1
call fcn.0040e17f
nop
nop
nop
nop
nop
nop

Function at 0x408cf0
Capabilities:
Timestomp file

Disassembly:
mov eax, dword [esp + 8]
push esi
test eax, eax
jne 0x408d4a
mov eax, dword [esp + 8]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x408d94
push 0x4507d0
push 0x4507d8
push 0x4507c8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x408d8d
push esi
mov dword [0x450824], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
mov eax, dword [0x450824]
test eax, eax
je 0x408d94
mov ecx, dword [esp + 8]
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x408d94
push 0x4507d0
push 0x4507d8
push 0x4507c8
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x40ccc0
Capabilities:
Terminate process

Disassembly:
push str.Heres_the_problem:_n
push 0x41dd28
call fcn.0040e254
push str.The__global_gain__field_that_mp3gain_adjusts_is_an_8_bit_unsigned_integer__so_n
push 0x41dd28
call fcn.0040e254
push str.the_possible_values_are_0_to_255._n
push 0x41dd28
call fcn.0040e254
push 0x41c550
push 0x41dd28
call fcn.0040e254
push str.MOST_mp3_files__in_fact__ALL_the_mp3_files_Ive_examined_so_far__dont_go_n
push 0x41dd28
call fcn.0040e254
push str.over_230._So_theres_plenty_of_headroom_on_top___you_can_increase_the_gain_n
push 0x41dd28
call fcn.0040e254
push str.by_37dB__multiplying_the_amplitude_by_76__without_a_problem._n
push 0x41dd28
call fcn.0040e254
push 0x41c550
push 0x41dd28
call fcn.0040e254
add esp, 0x40
push str.The_problem_is_at_the_bottom_of_the_range._Some_encoders_create_frames_with_n
push 0x41dd28
call fcn.0040e254
push str.0_as_the_global_gain_for_silent_frames._n
push 0x41dd28
call fcn.0040e254
push str.What_happens_when_you__lower__the_global_gain_by_1__n
push 0x41dd28
call fcn.0040e254
push str.Well__in_the_past__mp3gain_always_simply_wrapped_the_result_up_to_255._n
push 0x41dd28
call fcn.0040e254
push str.That_way__if_you_lowered_the_gain_by_any_amount_and_then_raised_it_by_the_n
push 0x41dd28
call fcn.0040e254
push str.same_amount__the_mp3_would_always_be__exactly__the_same._n
push 0x41dd28
call fcn.0040e254
push 0x41c550
push 0x41dd28
call fcn.0040e254
push str.There_are_a_few_encoders_out_there__unfortunately__that_create_0_gain_frames_n
push 0x41dd28
call fcn.0040e254
add esp, 0x40
push str.with_other_audio_data_in_the_frame._n
push 0x41dd28
call fcn.0040e254
push str.As_long_as_the_global_gain_is_0__youll_never_hear_the_data._n
push 0x41dd28
call fcn.0040e254
push str.But_if_you_lower_the_gain_on_such_a_file__the_global_gain_is_suddenly__huge_._n
push 0x41dd28
call fcn.0040e254
push str.If_you_play_this_modified_file__there_might_be_a_brief__very_loud_blip._n
push 0x41dd28
call fcn.0040e254
push 0x41c550
push 0x41dd28
call fcn.0040e254
push str.So_now_the_default_behavior_of_mp3gain_is_to__not__wrap_gain_changes._n
push 0x41dd28
call fcn.0040e254
push str.In_other_words__n
push 0x41dd28
call fcn.0040e254
push str.1__If_the_gain_change_would_make_a_frames_global_gain_drop_below_0__n
push 0x41dd28
call fcn.0040e254
add esp, 0x40
push str.___then_the_global_gain_is_set_to_0._n
push 0x41dd28
call fcn.0040e254
push str.2__If_the_gain_change_would_make_a_frames_global_gain_grow_above_255__n
push 0x41dd28
call fcn.0040e254
push str.___then_the_global_gain_is_set_to_255._n
push 0x41dd28
call fcn.0040e254
push str.3__If_a_frames_global_gain_field_is_already_0__it_is_not_changed__even_if_n
push 0x41dd28
call fcn.0040e254
push str.___the_gain_change_is_a_positive_number_n
push 0x41dd28
call fcn.0040e254
push 0x41c550
push 0x41dd28
call fcn.0040e254
push 0x2f
push str.To_use_the_original__wrapping__behavior__use_the___cw__switch._n
push 0x41dd28
call fcn.0040e254
add esp, 0x3c
push 0
call fcn.0040e17f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x413773
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41e6a8
cmp edx, dword [eax]
je 0x413795
add eax, 8
inc ecx
cmp eax, 0x41e738
jl 0x413786
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41e6a8]
jne 0x4138c3
mov eax, dword [0x450a84]
cmp eax, 1
je 0x41389d
test eax, eax
jne 0x4137c6
cmp dword [0x41df94], 1
je 0x41389d
cmp edx, 0xfc
je 0x4138c3
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4137fd
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00413950
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00410830
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x413840
lea eax, [ebp - 0x1a4]
push eax
call fcn.00410830
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41b09c
push edi
call fcn.00415b40
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00413950
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00413960
lea eax, [ebp - 0xa0]
push 0x41b07c
push eax
call fcn.00413960
push dword [esi + 0x41e6ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.00413960
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00415aad
add esp, 0x2c
pop edi
jmp 0x4138c3
lea eax, [ebp + 8]
lea esi, [esi + 0x41e6ac]
push 0
push eax
push dword [esi]
call fcn.00410830
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401000
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 8
mov eax, dword [0x44e6e0]
xor eax, esp
mov dword [esp + 4], eax
lea eax, [esp]
push eax
push 0
mov dword [esp + 8], 0
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x40103b
cmp eax, 0x6f
je 0x40103b
xor eax, eax
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004242e8
add esp, 8
ret
mov ecx, dword [esp]
push esi
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x401064
lea edx, [esp + 4]
push edx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x401076
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004242e8
add esp, 8
ret
movzx eax, byte [esi + 0x199]
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
push ecx
push edx
push str._02X_02X_02X_02X_02X_02X
push edi
call fcn.004242f7
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 8]
pop esi
xor ecx, esp
mov eax, 1
call fcn.004242e8
add esp, 8
ret
Function at 0x4018b0
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x44e6e0]
xor eax, ebp
mov dword [ebp + 0x788], eax
push ebx
push esi
push 0x3ff
lea eax, [ebp - 0x7b]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x7c], 0
call fcn.00426aa0
push 0x404
lea ecx, [ebp + 0x384]
push 0
push ecx
call fcn.00426aa0
mov eax, 0x444418
add esp, 0x18
lea ecx, [edi + 8]
lea ebx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x401904
sub eax, ebx
sar eax, 1
push eax
push 0x444418
call fcn.00403a20
mov eax, 0x44402c
mov dword [edi + 0xc], esi
lea ecx, [edi + 0x10]
lea ebx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x401930
sub eax, ebx
sar eax, 1
push eax
push 0x44402c
call fcn.00403a20
xor ebx, ebx
mov dword [edi + 0x1c], ebx
call dword [0x44fa8c]
cmp esi, ebx
mov dword [ebp - 0x80], eax
jne 0x401964
mov dword [ebp + 0x384], ebx
jmp 0x40196d
mov edx, dword [esi + 0x20]
mov dword [ebp + 0x384], edx
push 0x444418
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x4019b6
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0042a170
mov esi, esp
test esi, esi
je 0x4019b6
mov eax, dword [ebp - 0x80]
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push 0x444418
push 0
push eax
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4019b8
xor eax, eax
lea edx, [ebp - 0x7c]
jmp 0x4019c0
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x4019c0
push 0x44402c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x401a17
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0042a170
mov esi, esp
test esi, esi
je 0x401a17
mov ecx, dword [ebp - 0x80]
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push 0x44402c
push 0
push ecx
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x401a19
xor eax, eax
lea edx, [ebp + 0x388]
nop
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x401a20
lea edx, [ebp - 0x7c]
push edx
call dword [sym.imp.LZExploree.dll_LZExplorer_CreateHandle]
add esp, 4
test eax, eax
mov dword [edi + 4], eax
jne 0x401a47
or eax, 0xffffffff
jmp 0x401a6e
push 0
push eax
call dword [sym.imp.LZExploree.dll_LZExplorer_SetVolumn]
add esp, 8
lea eax, [edi + 0x14]
push eax
push 0
push edi
push 0x403320
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x18], eax
xor eax, eax
lea esp, [ebp - 0x88]
pop esi
pop ebx
mov ecx, dword [ebp + 0x788]
xor ecx, ebp
call fcn.004242e8
add ebp, 0x78c
mov esp, ebp
pop ebp
ret
Function at 0x403270
Capabilities:
Create process on windows
Query environment variable

Disassembly:
sub esp, 0x214
mov eax, dword [0x44e6e0]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov word [esp + 0x14], 0
call fcn.00426aa0
add esp, 0xc
call fcn.004030c0
test al, al
jne 0x403305
push 0x208
lea ecx, [esp + 0xc]
push ecx
push 0x443fe0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edi, [esp + 8]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4032c6
mov ecx, 6
mov esi, str.gttfx55.exe
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 8]
push edx
movsw word es:[edi], word [esi]
call fcn.00408000
add esp, 4
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
call fcn.004242e8
add esp, 0x214
ret

Function at 0x403da0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403db9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403df4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403df0
lea ebx, [ebx]
cmp esi, eax
jae 0x403df4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403de0
cmp esi, eax
jb 0x403dfa
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x4066c0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
sub esp, 0x18
mov eax, dword [0x44e6e0]
xor eax, esp
mov dword [esp + 0x10], eax
push ebp
push esi
xor eax, eax
push edi
xor ebp, ebp
push 0x400
mov word [esp + 0x10], bp
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], ax
call fcn.004080b6
add esp, 4
push 6
push 1
push 2
mov edi, eax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x4067bc
push str.180.149.136.219
mov word [esp + 0x10], 2
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x50
mov dword [esp + 0x14], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xe], ax
push 0x10
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x4067bc
push ebx
push str.GET__iplookup_iplookup.php_ip_s_HTTP_1.1_r_nHost:_int.dpool.sina.com.cn_r_n_r_n
push edi
call fcn.004242f7
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
jmp 0x406760
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406760
push 0
sub eax, edx
push eax
push edi
push esi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x40677e
xor ebp, ebp
jmp 0x4067bc
push 0x400
push 0
push edi
call fcn.00426aa0
add esp, 0xc
push 0
push 0x400
push edi
push esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x4067a5
xor ebp, ebp
jmp 0x4067bc
push 0x4441d4
push edi
call fcn.004256b0
add esp, 8
test eax, eax
je 0x4067bc
mov ebp, 1
push edi
call fcn.004080b1
add esp, 4
cmp esi, 0xffffffff
je 0x4067d1
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.004242e8
add esp, 0x18
ret

Function at 0x408000
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ecx
xor eax, eax
mov cl, 0x1c
jmp 0x408010
xor byte [eax + 0x44fb90], cl
add eax, 1
cmp eax, 0x14b610
jl 0x408010
mov eax, dword [esp + 8]
push esi
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40806c
push 0
lea ecx, [esp + 8]
push ecx
push 0x14b610
push 0x44fb90
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret

Function at 0x408fd0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x408ff9
call fcn.0040a367
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x40901c
push eax
push dword [esi + 4]
call fcn.00408f5b
push esi
push eax
mov ecx, 0x59b53c
call fcn.00408c2e
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x40b512
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x40b558
call fcn.0040a367
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40b558
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x40b59b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x40b584
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40b584
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40b598
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4146d1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x414714
call fcn.0040a367
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x414714
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41472f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041428b
test ebx, ebx
mov esi, eax
je 0x41472d
test edi, edi
je 0x41472d
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41503a
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 0x415068
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x415086
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00414fa4
jmp 0x415086
mov eax, dword [esi + 0x14]
test eax, eax
je 0x415086
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00414fa4
test edi, edi
mov eax, edi
jne 0x415070
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x59d1e0]
test ecx, ecx
je 0x415149
jmp 0x415039
ret 8
Function at 0x4160bc
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x4160c5
xor eax, eax
jmp 0x41612e
cmp dword [esp + 8], 0
jne 0x4160d1
call fcn.00408422
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00429059
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x41610c
push dword [esi + 0x10]
call fcn.00428d9e
test eax, eax
pop ecx
jne 0x41610c
mov esi, dword [esi + 0xc]
call fcn.0042657e
push esi
push dword [eax]
push 1
call fcn.00421518
push dword [esi + 0x10]
call fcn.00428dcd
test eax, eax
pop ecx
je 0x41612b
push dword [esi + 0x10]
call fcn.00428cf2
push eax
call fcn.00403e10
pop ecx
pop ecx
jmp 0x4160fa
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x416137
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x416141
call fcn.00408422
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00425bad
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x41616e
mov esi, dword [esi + 0xc]
call fcn.0042657e
push esi
push dword [eax]
push 1
call fcn.00421518
pop esi
ret 8

Function at 0x4242e8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44e6e0]
jne 0x4242f2
repz ret
jmp fcn.0042b2ff
Function at 0x435607
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042ace6
xor ebx, ebx
cmp dword [0x59dff4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4356dc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x435647
xor eax, eax
jmp 0x4357a0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x435640
push eax
call fcn.0042ac83
mov dword [esp], 0x442500
push edi
mov dword [0x59dff4], eax
call esi
push eax
call fcn.0042ac83
mov dword [esp], 0x4424ec
push edi
mov dword [0x59dff8], eax
call esi
push eax
call fcn.0042ac83
mov dword [0x59dffc], eax
lea eax, [ebp - 8]
push eax
call fcn.004247a6
test eax, eax
pop ecx
pop ecx
je 0x4356aa
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00424a9d
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4356dc
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042ac83
cmp eax, ebx
pop ecx
mov dword [0x59e004], eax
je 0x4356dc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042ac83
pop ecx
mov dword [0x59e000], eax
mov eax, dword [0x59e000]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x435755
cmp dword [0x59e004], esi
je 0x435755
push eax
call fcn.0042acef
pop ecx
call eax
cmp eax, ebx
je 0x435722
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x59e004]
call fcn.0042acef
pop ecx
call eax
test eax, eax
je 0x435722
test byte [ebp - 0x18], 1
jne 0x435755
lea eax, [ebp - 0xc]
push eax
call fcn.004247dd
test eax, eax
pop ecx
je 0x43573d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00424a9d
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x43574c
or dword [ebp + 0x10], 0x200000
jmp 0x435786
or dword [ebp + 0x10], 0x40000
jmp 0x435786
mov eax, dword [0x59dff8]
cmp eax, esi
je 0x435786
push eax
call fcn.0042acef
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x435786
mov eax, dword [0x59dffc]
cmp eax, esi
je 0x435786
push dword [ebp - 4]
push eax
call fcn.0042acef
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x59dff4]
call fcn.0042acef
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret