joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10084c3
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100bffc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
mov dword [ebp - 4], eax
jbe 0x100850e
push 0
push dword [esi + edi*4]
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1008508
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.01008429
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x10084e2
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01009336
leave
ret 8

Function at 0x1008521
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100bffc]
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 0x20c]
push eax
push 0
call esi
test eax, eax
je 0x100855e
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.01008429
push edi
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call esi
test eax, eax
je 0x10085ae
push 0x104
lea eax, [ebp - 0x414]
push eax
push 0x2af8
call fcn.0100617f
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.01008429
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01009336
leave
ret 4
Function at 0x100944e
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1003a70
call fcn.01009674
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1009489
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1009489
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10094a1
cmp eax, 0x20b
je 0x100948e
mov dword [ebp - 0x1c], edi
jmp 0x10094b5
cmp dword [ecx + 0x84], 0xe
jbe 0x1009489
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x10094af
cmp dword [ecx + 0x74], 0xe
jbe 0x1009489
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x100f950], 0xffffffff
or dword [0x100f954], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x100c030]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100c02c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100f958], eax
call fcn.010092b9
cmp dword [0x100c000], edi
jne 0x1009510
push 0x100966a
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01009653
push 0x100b010
push 0x100b00c
call sub.msvcrt.dll__initterm
mov eax, dword [0x100c028]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x100c024]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x100b008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01005792
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x1009587
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10095bc
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010096af
ret
Function at 0x4013c0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x100
push edi
push 0x12c
push 0x17a
push esi
push esi
mov dword [eax + 0xc], 0
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0044a4d0
mov ecx, dword [0x4b177c]
mov edx, dword [ecx + 0x65c]
push 0x17
push 0x4b
push 0x107
push 0xd2
push edx
push 1
push 1
push 0x2711
push esi
call fcn.00448db0
mov eax, dword [0x4b177c]
mov ecx, dword [eax + 0x10]
push 0x17
push 0x4b
push 0x107
push 0x123
push ecx
push 1
push 1
push 1
push esi
call fcn.00448db0
add esp, 0x58
push 1
push esi
call fcn.00448ea0
mov eax, dword [0x4b177c]
mov edx, dword [eax]
mov eax, dword [eax + 0x14]
push edx
push eax
lea ecx, [esp + 0x14]
push 0x100
push ecx
call fcn.00452ec0
lea edx, [esp + 0x1c]
push edx
push esi
call fcn.00448ee0
mov eax, dword [0x4b177c]
mov ecx, dword [eax]
push 0x10
push 0x13e
push 0x6d
push 0x36
push 0
push 0
push 0
push 0
push ecx
push 0x2712
push esi
call fcn.00448f60
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
add esp, 0x4c
push 0
push 1
push 0xcf
push 0x2712
push esi
call edi
mov edx, dword [0x4b177c]
mov eax, dword [edx + 4]
push str.1.2.1.451a
push eax
lea ecx, [esp + 0xc]
push 0x100
push ecx
call fcn.00452ec0
push 0x10
push 0x13e
push 0x81
push 0x36
push 0
push 0
push 0
push 0
lea edx, [esp + 0x34]
push edx
push 0x2713
push esi
call fcn.00448f60
add esp, 0x3c
push 0
push 1
push 0xcf
push 0x2713
push esi
call edi
mov eax, dword [0x4b177c]
mov ecx, dword [eax + 8]
push 0x10
push 0x13e
push 0x95
push 0x36
push 0
push 0
push 0
push 0
push ecx
push 0x2714
push esi
call fcn.00448f60
add esp, 0x2c
push 0
push 1
push 0xcf
push 0x2714
push esi
call edi
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x2711
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
add esp, 0x100
ret

Function at 0x401570
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x100
push ebx
push edi
push 0
push 0x32
push 1
push esi
mov dword [eax + 4], 0xff
mov dword [eax + 0x10], 1
mov dword [eax], 0
mov dword [eax + 8], 0
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x4b177c]
mov ecx, dword [eax]
mov edx, dword [eax + 0x14]
push ecx
push edx
lea eax, [esp + 0x10]
push 0x100
push eax
call fcn.00452ec0
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0x10
lea ecx, [esp + 8]
push ecx
push 0x2711
push esi
call edi
push eax
call fcn.00448ee0
add esp, 8
push 0x17
push 0x87
push 0x107
push 0x96
push 0x2711
push esi
call edi
push eax
call fcn.00448f30
add esp, 0x14
push 0
push 0x2712
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
push 0x2713
push esi
call edi
push eax
call ebx
push 0
push 0x2714
push esi
call edi
push eax
call ebx
pop edi
pop ebx
add esp, 0x100
ret
Function at 0x402990
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ecx
cmp dword [esi + 4], 0
jne 0x4029d9
push 0
lea edx, [esp + 0x1c]
push edx
push ebx
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402a18
mov eax, dword [esp + 0x18]
test eax, eax
je 0x402a3f
mov dword [esi], edi
mov dword [esi + 4], eax
push esi
call fcn.00484d20
test eax, eax
je 0x4029e8
cmp eax, 4
jne 0x402a66
cmp dword [esi + 0x14], 0
je 0x402a87
cmp eax, 4
jne 0x4029b2
push eax
push str.BZ2_bzDecompress__:__d:_Unexpected_EOF_in_decompression_stream._n
push str.bz2_read
push 0x2f
push str.._src_bz2.c
call fcn.00434250
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadFile__:__d:_Failed_to_read._n
push str.bz2_read
push 0x12
push str.._src_bz2.c
call fcn.00434250
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadFile__:__d:_Failed_to_read._n
push str.bz2_read
push 0x19
push str.._src_bz2.c
call fcn.00434250
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push eax
push str.BZ2_bzDecompress__:__d:_Failed_to_decompress._n
push str.bz2_read
push 0x25
push str.._src_bz2.c
call fcn.00434250
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x402aa0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x1c]
push 2
push edi
call fcn.00483e70
mov ebx, eax
cmp ebx, 3
je 0x402ac9
cmp ebx, 4
jne 0x402b54
cmp dword [edi + 0x14], 0
jne 0x402afd
mov ecx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x14]
push eax
push esi
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402b76
mov eax, dword [esp + 0x10]
cmp esi, eax
jne 0x402b9f
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], esi
cmp ebx, 4
jne 0x402ab1
mov edi, dword [edi + 0x14]
cmp edi, esi
jge 0x402bfb
mov eax, dword [esp + 0x18]
push 0
lea edx, [esp + 0x14]
push edx
sub esi, edi
push esi
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x402bc9
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WriteFile__:__d:_Failed_to_write__d_bytes_n
push str.bz2_write_finish
push 0x68
push str.._src_bz2.c
call fcn.00434250
add esp, 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push ebx
push str.BZ2_bzCompress__:__d:_Failed_to_finish_compressing_n
push str.bz2_write_finish
push 0x45
push str.._src_bz2.c
call fcn.00434250
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WriteFile__:__d:_Failed_to_write__d_bytes_n
push str.bz2_write_finish
push 0x4f
push str.._src_bz2.c
call fcn.00434250
add esp, 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WriteFile__:__d:_Only_wrote__d____d_bytes_n
push str.bz2_write_finish
push 0x55
push str.._src_bz2.c
call fcn.00434250
add esp, 0x1c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
cmp esi, eax
je 0x402bfb
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WriteFile__:__d:_Only_wrote__d____d_bytes_n
push str.bz2_write_finish
push 0x6e
push str.._src_bz2.c
call fcn.00434250
add esp, 0x1c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x402c10
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push 0
push esi
mov dword [esi], eax
mov dword [esi + 4], ecx
call fcn.00483e70
cmp eax, 1
jne 0x402c7f
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov edi, edi
cmp dword [esi + 0x14], 0
jne 0x402c68
push 0
lea edx, [esp + 0x1c]
push edx
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402ca3
mov eax, dword [esp + 0x18]
cmp edi, eax
jne 0x402cce
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edi
cmp dword [esi + 4], 0
je 0x402cfa
push 0
push esi
call fcn.00483e70
cmp eax, 1
je 0x402c40
push eax
push str.BZ2_bzCompress__:__d:_Failed_to_compress_n
push str.bz2_write
push 0x89
push str.._src_bz2.c
call fcn.00434250
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WriteFile__:__d:_Failed_to_write__d_bytes_n
push str.bz2_write
push 0x93
push str.._src_bz2.c
call fcn.00434250
add esp, 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WriteFile__:__d:_Only_wrote__d____d_bytes_n
push str.bz2_write
push 0x99
push str.._src_bz2.c
call fcn.00434250
add esp, 0x1c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x412ef0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x2c
push ebx
push esi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x14]
push 4
push 0x1000
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 2
call fcn.00433df0
fstp dword [esp + 8]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x38]
push 0
lea edx, [esp + 0x10]
push edx
push 0
push 0
push eax
push esi
push 0x900f8
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x412fd1
push edi
push 0x8000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
call fcn.00433df0
fsub dword [esp + 0xc]
sub esp, 8
fstp qword [esp]
push str.waited_for_USN_Journal_Deletion___f_seconds__n
call fcn.00433c50
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0xc
call edi
cmp eax, 0x49b
je 0x412fc5
call edi
mov edx, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push edx
push esi
push ebx
push str.DeviceIoControl__08x_FSCTL_DELETE_USN_JOURNAL__08x__d_NULL_0__08x_0_:__d:_Failed_to_wait_for_USN_Journal_deletion._n
push str.db::_wait_for_delete_usn_journal
push 0x7266
push str.._srcdb.cpp
call fcn.00434250
add esp, 0x24
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x2c
ret
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2c
ret
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop esi
mov eax, 1
pop ebx
add esp, 0x2c
ret
Function at 0x412ff0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x64
push ebx
push esi
push edi
push 0
push 0x10
call fcn.004395f0
mov edi, dword [esp + 0x7c]
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 8
push 0
lea eax, [esp + 0x10]
push eax
push 0x38
lea ecx, [esp + 0x44]
push ecx
push 0
push 0
push 0x900f4
push edi
call ebx
test eax, eax
jne 0x4130a6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
sub eax, 0x49a
je 0x413080
sub eax, 1
je 0x413172
call esi
push eax
lea edx, [esp + 0x10]
push edx
push 0x38
lea eax, [esp + 0x44]
push eax
push edi
push str.DeviceIoControl__08x_FSCTL_QUERY_USN_JOURNAL_0_0__08x__d__08x_0_:__d:_Failed_to_query_USN_Journal._n
push str.db::_delete_usn_journal
push 0x7293
push str.._srcdb.cpp
call fcn.00434250
push 0
push 0x12
call fcn.004395f0
add esp, 0x2c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x64
ret
push edi
call fcn.00412ef0
add esp, 4
test eax, eax
push 0
jne 0x413174
push 0x12
call fcn.004395f0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x64
ret
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x18]
push 4
push 0x1000
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov eax, dword [esp + 0x38]
mov dword [esi], eax
mov ecx, dword [esp + 0x3c]
mov dword [esi + 4], ecx
mov dword [esi + 8], 3
call fcn.00433df0
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push 0
lea edx, [esp + 0x10]
push edx
push 0
push 0
push eax
push esi
push 0x900f8
push edi
call ebx
test eax, eax
jne 0x413148
push 0x8000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
sub ecx, 0x49a
je 0x413080
sub ecx, 1
je 0x413172
mov edx, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
push edx
push esi
push edi
push str.DeviceIoControl__08x_FSCTL_DELETE_USN_JOURNAL__08x__d_NULL_0__08x_0_:__d:_Failed_to_delete_USN_Journal._n
push str.db::_delete_usn_journal
push 0x72bd
jmp 0x413061
call fcn.00433df0
fsub dword [esp + 0x10]
sub esp, 8
fstp qword [esp]
push str.USN_Journal_Deleted___f_seconds__n
call fcn.00433c50
add esp, 0xc
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0
push 0x11
call fcn.004395f0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x64
ret
Function at 0x424570
Capabilities:
Create thread

Disassembly:
push esi
push 0x4b01b4
call fcn.00453490
mov esi, dword [esp + 0xc]
push esi
push str.stop_monitor_dbh__08x_n
call fcn.00433c50
push esi
call fcn.00413290
mov esi, eax
push esi
push str.stop_monitor__08x_n
call fcn.00433c50
add esp, 0x18
test esi, esi
je 0x42465c
mov eax, dword [esi + 0x25]
mov ecx, dword [eax + 0x1054]
test ecx, ecx
je 0x42465c
mov edx, dword [esi + 5]
mov eax, dword [esi + 1]
push edi
push edx
push eax
push str.stop_monitor__t_n
call fcn.00433c50
add esp, 0xc
call fcn.00413f90
mov ecx, dword [esi + 0x25]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ecx + 0x1054], 0
mov edx, dword [esi + 0x25]
mov eax, dword [edx + 0x1028]
cmp eax, 0xffffffff
je 0x424605
push eax
call edi
mov eax, dword [esi + 0x25]
mov dword [eax + 0x1028], 0xffffffff
mov ecx, dword [esi + 0x25]
mov eax, dword [ecx + 0x102c]
cmp eax, 0xffffffff
je 0x424623
push eax
call edi
mov edx, dword [esi + 0x25]
mov dword [edx + 0x102c], 0xffffffff
mov eax, dword [esi + 0x25]
mov eax, dword [eax + 0x104c]
test eax, eax
je 0x424640
push eax
call edi
mov ecx, dword [esi + 0x25]
mov dword [ecx + 0x104c], 0
mov edx, dword [esi + 5]
mov eax, dword [esi + 1]
push edx
push eax
push str.monitor_stopped__t_n
call fcn.00433c50
add esp, 0xc
pop edi
pop esi
jmp fcn.00415050
pop esi
ret
Function at 0x42cf90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x498038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov eax, dword [0x4b0274]
test eax, eax
mov byte [esp + 0x34], 2
jne 0x42d014
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 1
call fcn.0047ca90
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], bl
call fcn.0047ca90
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xffffffff
call fcn.0047ca90
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
push esi
push 0x4b01b4
call fcn.00453490
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x24]
push ecx
push edx
push eax
call fcn.00403640
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add esp, 0x1c
push ebx
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.0047c1c0
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x10]
push ebx
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0047c1c0
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x48]
push esi
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
push ecx
call fcn.0042cbc0
add esp, 0x1c
lea ecx, [esp + 0x28]
mov esi, eax
mov byte [esp + 0x38], 1
call fcn.0047ca90
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], bl
call fcn.0047ca90
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047ca90
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x433360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x498520
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], ebx
push 0x4b01b4
mov byte [esp + 0x20], 1
call fcn.00453490
mov eax, dword [esp + 0x30]
add esp, 4
push 1
push eax
call fcn.00447fe0
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
push ebx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push ebx
push edx
call fcn.004329b0
add esp, 0x2c
lea ecx, [esp + 4]
mov byte [esp + 0x1c], bl
call fcn.0047ca90
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0047ca90
mov ecx, dword [esp + 0x14]
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4343b0
Capabilities:
Resolve dns

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
mov dword [esi], 0
push ecx
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x1c], ecx
je 0x434454
cmp word [ecx + 8], 2
push ebx
push ebp
push edi
jne 0x434425
cmp word [ecx + 0xa], 4
jne 0x434425
mov edi, dword [ecx + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x434425
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
lea esp, [esp]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebx
push ebp
call fcn.00434340
test eax, eax
mov dword [esi], eax
je 0x434448
add edi, 4
lea esi, [eax + 0x1c]
mov eax, dword [edi]
test eax, eax
jne 0x434400
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x24]
push 0x400
push ecx
push 0x401
push edx
call fcn.0048ae8e
add esp, 0x10
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
ret 0x18
pop edi
pop ebp
pop ebx
mov eax, 8
pop esi
ret 0x18
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x434464.11001
jmp dword [eax*4 + 0x434488]
mov eax, 0x2af9
pop esi
ret 0x18
mov eax, 0x2afa
pop esi
ret 0x18
mov eax, 0x2afb
pop esi
ret 0x18

Function at 0x434c50
Capabilities:
Get common file path

Disassembly:
sub esp, 0x22c
cmp dword [0x4b0340], 0
mov dword [esp], str.getaddrinfo
mov dword [esp + 4], 0x434720
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x434a10
mov dword [esp + 0x10], str.freeaddrinfo
mov dword [esp + 0x14], fcn.004346d0
je 0x434ca6
movzx eax, word [esp + 0x230]
mov eax, dword [eax*8 + 0x4ad004]
add esp, 0x22c
ret 4
push 0x104
lea ecx, [esp + 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x434da9
push ebx
push ebp
push esi
push edi
lea edx, [esp + 0x134]
push edx
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.0048ac3e
push str.ws2_32
lea ecx, [esp + 0x38]
push 0x10c
push ecx
call fcn.0048b25d
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea edx, [esp + 0x28]
push edx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x434d21
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x434d68
push esi
call ebp
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x2c]
push 0x10c
push ecx
call fcn.0048ac3e
push str.wship6
lea edx, [esp + 0x38]
push 0x10c
push edx
call fcn.0048b25d
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call edi
mov esi, eax
test esi, esi
je 0x434da5
push str.getaddrinfo
push esi
call ebx
test eax, eax
je 0x434dcb
xor edi, edi
lea ebx, [ebx]
mov ecx, dword [esp + edi*8 + 0x10]
push ecx
push esi
call ebx
test eax, eax
mov dword [esp + edi*8 + 0x14], eax
je 0x434dcb
add edi, 1
cmp edi, 3
jl 0x434d70
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [0x4ad004], edx
mov dword [0x4ad00c], eax
mov dword [fcn.004346d0], ecx
pop edi
pop esi
pop ebp
pop ebx
movzx edx, word [esp + 0x230]
mov eax, dword [edx*8 + 0x4ad004]
mov dword [0x4b0340], 1
add esp, 0x22c
ret 4
push esi
call ebp
jmp 0x434da5
Function at 0x4373e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x498128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x30]
cmp byte [ecx], bl
mov byte [esp + 0x28], 2
mov eax, ecx
je 0x43742e
add eax, 1
cmp byte [eax], bl
jne 0x437427
sub eax, ecx
push eax
push ecx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00424a40
add esp, 0x14
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x28], 1
call fcn.0047ca90
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.0047ca90
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.0047ca90
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret