joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427732
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0xf34
mov eax, dword [ecx]
push 0x449484
push dword [eax + 0x58]
call fcn.00405368
add esp, 0x10
test eax, eax
jne 0x42775e
or eax, 0xffffffff
jmp 0x427807
sub esp, 0xc
lea edi, [ebp - 0xf1c]
push eax
call fcn.00412537
mov dword [esp], eax
push dword [ebx + 0xe0]
push dword [ebx + 0x14]
push str._smbox_.128s_8.8X.msg
push edi
mov dword [ebx + 0xdc], eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
push edi
call fcn.0040357d
mov esi, eax
pop eax
pop edx
test esi, esi
js 0x427756
push ecx
push ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
pop edx
pop ecx
test eax, eax
je 0x4277f8
lea ecx, [ebx + 4]
push edx
push eax
push str.HTTP_1.0_200_Ok_r_nContent_type:_application_octet_stream_r_nContent_Length:__u_r_n_r_n
push ecx
mov dword [ebp - 0xf2c], ecx
call fcn.0042ce14
mov ecx, dword [ebp - 0xf2c]
call fcn.00425e30
add esp, 0x10
push eax
push 0xf00
push edi
push esi
call fcn.00403603
pop edx
test eax, eax
je 0x4277f8
mov edx, dword [ebx]
push ecx
push eax
push edi
push edx
call dword [edx + 4]
add esp, 0x10
cmp eax, 0xf00
je 0x4277d3
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4280ca
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
lea ebx, [ebp - 0x418]
sub esp, 0x420
push dword [ecx + 0x14]
push str._swmail.cfg
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
mov dword [esp], 0x47a824
call fcn.0040366a
pop edi
pop eax
push 0
push ebx
call fcn.0040357d
pop edx
pop ecx
test eax, eax
js 0x42819d
mov edi, eax
push eax
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
add eax, 0x10008
push edx
push eax
call fcn.0042d4e4
add esp, 0xc
mov ebx, eax
lea eax, [eax + 0x10000]
push 0x1000
push eax
push edi
mov dword [ebp - 0x41c], eax
call fcn.00403603
mov byte [ebx + eax + 0x10000], 0
push ecx
push ecx
push edi
mov edi, 0x439080
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, edi
add esp, 0xc
cmp dword [edx], 0
je 0x428196
push eax
mov ecx, edx
push eax
push esi
push dword [ebp - 0x41c]
mov dword [ebp - 0x420], edx
call fcn.00427ffc
mov edx, dword [ebp - 0x420]
pop ecx
pop eax
add edx, 0x18
jmp 0x42815e
cmp dword [edi + 8], 0
jne 0x428193
mov ecx, edi
call fcn.0042807c
add edi, 0x18
cmp dword [edi], 0
jne 0x428186
jmp 0x4281cc
sub esp, 0xc
push 0x10000
call fcn.0042d4e4
add esp, 0x10
mov ebx, eax
mov eax, 0x439080
add eax, 0x18
cmp dword [eax - 0x18], 0
je 0x4281cc
mov edx, dword [eax - 8]
mov ecx, dword [eax - 0xc]
add edx, esi
mov dword [eax - 4], edx
mov dword [edx], ecx
jmp 0x4281b4
mov eax, dword [esi + 0x108]
cmp byte [eax], 0
jne 0x4281e0
lea eax, [esi + 0x1c]
mov dword [esi + 0x108], eax
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 4
Function at 0x4282a2
Capabilities:
Get file size

Disassembly:
push ebp
mov eax, str.__a_href_s153__Badlist__a___nbsp__nbsp_____a_href_s154__Goodlist__a__nbsp__nbsp_____a_href_s155__Graylist__a___nbsp__nbsp_____a_href_s156__Antivirus__a___nbsp__nbsp_____a_href_s157__DNS_hosts__a___nbsp__nbsp_____a_href_s158__Config_file__a____br__br___form_methodpost_namem__n_input_typehidden_names_value_u___center__n_h2__s__h2__n_s_n__center__n_script_languagejavascript___n_nfunction_AddE_a__n_n_document.m.v.value____n_a__n_nfunction_AddEm_a_b__n_n_document.m.v.value____n______a________b________n_n_n__script__n_table_border0_bgcolorF0F8F8__n_tr_valignbottom__n_td__n
mov ebp, esp
push edi
lea edi, [ecx + 4]
push esi
push ebx
sub esp, 0x228
mov esi, dword [ebp + 8]
mov dword [ebp - 0x21c], ecx
mov ecx, str.__a_href___wmail___s25__Badlist__a___nbsp__nbsp_____a_href___wmail___s26__Goodlist__a__nbsp__nbsp_____a_href___wmail___s27__Graylist__a___nbsp__nbsp_____a_href___wmail___s28__Forward__a____br__br___form_methodpost_namem__n_input_typehidden_names_value_u___center__n_h2__s__h2__n_s_n__center__n_script_languagejavascript___n_nfunction_AddE_a__n_n_document.m.v.value____n_a__n_nfunction_AddEm_a_b__n_n_document.m.v.value____n______a________b________n_n_n__script__n_table_border0_bgcolorF0F8F8__n_tr_valignbottom__n_td__n
mov ebx, esi
lea edx, [esi + 0x1f]
and ebx, 0x3f
and esi, 0x80
cmove eax, ecx
push dword [ebx*4 + 0x438fc0]
push dword [ebx*4 + 0x439050]
push edx
push eax
push edi
call fcn.0042ce14
add esp, 0x18
push dword [ebx*4 + 0x439008]
push edi
call fcn.0042ce14
pop eax
pop edx
push str.__ul___n__ul___n_br__br__center__textarea_namev_rows30_cols80__
push edi
call fcn.0042ce14
add esp, 0x10
test esi, esi
je 0x428329
mov eax, dword [ebx*4 + 0x439020]
mov eax, dword [eax]
test eax, eax
je 0x4283ea
push ecx
push eax
push 0x44970c
jmp 0x42833e
mov eax, dword [ebp - 0x21c]
push dword [ebx*4 + 0x439038]
push dword [eax + 0x14]
push 0x44970f
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x218]
add esp, 0x10
push ecx
push ecx
push 0
push eax
call fcn.0040357d
mov esi, eax
pop eax
pop edx
test esi, esi
js 0x4283ea
push ecx
push ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
pop eax
pop edx
test ecx, ecx
je 0x4283dd
sub esp, 0xc
lea eax, [ecx + 0x800]
mov dword [ebp - 0x220], ecx
push eax
call fcn.0042d4e4
mov ecx, dword [ebp - 0x220]
add esp, 0xc
mov dword [ebp - 0x220], eax
push ecx
push eax
push esi
call fcn.00403603
mov edx, dword [ebp - 0x220]
mov byte [edx + eax], 0
push ecx
mov ecx, dword [ebp - 0x21c]
push 0x4495bd
push edx
call fcn.00427602
pop eax
pop edx
mov edx, dword [ebp - 0x220]
test edx, edx
je 0x4283dd
sub esp, 0xc
push edx
call fcn.0042d4c8
add esp, 0x10
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
push eax
push eax
push str.__textarea__n_br__n
push edi
call fcn.0042ce14
push str.Submit
push dword [ebx*4 + 0x438fd8]
push dword [ebx*4 + 0x438ff0]
push edi
call fcn.0042ce14
add esp, 0x20
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
Function at 0x4294a1
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x4296e4
Capabilities:
Create tcp socket
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
lea esi, [ebx + 0x12c]
sub esp, 0x260
mov dword [ecx + 0x12c], 2
mov dword [ecx + 0x130], 0x100007f
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebx + 0x128], 0x10
push ecx
mov dword [ebx + 0x104], eax
push ecx
push 4
push 0x42e4a4
push 4
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
push edi
push edi
push 0x10
push esi
push dword [ebx + 0x104]
call dword [sym.imp.WS2_32.dll_bind]
add esp, 0x14
test eax, eax
jns 0x429775
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
sub esp, 0xc
push eax
call fcn.004037a9
mov esi, eax
call edi
push esi
push eax
push str.FCGI_bind_error__d__s_r_n
jmp 0x4297df
mov dword [ebp - 0x260], 0x10
lea eax, [ebp - 0x260]
push edx
push eax
push esi
push dword [ebx + 0x104]
call dword [sym.imp.WS2_32.dll_getsockname]
movzx eax, word [ebx + 0x12e]
xchg al, ah
push eax
push str.FCGI_bind_ok._port__u_r_n
push 0x4644a0
call fcn.0040423a
pop ecx
pop esi
push 1
push dword [ebx + 0x104]
call dword [sym.imp.WS2_32.dll_listen]
pop edi
pop edx
test eax, eax
jns 0x4297f1
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
sub esp, 0xc
push eax
call fcn.004037a9
mov esi, eax
call edi
push esi
push eax
push str.FCGI_listen_error__d__s_r_n
push 0x4644a0
call fcn.0040423a
add esp, 0x20
jmp 0x4298b3
mov edx, dword [ebp + 8]
lea eax, [ebx + 4]
mov ecx, 0x100
lea esi, [ebp - 0x25c]
mov edi, esi
call fcn.004296cc
mov ecx, 0x44
xor eax, eax
test edi, edi
je 0x429819
jecxz 0x429819
cld
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x104]
sub esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x25c], 0x44
mov dword [ebp - 0x230], 0x181
mov word [ebp - 0x22c], 0
mov dword [ebp - 0x224], eax
push 0xfffffffffffffff5
call edi
mov dword [ebp - 0x220], eax
push 0xfffffffffffffff4
call edi
mov edx, dword [ebp + 8]
lea edi, [ebp - 0x218]
mov ecx, 0x200
add esp, 0xc
mov dword [ebp - 0x21c], eax
mov eax, edi
call fcn.004296cc
push eax
push eax
push 0x5c
push edi
call fcn.00403476
add esp, 0x10
test eax, eax
je 0x42988b
mov byte [eax], 0
sub esp, 0xc
lea eax, [ebx + 0x10c]
push eax
push esi
push edi
push str.SFCGI
push dword [ebp + 8]
call fcn.00407970
add esp, 0x20
xor edx, edx
mov dword [ebx + 0x108], eax
test eax, eax
jne 0x4298c8
sub esp, 0xc
push dword [ebx + 0x104]
call dword [sym.imp.WS2_32.dll_closesocket]
or edx, 0xffffffff
add esp, 0xc
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 4
Function at 0x4298d4
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push ebx
mov ebx, ecx
push eax
add ebx, 0x12c
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
push edx
push edx
push 4
push 0x42e4a4
push 4
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
push ecx
push ecx
push dword [ebx - 4]
push ebx
push dword [esi]
call dword [sym.imp.WS2_32.dll_connect]
mov edx, eax
add esp, 0x14
xor eax, eax
test edx, edx
jns 0x42993a
sub esp, 0xc
push dword [esi]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi], 0
or eax, 0xffffffff
add esp, 0xc
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 4

Function at 0x4299ea
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x220]
mov esi, 0x43dca0
push ebx
mov ebx, ecx
sub esp, 0x238
mov edx, dword [ebp + 8]
push edx
call fcn.0042d5c4
mov dword [ebp - 0x230], eax
pop eax
push dword [ebp + 0xc]
call fcn.0042d5c4
mov ecx, 8
mov dword [ebp - 0x22c], eax
test edi, edi
je 0x429a33
test esi, esi
je 0x429a33
jecxz 0x429a33
cld
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov esi, dword [ebp - 0x230]
add esp, 0x10
add esi, dword [ebp - 0x22c]
cmp dword [ebp - 0x22c], 0x7e
mov eax, dword [eax + 0x64]
mov edx, dword [ebp + 8]
mov word [ebp - 0x21e], ax
mov al, byte [ebp - 0x230]
mov byte [ebp - 0x218], al
jg 0x429aaf
lea eax, [esi + 2]
xchg al, ah
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x216]
add esi, 0xa
push dword [ebp + 0xc]
push edx
push 0x449c22
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov al, byte [ebp - 0x22c]
push 0
push esi
mov byte [ebp - 0x217], al
lea eax, [ebp - 0x220]
push eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_send]
add esp, 0x10
jmp 0x429b20
lea eax, [esi + 5]
xchg al, ah
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x213]
push dword [ebp + 0xc]
push edx
push 0x449c27
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x22c]
xchg al, ah
rol eax, 0x10
xchg al, ah
mov dword [ebp - 0x217], eax
or eax, 0xffffff80
mov esi, dword [sym.imp.WS2_32.dll_send]
mov byte [ebp - 0x217], al
mov eax, dword [ebp - 0x230]
push 0
add eax, 0xd
push eax
lea eax, [ebp - 0x220]
push eax
push dword [ebx]
call esi
add esp, 0x10
test eax, eax
jle 0x429b20
push 0
push dword [ebp - 0x22c]
push dword [ebp + 0xc]
push dword [ebx]
call esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x42a20a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
sub esp, 0x14
mov eax, dword [ecx + 0x104]
test eax, eax
jle 0x42a234
sub esp, 0xc
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebx + 0x104], 0
add esp, 0xc
cmp dword [ebx + 0x108], 0
jle 0x42a26c
push eax
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x10c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0xc], 0x103
pop eax
pop edx
jne 0x42a26c
push edx
push edx
push 0
push dword [ebx + 0x10c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop ecx
pop eax
push eax
push 0
push ebx
push 0x46444c
call fcn.0042a1d7
mov ebx, dword [ebp - 4]
add esp, 0x10
leave
ret

Function at 0x42a386
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ecx, 0xfe
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x118]
mov eax, ebx
sub esp, 0x10c
mov edx, dword [0x46dccc]
call fcn.0042a2cc
push ecx
push ecx
push 0x5c
push ebx
call fcn.00403476
add esp, 0x10
test eax, eax
je 0x42a3d3
mov dl, byte [ebp - 0x118]
cmp dl, 0x27
je 0x42a3cb
cmp dl, 0x22
jne 0x42a3ce
mov byte [eax], dl
inc eax
mov byte [eax], 0
jmp 0x42a3e3
push eax
push eax
push ebx
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
pop eax
pop edx
mov eax, dword [0x46d984]
push esi
push esi
shr eax, 0xc
and eax, 1
push eax
push ebx
push dword [ebp + 8]
push str.cmd.exe
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebx, eax
pop edi
pop eax
cmp ebx, 0x1f
jg 0x42a43d
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 0xc
mov esi, dword [0x464488]
push eax
mov edi, eax
call fcn.004037a9
pop edx
pop ecx
push eax
push edi
push ebx
push dword [ebp + 8]
push str._Error_run_script__s___error_code_d____d__s_r_n
push esi
call fcn.0040423a
add esp, 0x20
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x42b0b6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
imul eax, ebx, 0x14
cmp dword [eax + 0x47aad0], 0
jne 0x42b0e8
push 0
lea esi, [eax + 0x47aac0]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x10], eax
sub esp, 0xc
imul esi, ebx, 0x14
push ebx
add esi, 0x47aac0
call fcn.0042afee
add esp, 0xc
push 0x10
push 0
push esi
call fcn.0042d588
pop eax
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0x1c]
push esi
push eax
push dword [ebp + 0x10]
push edi
push dword [ebx*4 + 0x43dd30]
call dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 0xc
test eax, eax
jne 0x42b173
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x3e5
je 0x42b16c
call esi
sub esp, 0xc
mov edi, dword [0x464488]
push eax
mov esi, eax
call fcn.004037a9
mov dword [esp], eax
push esi
push ebx
push str.TAP_u_write_error__d__s_r_n
push edi
call fcn.0040423a
mov dword [ebp + 0x10], 0
add esp, 0x20
jmp 0x42b173
mov dword [ebx*4 + 0x47aa98], edi
mov eax, dword [ebp + 0x10]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x42bd59
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [str.192.168.111.20]
test eax, eax
je 0x42bd89
cmp byte [eax], 0
je 0x42bd89
sub esp, 0xc
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00412680
add esp, 0x10
mov dword [0x47a948], eax
mov dword [0x47a940], eax
mov eax, dword [str.192.168.112.20]
test eax, eax
je 0x42bdb3
cmp byte [eax], 0
je 0x42bdb3
sub esp, 0xc
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00412680
add esp, 0x10
mov dword [0x47a94c], eax
mov dword [0x47a944], eax
test byte [0x46d984], 8
je 0x42bdc9
sub esp, 0xc
push 0
call fcn.0042af64
add esp, 0x10
test byte [0x46d984], 0x10
je 0x42bddf
sub esp, 0xc
push 1
call fcn.0042af64
add esp, 0x10
cmp dword [0x43dd30], 0xffffffff
jne 0x42bdf4
or eax, 0xffffffff
cmp dword [0x43dd34], 0xffffffff
je 0x42be41
mov eax, dword [0x47a97c]
sub esp, 0xc
lea eax, [eax*4 + 4]
push eax
call fcn.0042d4e4
add esp, 0x10
mov dword [0x47aa88], eax
test eax, eax
jne 0x42be1f
call fcn.0042bd1c
or eax, 0xffffffff
jmp 0x42be41
push eax
push eax
push 0x46d4e0
push 0
push 0
push 0x42bb44
push 0x9000
push 0x42e458
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edx
pop ecx
leave
ret
Function at 0x401e59
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x10c
and byte [esp + 7], 0
push ebx
push ebp
push esi
push edi
push str.CLASSPATH
mov byte [esp + 0x1a], 0x3b
call dword [sym.imp.MSVCRT.dll_getenv]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
mov ebx, eax
or ebp, 0xffffffff
pop ecx
test ebx, ebx
je 0x401eb1
mov edi, ebx
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x27
push ecx
call fcn.00401abf
mov edi, eax
push ebx
push str._Denv.class.path_s
push edi
call esi
push 0
push edi
call fcn.00401551
add esp, 0x18
lea eax, [esp + 0x18]
push 0x104
push eax
call fcn.004025ca
pop ecx
test al, al
pop ecx
jne 0x401ee3
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push str.Cant_determine_application_home_n
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
pop ecx
xor al, al
pop ecx
jmp 0x402007
lea edi, [esp + 0x18]
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x27
push ecx
call fcn.00401abf
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push str._Dapplication.home_s
push edi
call esi
push 0
push edi
call fcn.00401551
lea edi, [esp + 0x30]
mov ecx, ebp
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
not ecx
push 0x28
dec ecx
mov ebx, 0x404014
pop edx
mov dword [esp + 0x10], ecx
mov esi, ebx
mov edi, dword [esi]
mov ecx, ebp
xor eax, eax
add esi, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, dword [esp + 0x10]
cmp esi, str.com.sun.tools.corba.se.idl.toJavaPortable.Compile
lea edx, [edx + ecx + 1]
jb 0x401f2d
inc edx
push edx
call fcn.00401abf
mov edx, eax
mov esi, str._Djava.class.path
mov edi, edx
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x10], ebx
lea edi, [esp + 0x18]
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, ecx
mov esi, edi
mov edi, edx
mov ecx, ebp
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, ebx
and ecx, 3
add dword [esp + 0x10], 4
rep movsb byte es:[edi], byte [esi]
mov edi, dword [eax]
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
mov ecx, ebp
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x16]
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
mov ecx, ebp
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
cmp dword [esp + 0x10], 0x40401c
rep movsb byte es:[edi], byte [esi]
jb 0x401f67
mov edi, edx
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push eax
push edx
and byte [ecx + edx - 1], al
call fcn.00401551
pop ecx
mov al, 1
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
Function at 0x402152
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
push ebx
lea eax, [ebp - 0x184]
push 0x104
push eax
call fcn.0040258c
lea eax, [ebp - 0x184]
push 0x404a5c
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4021ab
lea eax, [ebp - 0x184]
push eax
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push str.Cant_open__s_n
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
push 1
pop eax
jmp 0x4021fb
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fread]
push edi
mov edi, 0x80
push ebx
push edi
lea eax, [ebp - 0x80]
push 1
push eax
call esi
add esp, 0x10
test eax, eax
je 0x4021ef
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x20
push ecx
push eax
lea eax, [ebp - 0x80]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push ebx
push edi
lea eax, [ebp - 0x80]
push 1
push eax
call esi
add esp, 0x20
jmp 0x4021c5
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
pop edi
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x40296f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4030d0
push 0x402aa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x404f3c], 0xffffffff
or dword [0x404f40], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x404f38]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x404f34]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x404f44], eax
call fcn.00402871
cmp dword [0x404ec0], 0
jne 0x4029f2
push fcn.0040240b
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00402a8c
push 0x40400c
push 0x404008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x404f30]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x404f2c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x404004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call section..text
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x406234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x406243
pop dword [ebp - 0x38]
mov eax, 0x71dcf2ef
sub eax, 0x719c90ac
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x69a74e8b
sub dword [ebp - 0x48], 0x1b550940
mov dword [ebp - 0x44], 0x2f14583c
sub dword [ebp - 0x44], 0xfce10bf7
mov dword [ebp - 0x40], 0xc4a36902
sub dword [ebp - 0x40], 0x785724d4
mov dword [ebp - 0x3c], 0x1eb0127e
add dword [ebp - 0x3c], 0xe14fed82
lea eax, [ebp - 0x48]
push eax
mov eax, 0x571ce5d9
sub eax, 0x56dc64d5
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xddb8ea49
add dword [ebp - 0x48], 0x96b97f0d
mov dword [ebp - 0x44], 0x8c23d827
sub dword [ebp - 0x44], 0x4ab776b2
mov dword [ebp - 0x40], 0x448d75c2
sub dword [ebp - 0x40], 0xe11e0956
mov dword [ebp - 0x3c], 0xdbc6654a
sub dword [ebp - 0x3c], 0xdbc6654a
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x39d93
push 0
call eax
mov ecx, 0xc1941e71
sub ecx, 0xc193cb24
xor ebx, ebx
add ebx, eax
mov edi, 0x46e400
add edi, dword [ebp - 0x38]
mov edx, 0x34987e92
sub edx, 0xc775bc39
mov dword [ebp - 0x18], 0x6725ce5f
mov esi, dword [edi]
add esi, edx
xor dword [ebp - 0x1c], 0xa4700f88
mov dword [ebx], esi
sub dword [ebp - 0x18], esi
add ebx, 0x704a4a7
sub ebx, 0x704a4a3
add edi, 0x335fa8
add edi, 0xffcca05c
loop 0x40635c
add eax, 0x7690985a
add eax, 0x8970a7ad
xor ebx, ebx
add ebx, eax
add eax, 0x9cec8bdd
add eax, 0x63137428
mov ecx, 0x3831811f
sub ecx, 0x37f1811f
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc