joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10123600
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x88
mov eax, dword [0x1019a984]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
mov ebp, dword [esp + 0x94]
mov ebx, dword [ebp]
push esi
mov esi, dword [ebp + 0x3c8]
push edi
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x80
mov edx, dword [esi + 0x154]
mov eax, dword [esi + 0x15c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x14]
push 0
add edx, 4
lea edi, [esi + 0x15c]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x1012368f
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0xc8]
push ecx
call fcn.10131ca0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esi + 0x148], edx
mov edx, dword [esi + 0x14c]
cmp edx, 4
jge 0x101236ca
push str.Received_too_short_packet
push ebx
call fcn.1010f7d0
add esp, 8
mov dword [esi + 0xc], 7
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10135c7b
add esp, 0x88
ret
mov eax, edi
call fcn.10122510
movzx eax, ax
mov dword [esi + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x101236e3
jmp dword [eax*4 + 0x101237cc]
cmp edx, 4
jle case.0x101236e3.4
mov eax, edi
call fcn.10122520
movzx ecx, word [esi + 0x40]
inc ecx
cmp cx, ax
jne case.0x101236e3.4
add edx, 0xfffffffc
push edx
mov edx, dword [edi]
add edx, 4
push edx
push 1
push ebp
call fcn.1010fab0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x10123736
mov ecx, 5
mov eax, esi
call fcn.10123580
mov eax, edi
jmp 0x101236b1
mov eax, dword [esi + 0x14c]
sub eax, 4
cdq
add dword [ebx + 0x38], eax
mov ecx, dword [ebx + 0x38]
adc dword [ebx + 0x3c], edx
mov eax, dword [ebx + 0x3c]
push eax
push ecx
push ebx
call fcn.10115b50
jmp 0x101237a2
mov eax, edi
call fcn.10122520
movzx edx, ax
mov eax, dword [edi]
add eax, 4
push eax
push 0x10176d14
push ebx
mov dword [esi + 8], edx
call fcn.1010f740
jmp 0x101237a2
mov ecx, dword [edi]
add edx, 0xfffffffe
push edx
add ecx, 2
push ecx
push esi
call fcn.101225b0
add esp, 0xc
test eax, eax
je case.0x101236e3.4
jmp 0x101236b1
push str.Internal_error:_Unexpected_packet
push 0x10179a7c
push ebx
call fcn.1010f7d0
add esp, 0xc
push ebp
call fcn.10115c10
add esp, 4
test eax, eax
je 0x101236af
mov ecx, 5
mov eax, esi
call fcn.10123580
mov eax, 0x2a
jmp 0x101236b1

Function at 0x10124580
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x1019a984]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x101245b5
push eax
push str.WSAStartup_failed___d_
push esi
call fcn.1010f7d0
add esp, 0xc
jmp 0x101245ee
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [esp]
cmp al, 2
jne 0x101245e0
shr eax, 8
test al, al
jne 0x101245e0
xor eax, eax
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.10135c7b
add esp, 0x194
ret
push str.insufficient_winsock_version_to_support_telnet
push esi
call fcn.1010f7d0
add esp, 8
mov ecx, dword [esp + 0x190]
xor ecx, esp
mov eax, 2
call fcn.10135c7b
add esp, 0x194
ret
Function at 0x10124780
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
mov edx, dword [edi + 0x134]
mov al, byte [esp + 8]
push esi
mov esi, dword [edi]
push 0
push 3
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], al
mov byte [esp + 0x16], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x101247c4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.1010f7d0
add esp, 0xc
mov esi, dword [esp + 0xc]
mov ecx, dword [edi]
push str.SENT
mov eax, ebx
call fcn.10124680
add esp, 4
pop esi
pop ecx
ret
Function at 0x101254e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
cmp dword [esp + 0xc], 0x1f
mov eax, dword [esp + 8]
mov eax, dword [eax]
push ebx
mov ebx, dword [eax + 0x8684]
mov dword [esp + 4], eax
jne 0x1012564a
push ebp
push esi
push edi
lea edi, [ebx + 0x1cb0]
lea ebp, [ebx + 0x1eb0]
mov dword [ebp], edi
cmp edi, ebp
jae 0x10125519
mov byte [edi], 0xff
inc dword [ebp]
mov eax, dword [ebp]
cmp eax, ebp
jae 0x10125526
mov byte [eax], 0xfa
inc dword [ebp]
mov eax, dword [ebp]
cmp eax, ebp
jae 0x10125533
mov byte [eax], 0x1f
inc dword [ebp]
movzx ecx, word [ebx + 0x1ca8]
mov esi, dword [sym.imp.WS2_32.dll_htons]
push ecx
call esi
movzx edx, ax
movzx eax, word [ebx + 0x1caa]
push eax
mov dword [esp + 0x20], edx
call esi
movzx ecx, ax
mov eax, dword [ebp]
cmp eax, ebp
jae 0x10125567
mov dl, byte [esp + 0x1c]
mov byte [eax], dl
inc dword [ebp]
mov eax, dword [ebp]
cmp eax, ebp
jae 0x10125577
mov dl, byte [esp + 0x1d]
mov byte [eax], dl
inc dword [ebp]
mov eax, dword [ebp]
cmp eax, ebp
jae 0x10125583
mov byte [eax], cl
inc dword [ebp]
mov eax, dword [ebp]
cmp eax, ebp
jae 0x1012558f
mov byte [eax], ch
inc dword [ebp]
mov eax, dword [ebp]
cmp eax, ebp
jae 0x1012559c
mov byte [eax], 0xff
inc dword [ebp]
mov eax, dword [ebp]
cmp eax, ebp
jae 0x101255a9
mov byte [eax], 0xf0
inc dword [ebp]
mov eax, dword [ebp]
mov esi, dword [esp + 0x10]
mov ecx, eax
sub ecx, edi
sub ecx, 2
push ecx
lea edx, [ebx + 0x1cb2]
push edx
push 0x3e
mov dword [ebx + 0x1eb4], eax
mov dword [ebp], edi
call fcn.10124b10
mov ebp, dword [sym.imp.WS2_32.dll_send]
add esp, 0xc
push 0
push 3
push edi
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x134]
push eax
call ebp
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jge 0x10125609
call esi
mov ecx, dword [esp + 0x10]
push eax
push str.Sending_data_failed___d_
push ecx
call fcn.1010f7d0
add esp, 0xc
lea edx, [ebx + 0x1cb3]
push 4
push edx
call fcn.10125370
mov eax, dword [edi + 0x134]
add esp, 8
push 0
push 2
add ebx, 0x1cb7
push ebx
push eax
call ebp
test eax, eax
jge 0x10125647
call esi
mov ecx, dword [esp + 0x10]
push eax
push str.Sending_data_failed___d_
push ecx
call fcn.1010f7d0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10126080
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x18
mov eax, dword [0x1019a984]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [esi + 0x138]
push ebp
mov ebp, dword [esi]
push edi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push ebx
or edi, 0xffffffff
mov dword [esp + 0x18], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x101260d4
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push ebx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov edi, eax
push ebx
push esi
call fcn.10111f50
add esp, 8
cmp edi, 0xffffffff
jne 0x10126108
push str.Error_accept__ing_server_connect
push ebp
call fcn.1010f7d0
add esp, 8
pop edi
pop ebp
mov eax, 0x1e
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.10135c7b
add esp, 0x18
ret
push str.Connection_accepted_from_server_n
push ebp
call fcn.1010f740
push 1
push edi
mov dword [esi + 0x138], edi
call fcn.1012dc70
mov dword [esi + 0x140], 1
mov eax, dword [ebp + 0x16c]
add esp, 0x10
test eax, eax
je 0x10126176
mov ecx, dword [ebp + 0x170]
push 1
push edi
push ecx
call eax
add esp, 0xc
test eax, eax
je 0x10126176
push edi
push esi
call fcn.10111f50
add esp, 8
pop edi
pop ebp
mov dword [esi + 0x138], 0xffffffff
mov eax, 0x2a
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.10135c7b
add esp, 0x18
ret
mov ecx, dword [esp + 0x20]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10135c7b
add esp, 0x18
ret
Function at 0x101297b0
Capabilities:
Check http status code

Disassembly:
mov eax, 0x51eb851f
imul ecx
sar edx, 5
push ebx
mov ebx, dword [edi]
mov eax, edx
push ebp
mov ebp, dword [esp + 0xc]
shr eax, 0x1f
push esi
add eax, edx
xor esi, esi
cmp eax, 2
je 0x101297e6
push str.Couldnt_set_desired_mode
push ebx
call fcn.1010f7d0
add esp, 8
lea eax, [esi + 0x11]
pop esi
pop ebp
pop ebx
ret
cmp ecx, 0xc8
je 0x101297fd
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push ebx
call fcn.1010f740
add esp, 0xc
cmp ebp, 0x13
jne 0x10129811
push edi
call fcn.10129740
add esp, 4
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x14
jne 0x10129825
push edi
call fcn.10126ac0
add esp, 4
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x15
jne 0x10129837
mov ecx, edi
call fcn.10129790
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x16
jne 0x10129845
mov ecx, edi
call fcn.101297a0
mov esi, eax
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x1012cbc0
Capabilities:
Parse pe header

Disassembly:
mov al, byte [esp + 4]
movsx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x1012cbcf
jmp dword [ecx*4 + 0x1012cc24]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret

Function at 0x1012cdb0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x1019a984]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.101383fc
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x1012ce15
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x1012ce15
lea edx, [esp]
push edx
call dword [0x1019a8a8]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10135c7b
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.10135c7b
add esp, 0x108
ret
jmp 0x1012cdb0

Function at 0x1012ce30
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x1019a984]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.101383fc
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x1012ce15
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x1012ce15
lea edx, [esp]
push edx
call dword [0x1019a8a8]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10135c7b
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.10135c7b
add esp, 0x108
ret
jmp 0x1012cdb0

Function at 0x1012e540
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [eax + 0x2c]
push esi
push edi
mov edi, dword [ebx]
mov esi, dword [edi + 0x1a8]
test esi, esi
jne 0x1012e559
mov esi, dword [eax + 0x28]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push ecx
push edx
call fcn.1010f320
push edx
push eax
call fcn.1010f350
add esp, 0x10
sub esi, eax
cmp dword [edi + 0x19c], 0
je 0x1012e5a6
mov eax, dword [ebx + 0x128]
mov ecx, dword [ebx + 0x124]
push eax
push ecx
call fcn.1010f320
push edx
push eax
call fcn.1010f350
mov ecx, dword [edi + 0x19c]
sub ecx, eax
add esp, 0x10
cmp esi, ecx
mov eax, ecx
jge 0x1012e5a8
mov eax, esi
pop edi
pop esi
pop ebx
ret

Function at 0x1012f550
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esi + edi - 1], 0
test eax, eax
jne 0x1012f582
push 0x2e
push esi
call fcn.10134fe0
add esp, 8
test eax, eax
je 0x1012f580
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
ret
Function at 0x1012f590
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0xf0000000
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1012f5c1
mov ecx, dword [esi]
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop esi
ret

Function at 0x1012f5d0
Capabilities:
Hash data via wincrypt

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push eax
mov eax, dword [edx + 4]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
ret

Function at 0x101305e0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x1019a89c]
mov edi, eax
add esp, 4
test edi, edi
jne 0x10130605
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x1013064c
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x10130650
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
mov dword [esp + 0x10], 0
test ebp, ebp
jbe 0x101306ae
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
inc ebx
call edx
add esp, 0x18
sub ebp, 1
jne 0x10130673
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x101306f1
lea esp, [esp]
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push 0x10187528
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x10187529
push eax
call ecx
mov eax, dword [esp + 0x20]
inc eax
add esp, 0x18
mov dword [esp + 8], eax
cmp eax, dword [esi + 0x10]
jb 0x101306c0
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x10131307
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x101a0ab0], 0
push esi
jne 0x1013127a
call fcn.101311a0
test eax, eax
je 0x101312bd
mov eax, dword [0x101a0ab0]
cmp eax, 1
jne 0x1013129b
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x101312bd
pop esi
ret
push eax
call dword [0x101a0ab8]
test eax, eax
jne 0x10131305
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x101312c1
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x101a0ab0]
call dword [0x101a0ab8]
mov edi, eax
test edi, edi
je 0x101312e6
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x10131302
mov edi, esi
add esi, 0xff0
push edi
push dword [0x101a0ab0]
call dword [0x101a0ab4]
add edi, 0x10
cmp edi, esi
jb 0x101312ee
mov eax, edi
pop edi
pop esi
ret
jmp 0x10131267

Function at 0x10135c7b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1019a984]
jne 0x10135c85
repz ret
jmp fcn.1014210f
Function at 0x101470a0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1013d566
and dword [ebp - 4], 0
cmp dword [0x101a163c], 0
mov ebx, eax
jne 0x10147151
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10147202
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10189e64
push edi
call esi
test eax, eax
je 0x10147202
push eax
call fcn.1013d4f4
mov dword [esp], 0x10189e54
push edi
mov dword [0x101a163c], eax
call esi
push eax
call fcn.1013d4f4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101a1640], eax
call esi
push eax
call fcn.1013d4f4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101a1644], eax
call esi
push eax
call fcn.1013d4f4
pop ecx
mov dword [0x101a164c], eax
test eax, eax
je 0x10147151
push 0x10189e0c
push edi
call esi
push eax
call fcn.1013d4f4
pop ecx
mov dword [0x101a1648], eax
mov eax, dword [0x101a1648]
cmp eax, ebx
je 0x101471a9
cmp dword [0x101a164c], ebx
je 0x101471a9
push eax
call fcn.1013d56f
push dword [0x101a164c]
mov esi, eax
call fcn.1013d56f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101471a9
test edi, edi
je 0x101471a9
call esi
test eax, eax
je 0x101471a0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101471a0
test byte [ebp - 0xc], 1
jne 0x101471a9
or dword [ebp + 0x10], 0x200000
jmp 0x101471e2
mov eax, dword [0x101a1640]
cmp eax, ebx
je 0x101471e2
push eax
call fcn.1013d56f
pop ecx
test eax, eax
je 0x101471e2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101471e2
mov eax, dword [0x101a1644]
cmp eax, ebx
je 0x101471e2
push eax
call fcn.1013d56f
pop ecx
test eax, eax
je 0x101471e2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101a163c]
call fcn.1013d56f
pop ecx
test eax, eax
je 0x10147202
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10147204
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4e2845
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x404336
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x403a50
and dword [ebp - 0x20], 0
call fcn.00440ae0
mov esi, eax
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [0x5202e8], esi
call fcn.00440ae0
mov esi, eax
call sub.MSVBVM60.DLL___vbaSetSystemError
mov eax, dword [ebp + 0xc]
movsx eax, word [eax]
add eax, dword [0x5202e8]
jo 0x4e28d6
cmp esi, eax
jge 0x4e28a8
call sub.MSVBVM60.DLL_rtcDoEvents
jmp 0x4e2883
push 0x4e28b9
jmp 0x4e28b8
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow

Function at 0x4e28db
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x404336
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x403a60
and dword [ebp - 0x20], 0
call fcn.00440ae0
mov esi, eax
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [0x5202e8], esi
call fcn.00440ae0
mov esi, eax
call sub.MSVBVM60.DLL___vbaSetSystemError
mov eax, dword [ebp + 0xc]
movsx eax, word [eax]
add eax, dword [0x5202e8]
jo 0x4e29cb
cmp esi, eax
jge 0x4e299d
call sub.MSVBVM60.DLL_rtcDoEvents
push 4
call fcn.0044069c
mov edi, eax
call sub.MSVBVM60.DLL___vbaSetSystemError
push 0xdc
call fcn.00440a2c
mov esi, eax
call sub.MSVBVM60.DLL___vbaSetSystemError
test si, si
jl 0x4e2987
cmp word [0x5201be], 0
je 0x4e2987
cmp word [0x5201de], 0xffff
je 0x4e2987
cmp word [0x520240], 0xffff
je 0x4e2987
push 1
pop eax
jmp 0x4e2989
xor eax, eax
xor ecx, ecx
test di, di
sete cl
test eax, ecx
jne 0x4e2919
or word [0x5201de], 0xffff
push 0x4e29ae
jmp 0x4e29ad
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow
Function at 0x4e29d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x404336
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xa0
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x403a70
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 3
push 0x445624
mov eax, dword [ebp + 8]
push dword [eax]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x445680
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 4
lea eax, [ebp - 0x28]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xac], 0x4008
mov dword [ebp - 0x44], 0x80020004
mov dword [ebp - 0x4c], 0xa
mov dword [ebp - 0x84], 0x443440
mov dword [ebp - 0x8c], 8
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaVarDup
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL_rtcGetObject
push 0
push 0x445684
push 0x10
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
lea esi, [ebp - 0xac]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
push 0x443508
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL___vbaVarLateMemCallLdRf
add esp, 0x20
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarLateMemCallLd
add esp, 0x10
push eax
call sub.MSVBVM60.DLL___vbaBoolVar
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
push 5
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x18
push 0x4e2b59
jmp 0x4e2b50
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219