joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4157c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
push pe_nt_image_headers32
lea ebx, [esi + 0xc]
push ebx
call fcn.0041d583
add esp, 0xc
push 0
push 0x20
push 3
push 0
push 1
push bind
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x415818
push ebx
lea eax, [esi + 0x218]
push str.__s__Could_not_open_file
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x41583b
push eax
call fcn.00419d0d
add esp, 4
mov dword [esi + 4], 0
push dword [esi + 8]
call fcn.00419d04
add esp, 4
mov dword [esi + 4], eax
test eax, eax
jne 0x415873
push ebx
push str.__s__Could_not_alloc_file_buffer
lea eax, [esi + 0x218]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
push 0
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push dword [esi + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x415897
push ebx
push str.__s__Could_not_read_file
jmp 0x415853
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
pop edi
mov dword [esi + 0x214], eax
mov al, 1
pop esi
pop ebx
pop ebp
ret 4

Function at 0x416060
Capabilities:
Get disk information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
jmp 0x416088
jmp 0x41609a
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
mov ecx, ebx
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 4
push 0x4475e4
call fcn.00416b50
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x4160d9
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004198d7
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreateSequential]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx edx, word [ebp - 0x40]
movzx eax, word [ebp - 6]
movzx ecx, word [ebp - 0x1e]
mov esi, dword [ebp - 0xa]
mov edi, dword [ebp - 0x1c]
xor esi, 0x5d78a569
shl edx, 0x10
xor edi, 0x12b586fe
or edx, eax
shl ecx, 0x10
movzx eax, word [ebp - 0x20]
xor edx, 0xf45bc123
or ecx, eax
xor ecx, 0xb542d8e1
push ecx
push edx
push esi
push edi
push 0x14
push 0x4475e8
mov ecx, ebx
call fcn.00416b50
push eax
lea eax, [ebx + 8]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
jmp 0x416157
jmp 0x41616e
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004198d7
mov esp, ebp
pop ebp
ret
Function at 0x416190
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
jmp 0x4161b8
jmp 0x4161ca
mov ebx, dword [ebp - 0x18]
cmp dword [ebx + 4], 0xffffffff
jne 0x416298
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x416298
push dword [ebp + 0xc]
mov eax, 2
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp + 8]
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x416239
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x416239
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0041ce00
add esp, 0xc
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x41625a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x416298
jmp 0x41626c
jmp 0x416283
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004198d7
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004198d7
mov esp, ebp
pop ebp
ret 8

Function at 0x4162b0
Capabilities:
Encrypt data using rc4 prga
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x54], ecx
jmp 0x4162d8
jmp 0x4162ea
call fcn.00420b4b
and eax, 0x800000ff
jns 0x4162fd
dec eax
or eax, 0xffffff00
inc eax
mov edx, dword [ebp - 0x54]
mov cl, byte [ebp + 8]
mov byte [ebp - 0x4c], cl
mov word [ebp - 0x50], 0x49c1
mov byte [edx + 0x2c], al
movups xmm0, xmmword [0x511678]
mov ecx, dword [0x511674]
mov dword [ebp - 0xb], ecx
mov ecx, 4
movups xmmword [ebp - 0x4b], xmm0
mov byte [ebp - 0x4e], 0
movups xmm0, xmmword [0x511688]
mov byte [ebp - 0x4d], al
movups xmmword [ebp - 0x3b], xmm0
movups xmm0, xmmword [0x511654]
movups xmmword [ebp - 0x2b], xmm0
movups xmm0, xmmword [0x511664]
movups xmmword [ebp - 0x1b], xmm0
add al, 0x1a
xor al, byte [ebp + ecx - 0x50]
sub al, 0x69
mov byte [ebp + ecx - 0x50], al
inc ecx
cmp ecx, 0x49
jae 0x416367
mov al, byte [ebp - 0x4d]
jmp 0x416350
movzx eax, byte [ebp - 0x4f]
push 0
push eax
lea eax, [ebp - 0x50]
push eax
push dword [edx + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x4163a2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4163a2
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004198d7
mov esp, ebp
pop ebp
ret 4
jmp 0x4163b4
jmp 0x4163cb
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004198d7
mov esp, ebp
pop ebp
ret 4
Function at 0x416740
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
jmp 0x41675e
jmp 0x416770
jmp 0x416782
push 0x10000000
pop dword [0x511fa0]
jmp 0x41679b
cmp dword [0x511fa0], 0x10000000
je 0x4167cd
xorps xmm0, xmm0
movups xmmword [0x43df9c], xmm0
movups xmmword [0x43df8c], xmm0
movups xmmword [0x43df7c], xmm0
movups xmmword [0x43df6c], xmm0
movups xmmword [0x43df5c], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push 0
movq qword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0xc
lea ecx, [ebp - 0x24]
push ecx
push esi
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 4]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x14]
add edi, ecx
push eax
push edi
push ecx
mov ecx, esi
mov dword [ebp - 0x18], edi
call fcn.004169d0
test al, al
je 0x4168e4
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov ecx, esi
push eax
push edi
push dword [ebp - 4]
call fcn.00416a90
test al, al
je 0x4168e4
mov edi, dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 0x10
push edi
call ebx
mov esi, 0x43df8c
mov eax, edi
sub esi, edi
mov edx, 0x10
mov cl, byte [eax + esi]
lea eax, [eax + 1]
xor cl, 0x9f
mov byte [eax - 1], cl
sub edx, 1
jne 0x416856
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push 0x10
push edi
call ebx
mov edi, dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 0x10
push edi
call ebx
mov esi, 0x43df7c
mov ecx, edi
sub esi, edi
mov edx, 0x10
nop
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, 0x9f
mov byte [ecx - 1], al
sub edx, 1
jne 0x416890
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 0x10
push edi
call ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x14]
sub eax, ecx
sub eax, 0x10
push eax
lea eax, [ecx + 0x10]
mov ecx, esi
push eax
call fcn.00416920
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
mov edi, dword [ebp - 0x18]
add eax, 0x10
push ecx
push edi
push eax
mov ecx, esi
call fcn.004169d0
test al, al
jne 0x416823
jmp 0x4168f6
jmp 0x41690d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x416920
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
jmp 0x41693e
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push esi
push edi
call ebx
xor ecx, ecx
test esi, esi
jle 0x41699d
mov ebx, dword [ebp - 8]
nop dword [eax]
mov eax, 0x38e38e39
mul ecx
mov eax, ecx
shr edx, 3
lea edx, [edx + edx*8]
shl edx, 2
sub eax, edx
mov dl, byte [eax + ebx + 0x55]
xor dl, byte [eax + ebx + 8]
mov eax, ecx
and eax, 0xf
xor dl, 0xaf
mov al, byte [eax + 0x43df9c]
xor al, byte [ecx + edi]
sub al, dl
mov byte [ecx + edi], al
inc ecx
cmp ecx, esi
jl 0x416960
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push esi
push edi
call ebx
jmp 0x4169ba
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x416b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
jmp 0x416b68
push pe_nt_image_headers32
push 0
push 0x511fa8
call fcn.0041b210
mov esi, dword [ebp + 0xc]
add esp, 0xc
xor eax, eax
test esi, esi
jle 0x416c35
mov edx, dword [ebp + 8]
cmp esi, 0x40
jb 0x416c16
lea ecx, [esi - 1]
add ecx, edx
lea edi, [esi + 0x511fa7]
cmp ecx, 0x511fa8
jb 0x416bac
cmp edi, edx
jae 0x416c16
mov ecx, esi
and ecx, 0x8000003f
jns 0x416bbb
dec ecx
or ecx, 0xffffffc0
inc ecx
movaps xmm1, xmmword [0x43f000]
mov edi, esi
sub edi, ecx
nop word [eax + eax]
movups xmm0, xmmword [edx + eax]
pxor xmm0, xmm1
movups xmmword [eax + 0x511fa8], xmm0
movups xmm0, xmmword [edx + eax + 0x10]
pxor xmm0, xmm1
movups xmmword [eax + 0x511fb8], xmm0
movups xmm0, xmmword [edx + eax + 0x20]
pxor xmm0, xmm1
movups xmmword [eax + 0x511fc8], xmm0
movups xmm0, xmmword [edx + eax + 0x30]
pxor xmm0, xmm1
movups xmmword [eax + 0x511fd8], xmm0
add eax, 0x40
cmp eax, edi
jl 0x416bd0
cmp eax, esi
jge 0x416c35
sub edx, 0x511fa8
mov cl, byte [edx + eax + 0x511fa8]
xor cl, 0xb0
mov byte [eax + 0x511fa8], cl
inc eax
cmp eax, esi
jl 0x416c20
jmp 0x416c47
mov eax, 0x511fa8
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x417fb0
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
mov edi, ecx
mov eax, dword [edi + 0x70]
test eax, eax
je 0x417fd6
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x70]
call ebx
mov dword [edi + 0x70], 0
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x417fe7
push eax
call ebx
mov dword [edi + 0x6c], 0
push esi
lea ecx, [edi + 0x38]
call fcn.00417840
lea esi, [edi + 0x14]
mov ebx, 8
mov eax, dword [esi]
test eax, eax
je 0x418015
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
add esi, 4
sub ebx, 1
jne 0x417ff8
mov eax, dword [edi + 0x10]
pop esi
test eax, eax
je 0x418041
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov dword [edi + 0x10], 0
jmp 0x418047
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 8]
test eax, eax
je 0x418058
push eax
call ebx
mov dword [edi + 8], 0
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x41806e
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 4], 0xffffffff
pop edi
pop ebx
ret
Function at 0x4182a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x510660
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test edi, edi
js 0x418420
cmp edi, 0x14
jge 0x418420
imul ecx, edi, 0x68
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x511774]
test eax, eax
js 0x418420
cmp eax, 0x14
jge 0x418420
cmp dword [ecx + 0x511778], 0
je 0x418420
cmp dword [ecx + 0x51178c], 0xffffffff
je 0x418420
mov eax, dword [ebp + 0x10]
cmp eax, 0x2000
jle 0x418327
push eax
push edi
push str._SocketManager__Max_msg_size__Type:_1__Index:__d__Size:__d_
push 0xff
push 0x442a08
call fcn.00415470
add esp, 0x14
jmp 0x418420
mov ebx, dword [ecx + 0x511794]
cmp dword [ebx + 0x20], 0
jle 0x418396
mov edx, dword [ebx + 0x42028]
lea ecx, [edx + eax]
cmp ecx, 0x40000
jle 0x418362
push ecx
push edi
push str._SocketManager__Max_msg_size__Type:_2__Index:__d__Size:__d_
push 0xff
push 0x442a08
call fcn.00415470
add esp, 0x14
jmp 0x418415
push eax
push dword [ebp + 0xc]
lea eax, [ebx + 0x2028]
add eax, edx
push eax
call fcn.0041ce00
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add dword [ebx + 0x42028], ecx
push 0x510660
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push eax
push dword [ebp + 0xc]
lea esi, [ebx + 0x24]
push esi
call fcn.0041ce00
mov ecx, dword [ebp + 0x10]
lea eax, [ebx + 0x14]
add esp, 0xc
mov dword [eax], ecx
mov dword [ebx + 0x20], ecx
lea ecx, [ebp + 8]
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], 1
push 0
push ebx
push 0
push ecx
push 1
push eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x2024], 0
mov dword [ebp + 8], 0
push dword [eax + 0x51178c]
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x418380
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x3e5
je 0x418380
call esi
push eax
push str._SocketManager__WSASend___failed_with_error:__d
push 0xff
push 0x442a08
call fcn.00415470
add esp, 0x10
push edi
mov ecx, 0x5105e8
call fcn.00418440
push 0x510660
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4185f0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
lea edi, [esi + 0x78]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ebx, ebx
js 0x418785
cmp ebx, 0x14
jge 0x418785
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x41862a
mov ecx, esi
jmp 0x41877f
mov esi, dword [ebp + 0x10]
imul ecx, ebx, 0x68
add dword [esi + 0x2024], eax
mov edx, dword [esi + 0x2024]
mov dword [ebp + 0xc], ecx
mov ecx, dword [esi + 0x20]
cmp edx, ecx
jl 0x418716
mov eax, dword [esi + 0x42028]
test eax, eax
jg 0x41866b
push edi
mov dword [esi + 0x20], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [esi + 0x2028]
lea ecx, [esi + 0x24]
cmp eax, 0x2000
jle 0x4186e0
push 0x2000
push edx
push ecx
call fcn.0041ce00
lea eax, [esi + 0x24]
mov dword [esi + 0x14], 0x2000
mov dword [esi + 0x18], eax
add esp, 0xc
mov eax, dword [esi + 0x42028]
sub eax, 0x2000
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], 0x2000
push eax
lea eax, [esi + 0x4028]
mov dword [esi + 0x2024], 0
push eax
lea eax, [esi + 0x2028]
push eax
call fcn.0041c740
add esp, 0xc
lea eax, [esi + 0x14]
add dword [esi + 0x42028], 0xffffe000
jmp 0x41872c
push eax
push edx
push ecx
call fcn.0041ce00
lea eax, [esi + 0x24]
mov dword [esi + 0x2024], 0
mov dword [esi + 0x18], eax
add esp, 0xc
mov eax, dword [esi + 0x42028]
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], eax
lea eax, [esi + 0x14]
mov dword [esi + 0x42028], 0
jmp 0x418725
lea eax, [esi + 0x24]
add eax, edx
sub ecx, edx
mov dword [esi + 0x18], eax
lea eax, [esi + 0x14]
mov dword [eax], ecx
mov dword [esi + 0x1c], 1
push 0
push esi
push 0
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push 1
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0x51178c]
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x418785
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x3e5
je 0x418785
call esi
push eax
push str._SocketManager__WSASend___failed_with_error:__d
push 0xff
push 0x442a08
call fcn.00415470
mov ecx, dword [ebp - 4]
add esp, 0x10
push ebx
call fcn.00418440
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x419050
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
jmp 0x419078
lea eax, [ebp - 0x104]
push pe_nt_image_headers32
push 0
push eax
call fcn.0041b210
mov edx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x104]
call fcn.00419110
add esp, 0x10
lea eax, [ebp - 0x104]
push 0x10
push str.Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4190c8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x419540
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf44
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
movq xmm0, qword [ecx + 6]
push ebx
push esi
movzx eax, word [ecx + 4]
lea ebx, [ecx + 6]
push edi
mov word [ebp - 0xf22], ax
movzx eax, word [ebx + 8]
push ebx
mov word [ebp - 0xf18], ax
mov al, byte [ebx + 0xa]
push str.SELECT_Guild_FROM_WarehouseGuild_WHERE_Guild_s
push 0x447690
mov dword [ebp - 0xf2c], ecx
mov dword [ebp - 0xf28], 0x51c0fc2
mov byte [ebp - 0xf24], 0x70
movq qword [ebp - 0xf20], xmm0
mov byte [ebp - 0xf16], al
call fcn.00416db0
add esp, 0xc
test al, al
je 0x4196b2
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4196b2
push dword [0x44769c]
mov esi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call esi
mov edi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x44769c]
call edi
push ebx
push str.SELECT_Items_Money_pw_FROM_WarehouseGuild_WHERE_Guild_s
push 0x447690
call fcn.00416db0
add esp, 0xc
test al, al
je 0x41966a
push dword [0x44769c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x41966a
push 0xf00
lea eax, [ebp - 0xf15]
push eax
push str.Items
call fcn.004170c0
push str.Money
call fcn.00417090
push 0x43eb64
mov dword [ebp - 0x14], eax
call fcn.00417090
push dword [0x44769c]
mov word [ebp - 0x10], ax
call esi
push 2
push dword [0x44769c]
call edi
push 0xf1c
lea eax, [ebp - 0xf28]
jmp 0x419767
push dword [0x44769c]
call esi
push 2
push dword [0x44769c]
call edi
push 0xf00
lea eax, [ebp - 0xf15]
push 0xff
push eax
call fcn.0041b210
add esp, 0xc
mov dword [ebp - 0x14], 0
xor eax, eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0xf28]
push 0xf1c
jmp 0x419767
push dword [0x44769c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov esi, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x44769c]
call esi
push ebx
push str.INSERT_INTO_WarehouseGuild__Guild_Money_EndUseDate_DbVersion__VALUES___s_0_getdate___3_
push 0x447690
call fcn.00416db0
add esp, 0xc
push dword [0x44769c]
call edi
push 2
push dword [0x44769c]
call esi
push ebx
push 0xf00
push 0xf00
push str.UPDATE_WarehouseGuild_SET_ItemsCONVERT_varbinary__d__REPLICATE_char_0xFF___d___WHERE_Guild_s
push 0x447690
call fcn.00416db0
add esp, 0x14
push dword [0x44769c]
call edi
push 2
push dword [0x44769c]
call esi
mov eax, dword [ebp - 0xf2c]
movq xmm0, qword [ebx]
mov dword [ebp - 0xf40], 0x710512c1
movq qword [ebp - 0xf3a], xmm0
movzx eax, word [eax + 4]
mov word [ebp - 0xf3c], ax
movzx eax, word [ebx + 8]
mov word [ebp - 0xf32], ax
mov al, byte [ebx + 0xa]
mov byte [ebp - 0xf30], al
lea eax, [ebp - 0xf40]
push 0x12
push eax
push dword [ebp + 0xc]
call fcn.004182a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004198d7
mov esp, ebp
pop ebp
ret 8
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x930328
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x93032e
pop ebp
sub ebp, 6
sub ebp, 0x530328
jmp 0x93038c
jmp 0x930395
mov eax, 0x530328
add eax, ebp
add eax, 0x93
mov ecx, 0x622
mov edx, 0x3d83511c
xor byte [eax], dl
inc eax
dec ecx
jne 0x9303ac
jmp 0x9303bf
jbe 0x93041d
je 0x9303df
or al, 0x1c
sbb al, 0x74
sbb al, 0xd0
xor byte [edi + ebp], bl
fmul qword [ebx - 0x77]
pop ebp
push ebp
sbb al, 0x4c
xchg edi, eax
rcl dword [edi + 0x1c1c2095]
sbb al, 0x9d
fucom st(4)
sbb al, 0x1c
sbb al, 0x1f
in al, 0x1c
sbb al, 0x1c
pop ds
shl dword [edx + ebx - 0x59e3e3e4], 1
xor al, 0x1c
sbb al, 0x1c
jmp 0x9303ef
xchg edi, eax
cdq
adc al, 0x1c
sbb al, 0x1c
xchg edi, eax
mov dword [eax], edx
sbb al, 0x1c
sbb al, 0x97
xchg ecx, eax
or al, 0x1c
sbb al, 0x1c
invalid
Function at 0x10002630
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001bc78
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10024490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov ebx, ecx
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x10002695
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0x18]
lea esi, [ebp - 0x7c]
call fcn.100023e0
mov ecx, esi
call fcn.10002490
mov ecx, esi
call fcn.10002570
cmp dword [ebp + 0x1c], 0x10
jb 0x100026c1
mov eax, dword [ebp + 8]
push eax
call fcn.10009236
add esp, 4
mov eax, ebx
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.10009241
mov esp, ebp
pop ebp
ret