joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5033d0
Capabilities:
Create pipe
Create two anonymous pipes

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi], 0xffffffff
je 0x5033e8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
push 0xfffffffffffffff5
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi + 0x130], eax
lea eax, [esp + 0x10]
lea ebx, [esi + 0x140]
push 0
lea edi, [esi + 0x13c]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x503437
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
mov ecx, dword [ebx]
push ecx
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
test eax, eax
jne 0x503450
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
lea edx, [esi + 4]
push 0
push edx
call ebp
push eax
mov eax, dword [edi]
push eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x50347d
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
mov ecx, dword [edi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [esp + 0x10]
lea edi, [esi + 0x138]
push 0
lea ebx, [esi + 0x134]
push edx
push edi
push ebx
mov dword [esi + 0x12c], eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x5034bd
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
mov eax, dword [ebx]
push eax
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
test eax, eax
jne 0x5034d6
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
push 2
push 0
push 0
push esi
call ebp
mov ecx, dword [edi]
push eax
push ecx
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x5034fa
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
mov edx, dword [edi]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xc
ret

Function at 0x503510
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0xffffffff
jne 0x503520
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 0x12c]
mov edi, dword [sym.imp.KERNEL32.dll_SetStdHandle]
push eax
push 0xfffffffffffffff6
call edi
test eax, eax
jne 0x503539
pop edi
pop esi
pop ecx
ret
mov ecx, dword [esi + 0x130]
push ecx
push 0xfffffffffffffff5
call edi
test eax, eax
jne 0x50354c
pop edi
pop esi
pop ecx
ret
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esi + 0xc], eax
jne 0x503565
pop edi
pop esi
pop ecx
ret
lea edx, [esp + 8]
push edx
push 0
push esi
push 0x503620
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 8]
mov dword [esi + 0x144], eax
neg eax
sbb eax, eax
pop edi
and eax, ecx
pop esi
pop ecx
ret
Function at 0x503590
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0xffffffff
jne 0x50359c
xor al, al
pop esi
ret
mov eax, dword [esi + 0xc]
test eax, eax
je 0x5035aa
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x144]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x5035ed
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x5035da
mov eax, dword [esi + 0x144]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x144]
push ecx
call edi
mov dword [esi + 0x144], 0
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x5035fd
push eax
call edi
mov dword [esi], 0xffffffff
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x50360f
push eax
call edi
mov dword [esi + 4], 0xffffffff
pop edi
mov al, 1
pop esi
ret
Function at 0x5048c0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x504957
mov ecx, edi
push ebx
and ecx, 0xff
push esi
mov byte [0xec6411], cl
mov byte [0xec6410], 1
lea edx, [ecx + ecx*2 + 0x65]
lea ecx, [ecx + ecx*2 + 1]
mov dword [esp + 0x10], edx
mov esi, 4
lea ecx, [ecx + ecx*2]
lea edx, [ecx + 0x65]
inc ecx
test eax, eax
jle 0x50492c
push ebp
sub edi, 0xec6414
mov ebp, eax
mov bl, byte [edi + esi + 0xec6410]
lea ecx, [ecx + ecx*2]
mov al, cl
add al, 0x65
xor bl, al
mov byte [esi + 0xec6410], bl
inc esi
inc ecx
dec ebp
jne 0x504910
pop ebp
mov bl, byte [esp + 0x10]
lea ecx, [esi - 4]
mov eax, ecx
mov byte [esi + 0xec6410], 0
sar eax, 8
xor al, bl
xor dl, cl
pop esi
mov byte [0xec6412], al
pop ebx
mov byte [0xec6413], dl
mov eax, 0xec6410
pop edi
ret
mov eax, 0xec6410
pop edi
ret

Function at 0x504960
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x504969
ret
cmp byte [eax], 1
jne 0x5049c4
movsx ecx, byte [eax + 1]
push ebx
mov bl, byte [eax + 2]
lea ecx, [ecx + ecx*2]
push esi
mov dl, cl
push edi
add dl, 0x65
lea ecx, [ecx + ecx*2 + 3]
xor bl, dl
mov dl, cl
mov byte [eax + 2], bl
mov bl, byte [eax + 3]
add dl, 0x65
xor esi, esi
xor bl, dl
xor edx, edx
mov dh, byte [eax + 2]
inc ecx
mov dl, bl
mov byte [eax + 3], bl
mov edi, edx
test edi, edi
jle 0x5049bd
mov bl, byte [esi + eax + 4]
lea ecx, [ecx + ecx*2]
mov dl, cl
add dl, 0x65
xor bl, dl
inc ecx
mov byte [esi + eax], bl
inc esi
cmp esi, edi
jl 0x5049a6
mov byte [edi + eax], 0
pop edi
pop esi
pop ebx
ret
Function at 0x5049d0
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [0xec6408]
sub esp, 0x40c
test al, 1
push ebx
push edi
jne 0x504a04
mov bl, al
push 0xec6388
or bl, 1
mov byte [0xec6408], bl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x504ba0
call fcn.0050695e
add esp, 4
mov edi, dword [esp + 0x418]
test edi, edi
jne 0x504a1a
pop edi
xor eax, eax
pop ebx
add esp, 0x40c
ret
push ebp
push esi
push 0xec6388
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [edi], 1
jne 0x504a7c
movsx eax, byte [edi + 1]
mov dl, byte [edi + 2]
mov bl, byte [edi + 3]
lea eax, [eax + eax*2]
xor esi, esi
mov cl, al
add cl, 0x65
lea eax, [eax + eax*2 + 3]
xor dl, cl
xor ecx, ecx
mov byte [edi + 2], dl
mov ch, byte [edi + 2]
mov dl, al
add dl, 0x65
xor bl, dl
inc eax
mov cl, bl
mov byte [edi + 3], bl
mov ebp, ecx
test ebp, ebp
jle 0x504a78
mov cl, byte [esi + edi + 4]
lea eax, [eax + eax*2]
mov dl, al
add dl, 0x65
xor cl, dl
inc eax
mov byte [esi + edi], cl
inc esi
cmp esi, ebp
jl 0x504a61
mov byte [edi + ebp], 0
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 1
mov ecx, 0xec63a4
cmp dword [ecx], eax
je 0x504aa0
add ecx, 4
inc edx
cmp ecx, 0xec63c8
jl 0x504a8e
jmp 0x504aa6
test edx, edx
mov ebx, edx
jne 0x504ac1
mov ecx, dword [0xec6810]
cmp ecx, 9
jae 0x504ac1
inc ecx
mov dword [0xec6810], ecx
mov ebx, ecx
mov dword [ecx*4 + 0xec63a0], eax
mov esi, dword [ebx*4 + 0xec63c8]
mov dword [ebx*4 + 0xec63c8], edi
test esi, esi
je 0x504b7b
cmp esi, edi
je 0x504b7b
cmp byte [edi], 1
je 0x504b7b
cmp byte [esi], 1
je 0x504b7b
lea edx, [esp + 0x1c]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
mov dword [esp + 0x18], eax
je 0x504b7b
lea ecx, [esp + 0x1c]
mov byte [esi], 1
and ecx, 0xff
mov ebp, 4
mov byte [esi + 1], cl
lea edx, [ecx + ecx*2 + 0x65]
lea ecx, [ecx + ecx*2 + 1]
mov dword [esp + 0x14], edx
xor edx, edx
lea ecx, [ecx + ecx*2]
lea ebx, [ecx + 0x65]
inc ecx
test eax, eax
mov dword [esp + 0x10], ebx
jle 0x504b61
mov bl, byte [esp + edx + 0x1c]
lea ecx, [ecx + ecx*2]
mov al, cl
add al, 0x65
xor bl, al
mov eax, dword [esp + 0x18]
mov byte [esi + ebp], bl
inc ebp
inc ecx
inc edx
cmp edx, eax
jl 0x504b42
mov ebx, dword [esp + 0x10]
mov dl, byte [esp + 0x14]
lea eax, [ebp - 4]
mov ecx, eax
mov byte [esi + ebp], 0
sar ecx, 8
xor cl, dl
xor bl, al
mov byte [esi + 2], cl
mov byte [esi + 3], bl
push 0xec6388
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov eax, edi
pop ebp
pop edi
pop ebx
add esp, 0x40c
ret

Function at 0x504e30
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
mov eax, ecx
push edi
xor esi, esi
mov edi, eax
mov edx, esi
mov ebx, 8
test dl, 1
je 0x504e4f
shr edx, 1
xor edx, 0xedb88320
jmp 0x504e51
shr edx, 1
dec ebx
jne 0x504e40
mov dword [edi], edx
inc esi
add edi, 4
cmp esi, 0x100
jl 0x504e39
pop edi
pop esi
pop ebx
ret
Function at 0x504e70
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
mov eax, 0x1008
call fcn.005067e0
mov eax, dword [esp + 0x100c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x101c]
mov ebp, ecx
test eax, eax
mov dword [esi], 0xffffffff
je 0x504f81
cmp byte [eax], 0
je 0x504f81
push 0
push 0x80
push 3
push 0
push 3
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x10], ebx
jne 0x504ee0
mov dword [ebp + 0x400], 2
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x1008
ret 8
push edi
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x20]
push 0x1000
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x504f5b
mov edx, dword [esp + 0x10]
test edx, edx
je 0x504f57
lea edi, [esp + edx + 0x18]
lea edx, [esp + 0x18]
cmp edx, edi
lea ecx, [esp + 0x18]
jae 0x504f39
mov eax, dword [esi]
xor ebx, ebx
mov bl, byte [ecx]
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [ebp + edx*4]
xor edx, eax
inc ecx
cmp ecx, edi
mov dword [esi], edx
jb 0x504f15
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x20]
push 0x1000
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x504efd
jmp 0x504f5b
test eax, eax
jne 0x504f65
mov dword [ebp + 0x400], 3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi]
pop edi
not edx
mov dword [esi], edx
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x1008
ret 8
mov dword [ebp + 0x400], 1
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x1008
ret 8

Function at 0x508229
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x508249
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00506183
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x50826c
test byte [esp + 8], 2
je 0x50826c
call fcn.005061f6
mov dword [eax], 0xd
call fcn.005061ff
mov dword [eax], 5
jmp 0x508245
xor eax, eax
ret
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x491349
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push 0
push 0x10001540
push 0
push 0
call fcn.004948de
mov dword [0x1001e6ec], eax
add esp, 0x1c
ret
Function at 0x492a39
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x493c99
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
xor ecx, ecx
mov ebp, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 8], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x493d5a
push esi
push edi
add ebx, 0x10
cmp dword [ebx], 0
jne 0x493d04
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x493d38
mov eax, dword [ebx - 4]
push 4
push 0x1000
add eax, ebp
push esi
push eax
call dword [0x100161b0]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x493d38
mov ecx, dword [ebx - 4]
mov eax, dword [ebx]
push 4
push 0x1000
add ecx, ebp
push eax
push ecx
call dword [0x100161b0]
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0x18]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x493cc7
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x493d69
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
xor ecx, ecx
push ebp
mov ebx, dword [eax]
xor ebp, ebp
mov cx, word [ebx + 0x14]
cmp word [ebx + 6], bp
lea eax, [ecx + ebx + 0x18]
jbe 0x493e22
push esi
push edi
lea edi, [eax + 0x24]
mov eax, dword [edi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x493dc0
mov edx, dword [edi - 0x14]
mov eax, dword [edi - 0x1c]
push 0x4000
push edx
push eax
call dword [0x100161ac]
jmp 0x493e08
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov esi, dword [edx*4 + 0x1001a260]
je 0x493dda
or esi, 0x200
mov edx, dword [edi - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x493df5
test al, 0x40
je 0x493dec
mov ecx, dword [ebx + 0x20]
jmp 0x493df3
test al, 0x80
je 0x493e08
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jbe 0x493e08
mov ecx, dword [edi - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [0x100161e4]
mov edx, dword [esp + 0x18]
xor eax, eax
inc ebp
add edi, 0x28
mov ebx, dword [edx]
mov ax, word [ebx + 6]
cmp ebp, eax
jl 0x493d8d
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4c375d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013228
push 0x10012040
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x1001302c]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
cmp word [ecx], 0x5a4d
jne 0x4c37f8
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x4c37f8
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
mov esi, dword [ebp + 0xc]
cmp esi, edi
jb 0x4c37f8
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x4c37f8
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c428d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013238
push 0x10012040
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x1001302c]
test eax, eax
je 0x4c4317
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
cmp word [eax], 0x5a4d
jne 0x4c4310
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov dword [ebp - 0x3c], ecx
cmp dword [ecx], 0x4550
jne 0x4c4310
cmp word [ecx + 0x14], 0
mov dword [ebp - 4], 0xffffffff
je 0x4c4317
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c446d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013258
push 0x10012040
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
test eax, eax
mov esi, 0x10000
je 0x4c44a5
lea esi, [eax + 0x10000]
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
or ebx, 0xffffffff
mov edi, dword [0x1001302c]
push 0x1c
lea eax, [ebp - 0x38]
push eax
push esi
call edi
test eax, eax
jbe 0x4c452f
cmp dword [ebp - 0x28], 0x1000
jne 0x4c44ec
mov eax, dword [ebp - 0x24]
test ah, 1
jne 0x4c44ec
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], esi
cmp word [esi], 0x5a4d
je 0x4c44f7
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x2c]
lea esi, [edx + ecx]
jmp 0x4c44ba
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x40], eax
cmp dword [eax], 0x4550
mov dword [ebp - 4], ebx
jne 0x4c44ec
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4c454d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013268
push 0x10012040
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
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
xor edi, edi
cmp eax, edi
jne 0x4c458d
push edi
call dword [0x10013064]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], edi
cmp word [ecx], 0x5a4d
je 0x4c45a1
push 0xc1
jmp 0x4c4695
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x24], eax
cmp dword [eax], 0x4550
je 0x4c45bb
push 0xbf
jmp 0x4c4695
mov cx, word [eax + 0x14]
cmp cx, di
je 0x4c4690
and ecx, 0xffff
lea ecx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edi
xor edx, edx
mov dx, word [eax + 6]
cmp edi, edx
jae 0x4c4690
lea eax, [edi + edi*4]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax*8]
mov esi, 0x100174e0
mov ecx, eax
mov bl, byte [ecx]
mov dl, bl
cmp bl, byte [esi]
jne 0x4c461a
test dl, dl
je 0x4c4616
mov bl, byte [ecx + 1]
mov dl, bl
cmp bl, byte [esi + 1]
jne 0x4c461a
add ecx, 2
add esi, 2
test dl, dl
jne 0x4c45f6
xor ecx, ecx
jmp 0x4c461f
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x4c467b
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4c4690
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4c4690
mov edx, dword [ebp - 0x1c]
lea esi, [ecx + edx]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov eax, dword [esi]
cmp eax, 0x40
jb 0x4c4690
cmp dword [esi + 4], 0x727444
jne 0x4c4690
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x4c4657
mov dword [esi + 8], eax
push 0
call dword [0x10013080]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc edi
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x24]
jmp 0x4c45d8
push 0xc0
call dword [0x10013080]
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x146a2de
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x40001
push 0
push dword [0x6c]
push 1
mov ebx, 0x9c
mov eax, 3
call fcn.01473625
add esp, 0x10
push 0x80000301
push 0
push 0
push 0x40001
push 0
push dword [0x6c]
push 2
mov ebx, 0xec
mov eax, 3
call fcn.01473625
add esp, 0x1c
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 1
mov eax, 0x2015f3
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0145f686
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x146a383
push ebx
call fcn.0147361f
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x146a393
push ebx
call fcn.0147361f
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
push 0xa0000301
push 0
lea eax, [ebp - 0xc]
push eax
push 0xa0000301
push 0
lea eax, [ebp - 8]
push eax
push 0x80000301
push 0
push dword [ebp - 4]
push 0x40001
push 0
push dword [0x6c]
push 4
mov ebx, 0xf0
mov eax, 3
call fcn.01473625
add esp, 0x34
cmp dword [ebp - 8], 0x190
jge 0x146a3fe
cmp dword [ebp - 0xc], 0x190
jge 0x146a3fe
mov eax, 1
jmp 0x146a400
xor eax, eax
test eax, eax
je 0x146a585
push 0xffffffffffffffff
push 0x13
push 0x16012cc1
push 0x52010007
call fcn.01473637
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x146a52d
push 1
push 0x2710
push 1
mov eax, 0x201a13
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x201a9d
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0145a5cd
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x146a464
push ebx
call fcn.0147361f
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x146a474
push ebx
call fcn.0147361f
add esp, 4
push 0x80000301
push 0
push 0xbb8
push 1
mov ebx, 0x67c
call fcn.0147363d
add esp, 0x10
push dword [ebp - 4]
call fcn.0146a589
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x67c
call fcn.0147363d
add esp, 0x10
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
call fcn.0146a5bf
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
call fcn.0146a5bf
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x67c
call fcn.0147363d
add esp, 0x10
jmp 0x146a585
mov dword [0x68], 1
push 1
push 0x2710
push 1
mov eax, 0x2017d5
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x20181e
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0145a5cd
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x146a570
push ebx
call fcn.0147361f
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x146a580
push ebx
call fcn.0147361f
add esp, 4
call fcn.0145f852
mov esp, ebp
pop ebp
ret