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

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x48]
test byte [eax], 8
jne 0x49f278
mov dword [esi + 0x40], 0x6f
xor eax, eax
pop esi
ret
push esi
push esi
call fcn.0049f410
add esp, 8
test eax, eax
je 0x49f274
lea eax, [esi + 4]
push eax
push esi
call fcn.0049f410
add esp, 8
test eax, eax
je 0x49f274
mov ecx, dword [esi + 0x48]
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x49f2b7
push 3
lea ecx, [esp + 0x10]
push ecx
push esi
call eax
add esp, 0xc
jmp 0x49f2c8
push dword [ecx + 0x38]
lea eax, [esp + 0x10]
push 3
push 1
push eax
call ebp
add esp, 0x10
cmp eax, 3
je 0x49f2eb
push dword [esi + 0x14]
mov dword [esi + 0x40], 0x66
call fcn.0049fcc0
add esp, 4
mov dword [esi + 0x14], 0
xor eax, eax
pop ebp
pop esi
ret
mov dl, byte [esp + 0xc]
movzx ecx, dl
mov eax, ecx
and ecx, 7
shr eax, 4
inc ecx
and eax, 7
inc eax
push ebx
mov dword [esi + 8], eax
mov bl, dl
movzx eax, byte [esp + 0x11]
shr bl, 3
mov dword [esi + 0xc], eax
and bl, 1
mov al, byte [esp + 0x12]
mov byte [esi + 0x10], al
push edi
test dl, dl
jns 0x49f3f0
mov eax, 1
shl eax, cl
push 0
push eax
call fcn.0049fd70
add esp, 8
mov dword [esi + 0x14], eax
test eax, eax
jne 0x49f348
pop edi
pop ebx
pop ebp
mov dword [esi + 0x40], 0x6d
pop esi
ret
mov byte [eax + 8], bl
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp dword [eax], ebx
jle 0x49f3f7
xor edi, edi
lea ebx, [ebx]
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x49f379
push 3
lea ecx, [esp + 0x18]
push ecx
push esi
call eax
add esp, 0xc
jmp 0x49f38a
push dword [ecx + 0x38]
lea eax, [esp + 0x18]
push 3
push 1
push eax
call ebp
add esp, 0x10
cmp eax, 3
jne 0x49f3d0
mov eax, dword [esi + 0x14]
inc ebx
mov ecx, dword [eax + 0xc]
movzx eax, byte [esp + 0x14]
mov byte [edi + ecx], al
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0xc]
movzx eax, byte [esp + 0x15]
mov byte [ecx + edi + 1], al
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0xc]
movzx eax, byte [esp + 0x16]
mov byte [ecx + edi + 2], al
add edi, 3
mov eax, dword [esi + 0x14]
cmp ebx, dword [eax]
jl 0x49f360
pop edi
pop ebx
pop ebp
mov eax, 1
pop esi
ret
push dword [esi + 0x14]
call fcn.0049fcc0
add esp, 4
mov dword [esi + 0x14], 0
mov dword [esi + 0x40], 0x66
xor eax, eax
pop edi
pop ebx
pop ebp
pop esi
ret
mov dword [esi + 0x14], 0
pop edi
pop ebx
pop ebp
mov eax, 1
pop esi
ret

Function at 0x49f410
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x49f42e
push 2
lea ecx, [esp + 0xc]
push ecx
push esi
call eax
add esp, 0xc
jmp 0x49f443
push dword [ecx + 0x38]
lea eax, [esp + 0xc]
push 2
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 2
je 0x49f453
mov dword [esi + 0x40], 0x66
xor eax, eax
pop esi
ret
mov ax, word [esp + 8]
movzx ecx, ah
movzx eax, al
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0xc]
pop esi
mov dword [eax], ecx
mov eax, 1
ret
Function at 0x49f470
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push edi
push 0x4c
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x49f49a
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49f493
mov dword [eax], 0x6d
xor eax, eax
pop edi
add esp, 8
ret
push esi
push 0x4c
push 0
push edi
call sub.MSVCRT.dll_memset
push 0x614c
push 1
mov dword [edi + 0x34], 0
mov dword [edi + 0x14], 0
call dword [sym.imp.MSVCRT.dll_calloc]
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x49f4e9
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49f4d7
mov dword [eax], 0x6d
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
pop esi
pop edi
add esp, 8
ret
push 0x614c
push 0
push esi
call sub.MSVCRT.dll_memset
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [edi + 0x48], esi
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 0x38], 0
mov dword [esi], 8
mov ecx, dword [edi + 0x48]
mov dword [edi + 0x44], eax
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x49f537
push 6
lea ecx, [esp + 0xc]
push ecx
push edi
call eax
add esp, 0xc
jmp 0x49f54c
push dword [ecx + 0x38]
lea eax, [esp + 0xc]
push 6
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 6
je 0x49f561
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49f58d
mov dword [eax], 0x66
jmp 0x49f58d
push 3
lea eax, [esp + 0xc]
mov byte [esp + 0x12], 0
push eax
push str.GIFVER
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x49f5a4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49f58d
mov dword [eax], 0x67
push esi
mov esi, dword [sym.imp.MSVCRT.dll_free]
call esi
push edi
call esi
add esp, 8
xor eax, eax
pop esi
pop edi
add esp, 8
ret
push edi
call fcn.0049f260
add esp, 4
test eax, eax
jne 0x49f5d6
push esi
mov esi, dword [sym.imp.MSVCRT.dll_free]
call esi
push edi
call esi
mov eax, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x49f5ce
mov dword [eax], 0x68
pop esi
xor eax, eax
pop edi
add esp, 8
ret
mov dword [edi + 0x40], 0
cmp byte [esp + 0xb], 0x39
sete al
mov byte [esi + 0x6148], al
mov eax, edi
pop esi
pop edi
add esp, 8
ret

Function at 0x49f820
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esi + 0x48]
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x49f83f
push 1
lea ecx, [esp + 0x10]
push ecx
push esi
call eax
add esp, 0xc
jmp 0x49f854
push dword [edi + 0x38]
lea eax, [esp + 0x10]
push 1
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 1
jb 0x49f86a
movzx ecx, byte [esp + 0xc]
cmp ecx, 8
jle 0x49f86f
mov dword [esi + 0x40], 0x66
pop edi
xor eax, eax
pop esi
ret
mov eax, 1
mov dword [edi + 8], ecx
shl eax, cl
inc ecx
mov dword [edi + 0xc], eax
inc eax
mov dword [edi + 0x10], eax
inc eax
mov dword [edi + 0x14], eax
mov eax, 1
shl eax, cl
mov dword [edi + 0x1c], eax
mov eax, 0x1002
mov dword [edi + 0x18], ecx
mov ecx, 0x1000
mov byte [edi + 0x44], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0x1002
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
add edi, 0x2144
rep stosd dword es:[edi], eax
pop edi
mov eax, 1
pop esi
ret
Function at 0x4a0210
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WSOCK32.DLL_WSAStartup]
test eax, eax
jne 0x4a0249
mov eax, dword [esp]
cmp al, 2
jne 0x4a0243
shr eax, 8
cmp al, 2
jne 0x4a0243
call fcn.004adce0
add esp, 0x190
ret
call dword [sym.imp.WSOCK32.DLL_WSACleanup]
mov eax, 2
add esp, 0x190
ret

Function at 0x4a9250
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
lea eax, [esp + 0x10]
push ebp
push eax
push dword [esp + 0x14]
lea ebp, [ebx + 0x4c4]
push 0x4000
push ebp
call fcn.004b8b30
mov eax, dword [ebx + 0xfc]
add esp, 0x10
test eax, eax
je 0x4a92a1
cmp byte [ebx + 0x84ec], 0
jne 0x4a92a1
push ebp
push 0x4e097c
push 0x100
push eax
call fcn.004b8a40
add esp, 0x10
mov byte [ebx + 0x84ec], 1
cmp byte [ebx + 0x284], 0
je 0x4a9318
push edi
mov edi, ebp
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4a92b0
sub edi, ecx
cmp edi, 0x3fff
jae 0x4a92d1
mov byte [edi + ebx + 0x4c4], 0xa
inc edi
mov byte [edi + ebx + 0x4c4], al
mov eax, dword [ebx + 0x164]
test eax, eax
je 0x4a92ef
push dword [ebx + 0xf8]
push edi
push ebp
push 0
push ebx
call eax
add esp, 0x14
pop edi
pop ebp
pop ebx
ret
push dword [ebx + 0xf4]
push 1
push 2
push 0x4e0964
call dword [sym.imp.MSVCRT.dll_fwrite]
push dword [ebx + 0xf4]
push 1
push edi
push ebp
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x20
pop edi
pop ebp
pop ebx
ret

Function at 0x4a9320
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x804
push ebx
mov ebx, dword [esp + 0x80c]
test ebx, ebx
je 0x4a93cd
cmp byte [ebx + 0x284], 0
je 0x4a93cd
push edi
lea eax, [esp + 0x818]
push eax
push dword [esp + 0x818]
lea eax, [esp + 0x10]
push 0x801
push eax
call fcn.004b8b30
lea edi, [esp + 0x18]
add esp, 0x10
lea ecx, [edi + 1]
lea esp, [esp]
mov al, byte [edi]
inc edi
test al, al
jne 0x4a9370
mov eax, dword [ebx + 0x164]
sub edi, ecx
test eax, eax
je 0x4a93a0
push dword [ebx + 0xf8]
lea ecx, [esp + 0xc]
push edi
push ecx
push 0
push ebx
call eax
add esp, 0x14
pop edi
pop ebx
add esp, 0x804
ret
push dword [ebx + 0xf4]
push 1
push 2
push 0x4e0964
call dword [sym.imp.MSVCRT.dll_fwrite]
push dword [ebx + 0xf4]
lea eax, [esp + 0x1c]
push 1
push edi
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x20
pop edi
pop ebx
add esp, 0x804
ret

Function at 0x4a9500
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.WSOCK32.DLL_recv]
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x4a9531
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, 0xffffffe7
add eax, 0x51
ret
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
xor eax, eax
ret
Function at 0x4a95c0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
push 0
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [ebp + eax*4 + 0x144]
call dword [sym.imp.WSOCK32.DLL_send]
mov ebx, dword [esp + 0x20]
mov edi, eax
mov dword [ebx], 0
cmp edi, 0xffffffff
jne 0x4a963b
push esi
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x4a9611
pop esi
pop edi
pop ebp
mov dword [ebx], 0x51
xor eax, eax
pop ebx
ret
push esi
push ebp
call fcn.004bdbb0
push eax
push str.Send_failure:__s
push dword [ebp]
call fcn.004a9250
mov eax, dword [ebp]
add esp, 0x14
mov dword [eax + 0x84f0], esi
mov eax, edi
mov dword [ebx], 0x37
pop esi
pop edi
pop ebp
pop ebx
ret

Function at 0x4a9740
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
mov eax, dword [edi + 0x164]
test eax, eax
je 0x4a9769
push dword [edi + 0xf8]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push edi
call eax
add esp, 0x14
pop edi
ret
mov eax, dword [esp + 0xc]
cmp eax, 2
ja 0x4a97a4
push dword [edi + 0xf4]
lea eax, [eax + eax*2]
push 1
add eax, 0x4e0964
push 2
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push dword [edi + 0xf4]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x20
xor eax, eax
pop edi
ret
Function at 0x4ac380
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xa8
mov eax, dword [0x7007b4]
mov dword [esp], 0x4020
mov dword [esp + 4], 0
mov dword [esp + 8], 4
test eax, eax
jne 0x4ac407
push 0x9c
push eax
lea eax, [esp + 0x14]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [esp + 0xc], 0x9c
mov dword [esp + 0x10], 6
push 3
push 2
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_VerSetConditionMask]
push edx
push eax
push 2
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_VerifyVersionInfoA]
test eax, eax
je 0x4ac3fb
mov dword [0x7007b4], 2
add esp, 0xa8
ret
mov dword [0x7007b4], 1
jmp 0x4ac40c
cmp eax, 2
je 0x4ac458
lea eax, [esp + 8]
push eax
lea eax, [esp + 8]
push eax
push 0x1001
push 0xffff
push dword [esp + 0xbc]
call dword [sym.imp.WSOCK32.DLL_getsockopt]
test eax, eax
jne 0x4ac43a
mov eax, dword [esp + 4]
cmp eax, dword [esp]
jg 0x4ac458
push 4
lea eax, [esp + 4]
push eax
push 0x1001
push 0xffff
push dword [esp + 0xbc]
call dword [sym.imp.WSOCK32.DLL_setsockopt]
add esp, 0xa8
ret
Function at 0x4ac600
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x10c]
push ebp
cmp dword [ebx + 0x7c], 2
mov ebp, dword [ebx]
je 0x4ac7c3
cmp byte [ebx + 0x231], 0
push esi
push edi
jne 0x4ac777
mov esi, dword [esp + 0x11c]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x14], pe_nt_image_headers32
push eax
push esi
call dword [sym.imp.WSOCK32.DLL_getpeername]
test eax, eax
je 0x4ac67b
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov esi, eax
push esi
push ebx
call fcn.004bdbb0
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebp
call fcn.004a9250
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
push pe_nt_image_headers32
lea eax, [esp + 0x18]
mov dword [esp + 0x14], pe_nt_image_headers32
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.WSOCK32.DLL_getsockname]
test eax, eax
je 0x4ac6d6
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov esi, eax
push esi
push ebx
call fcn.004bdbb0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebp
call fcn.004a9250
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
lea eax, [ebx + 0xd8]
push eax
lea esi, [ebx + 0xa8]
lea eax, [esp + 0x98]
push esi
push eax
call fcn.004accb0
add esp, 0xc
test al, al
jne 0x4ac722
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
push esi
push ebx
call fcn.004bdbb0
push eax
push esi
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.004a9250
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
lea edi, [ebx + 0x48]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x10c]
push eax
lea eax, [ebx + 0xdc]
push eax
lea eax, [esp + 0x1c]
movsw word es:[edi], word [esi]
push eax
call fcn.004accb0
add esp, 0xc
test al, al
jne 0x4ac777
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
push esi
push ebx
call fcn.004bdbb0
push eax
push esi
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.004a9250
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
mov edi, dword [ebx]
lea esi, [ebx + 0xa8]
add edi, 0x8654
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xb
movsw word es:[edi], word [esi]
mov edi, dword [ebx]
lea esi, [ebx + 0xdc]
add edi, 0x8688
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [ebx]
mov eax, dword [ebx + 0xd8]
pop edi
pop esi
mov dword [ecx + 0x8684], eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x10c]
mov dword [ecx + 0x86b8], eax
pop ebp
pop ebx
add esp, 0x104
ret
Function at 0x4ad020
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
xor eax, eax
push edi
mov edi, dword [esp + 0x20]
push 4
cmp byte [esi + 0x398], al
setne al
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 8
push 0xffff
push edi
call dword [sym.imp.WSOCK32.DLL_setsockopt]
test eax, eax
jns 0x4ad06a
push edi
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
push esi
call fcn.004a9320
add esp, 0xc
pop edi
pop esi
add esp, 0x10
ret
push dword [esi + 0x39c]
mov dword [esp + 0x10], 1
call fcn.004b7d20
push dword [esi + 0x3a0]
imul eax, eax, 0x3e8
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
call fcn.004b7d20
add esp, 8
imul eax, eax, 0x3e8
push 0
push 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0xc
lea eax, [esp + 0x24]
push eax
push 0x98000004
push edi
call dword [sym.imp.WS2_32.DLL_WSAIoctl]
test eax, eax
je 0x4ad0e1
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
push eax
push edi
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
push esi
call fcn.004a9320
add esp, 0x10
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4ad0f0
Capabilities:
Set socket configuration

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 4
mov esi, dword [edi]
movzx eax, byte [esi + 0x29a]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 1
push 6
push dword [esp + 0x20]
call dword [sym.imp.WSOCK32.DLL_setsockopt]
test eax, eax
jns 0x4ad13b
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
push eax
push edi
call fcn.004bdbb0
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.004a9320
add esp, 0x14
pop edi
pop esi
ret
push str.TCP_NODELAY_set_n
push esi
call fcn.004a9320
add esp, 8
pop edi
pop esi
ret
Function at 0x4b3f20
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov bl, byte [esi]
test bl, bl
je 0x4b3fd1
mov cl, byte [edi]
test cl, cl
je 0x4b3fd1
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x4b3f4a
jmp dword [eax*4 + 0x4b3ff8]
mov bl, 0x41
jmp case.default.0x4b3f4a
mov bl, 0x42
jmp case.default.0x4b3f4a
mov bl, 0x43
jmp case.default.0x4b3f4a
mov bl, 0x44
jmp case.default.0x4b3f4a
mov bl, 0x45
jmp case.default.0x4b3f4a
mov bl, 0x46
jmp case.default.0x4b3f4a
mov bl, 0x47
jmp case.default.0x4b3f4a
mov bl, 0x48
jmp case.default.0x4b3f4a
mov bl, 0x49
jmp case.default.0x4b3f4a
mov bl, 0x4a
jmp case.default.0x4b3f4a
mov bl, 0x4b
jmp case.default.0x4b3f4a
mov bl, 0x4c
jmp case.default.0x4b3f4a
mov bl, 0x4d
jmp case.default.0x4b3f4a
mov bl, 0x4e
jmp case.default.0x4b3f4a
mov bl, 0x4f
jmp case.default.0x4b3f4a
mov bl, 0x50
jmp case.default.0x4b3f4a
mov bl, 0x51
jmp case.default.0x4b3f4a
mov bl, 0x52
jmp case.default.0x4b3f4a
mov bl, 0x53
jmp case.default.0x4b3f4a
mov bl, 0x54
jmp case.default.0x4b3f4a
mov bl, 0x55
jmp case.default.0x4b3f4a
mov bl, 0x56
jmp case.default.0x4b3f4a
mov bl, 0x57
jmp case.default.0x4b3f4a
mov bl, 0x58
jmp case.default.0x4b3f4a
mov bl, 0x59
jmp case.default.0x4b3f4a
mov bl, 0x5a
push ecx
call fcn.004b41d0
add esp, 4
cmp bl, al
jne 0x4b3fd1
mov bl, byte [esi + 1]
inc esi
inc edi
test bl, bl
jne 0x4b3f35
movzx eax, byte [esi]
push eax
call fcn.004b41d0
movzx ecx, byte [edi]
mov bl, al
push ecx
call fcn.004b41d0
add esp, 8
xor ecx, ecx
cmp bl, al
sete cl
pop edi
pop esi
mov eax, ecx
pop ebx
ret
Function at 0x4b4060
Capabilities:
Parse pe header

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
mov bl, byte [edi]
test bl, bl
je 0x4b4126
lea ebx, [ebx]
mov cl, byte [ebp]
test cl, cl
je 0x4b4126
test esi, esi
je 0x4b412a
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x4b409e
jmp dword [eax*4 + 0x4b415c]
mov bl, 0x41
jmp case.default.0x4b409e
mov bl, 0x42
jmp case.default.0x4b409e
mov bl, 0x43
jmp case.default.0x4b409e
mov bl, 0x44
jmp case.default.0x4b409e
mov bl, 0x45
jmp case.default.0x4b409e
mov bl, 0x46
jmp case.default.0x4b409e
mov bl, 0x47
jmp case.default.0x4b409e
mov bl, 0x48
jmp case.default.0x4b409e
mov bl, 0x49
jmp case.default.0x4b409e
mov bl, 0x4a
jmp case.default.0x4b409e
mov bl, 0x4b
jmp case.default.0x4b409e
mov bl, 0x4c
jmp case.default.0x4b409e
mov bl, 0x4d
jmp case.default.0x4b409e
mov bl, 0x4e
jmp case.default.0x4b409e
mov bl, 0x4f
jmp case.default.0x4b409e
mov bl, 0x50
jmp case.default.0x4b409e
mov bl, 0x51
jmp case.default.0x4b409e
mov bl, 0x52
jmp case.default.0x4b409e
mov bl, 0x53
jmp case.default.0x4b409e
mov bl, 0x54
jmp case.default.0x4b409e
mov bl, 0x55
jmp case.default.0x4b409e
mov bl, 0x56
jmp case.default.0x4b409e
mov bl, 0x57
jmp case.default.0x4b409e
mov bl, 0x58
jmp case.default.0x4b409e
mov bl, 0x59
jmp case.default.0x4b409e
mov bl, 0x5a
push ecx
call fcn.004b41d0
add esp, 4
cmp bl, al
jne 0x4b4126
mov bl, byte [edi + 1]
inc edi
dec esi
inc ebp
test bl, bl
jne 0x4b4080
test esi, esi
jne 0x4b4134
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
movzx eax, byte [edi]
push eax
call fcn.004b41d0
movzx ecx, byte [ebp]
mov bl, al
push ecx
call fcn.004b41d0
add esp, 8
xor ecx, ecx
cmp bl, al
sete cl
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
ret

Function at 0x4b41d0
Capabilities:
Parse pe header

Disassembly:
mov cl, byte [esp + 4]
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x4b41df
jmp dword [eax*4 + 0x4b4238]
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
mov al, cl
ret
Function at 0x4b42a0
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, dword [esp + 0x10]
cmp esi, 1
jb 0x4b434c
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
sub edi, edx
lea esp, [esp]
mov cl, byte [edx]
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x4b42cd
jmp dword [eax*4 + 0x4b4350]
mov cl, 0x41
jmp case.default.0x4b42cd
mov cl, 0x42
jmp case.default.0x4b42cd
mov cl, 0x43
jmp case.default.0x4b42cd
mov cl, 0x44
jmp case.default.0x4b42cd
mov cl, 0x45
jmp case.default.0x4b42cd
mov cl, 0x46
jmp case.default.0x4b42cd
mov cl, 0x47
jmp case.default.0x4b42cd
mov cl, 0x48
jmp case.default.0x4b42cd
mov cl, 0x49
jmp case.default.0x4b42cd
mov cl, 0x4a
jmp case.default.0x4b42cd
mov cl, 0x4b
jmp case.default.0x4b42cd
mov cl, 0x4c
jmp case.default.0x4b42cd
mov cl, 0x4d
jmp case.default.0x4b42cd
mov cl, 0x4e
jmp case.default.0x4b42cd
mov cl, 0x4f
jmp case.default.0x4b42cd
mov cl, 0x50
jmp case.default.0x4b42cd
mov cl, 0x51
jmp case.default.0x4b42cd
mov cl, 0x52
jmp case.default.0x4b42cd
mov cl, 0x53
jmp case.default.0x4b42cd
mov cl, 0x54
jmp case.default.0x4b42cd
mov cl, 0x55
jmp case.default.0x4b42cd
mov cl, 0x56
jmp case.default.0x4b42cd
mov cl, 0x57
jmp case.default.0x4b42cd
mov cl, 0x58
jmp case.default.0x4b42cd
mov cl, 0x59
jmp case.default.0x4b42cd
mov cl, 0x5a
mov byte [edi + edx], cl
mov al, byte [edx]
inc edx
test al, al
je 0x4b434b
dec esi
jne 0x4b42c0
pop edi
pop esi
ret
Function at 0x4b9db0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x104
push dword [esp + 0x108]
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x4b9df9
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x4b9df9
lea eax, [esp]
push eax
call dword [0x6fb5ac]
add esp, 4
add esp, 0x104
ret
xor eax, eax
add esp, 0x104
ret