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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcef5
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x100ee3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x25c], 0
lea ecx, [ebp - 0x2c]
call fcn.100016a5
and dword [ebp - 4], 0
mov byte [ebp - 0x2d], 0
push 0x208
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.10074c40
add esp, 0xc
push 1
movzx eax, byte [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 0xfffffff7
add eax, 0x23
push eax
lea eax, [ebp - 0x23c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100b891e
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x258]
call fcn.100016ce
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x264]
lea ecx, [ebp - 0x2c]
call fcn.10001767
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x258]
call fcn.1000173c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100b88e0
push 0x100d65e4
lea ecx, [ebp - 0x2c]
call fcn.10004cc8
jmp 0x100b88ed
push 0x100d660c
lea ecx, [ebp - 0x2c]
call fcn.10004cc8
lea eax, [ebp - 0x2c]
push eax
call fcn.100b7482
pop ecx
movzx eax, al
test eax, eax
jne 0x100b890d
lea eax, [ebp - 0x2c]
push eax
call fcn.100b83b9
pop ecx
mov byte [ebp - 0x2d], al
jmp 0x100b8911
mov byte [ebp - 0x2d], 1
push 0x100d6630
lea ecx, [ebp - 0x2c]
call fcn.10004cc8
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10001704
mov eax, dword [ebp - 0x25c]
or eax, 1
mov dword [ebp - 0x25c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.1000173c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10071fa1
leave
ret
Function at 0x100b895f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcf25
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100ee3e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 0x31], 0
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.100b8804
pop ecx
pop ecx
and dword [ebp - 4], 0
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x30]
call fcn.10004d78
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100b89fc
push 1
lea eax, [ebp - 0x50]
push eax
call fcn.100b8804
pop ecx
pop ecx
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x50]
call fcn.10004d78
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x50]
call fcn.1000173c
cmp dword [ebp - 0x10], 0xffffffff
je 0x100b8a2d
push 0
lea eax, [ebp - 0x54]
push eax
push 0x10
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100b8a24
cmp dword [ebp - 0x54], 0x10
jne 0x100b8a24
mov byte [ebp - 0x31], 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x31]
mov byte [ebp - 0x55], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.1000173c
mov al, byte [ebp - 0x55]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10071fa1
leave
ret 4
Function at 0x100b8a5b
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcf52
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100ee3e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov byte [ebp - 0x31], 0
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.100b8804
pop ecx
pop ecx
and dword [ebp - 4], 0
or dword [ebp - 0x10], 0xffffffff
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x30]
call fcn.10004d78
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100b8b4f
push 1
lea eax, [ebp - 0x50]
push eax
call fcn.100b8804
pop ecx
pop ecx
lea eax, [ebp - 0x30]
push eax
call fcn.100b60e6
pop ecx
movzx eax, al
test eax, eax
jne 0x100b8b26
lea eax, [ebp - 0x50]
push eax
call fcn.100b60e6
pop ecx
movzx eax, al
test eax, eax
je 0x100b8b26
push 0
lea ecx, [ebp - 0x30]
call fcn.10004d78
push eax
lea ecx, [ebp - 0x50]
call fcn.10004d78
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x100b8b26
lea ecx, [ebp - 0x50]
call fcn.10004d78
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x50]
call fcn.10004d78
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x50]
call fcn.1000173c
cmp dword [ebp - 0x10], 0xffffffff
je 0x100b8b9d
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x10
jb 0x100b8b94
cmp dword [ebp - 0x54], 0xffffffff
je 0x100b8b94
push 0
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x54]
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b8b94
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x54]
jne 0x100b8b94
mov byte [ebp - 0x31], 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x31]
mov byte [ebp - 0x59], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.1000173c
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10071fa1
leave
ret 4
Function at 0x100b9226
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100ee3e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
mov eax, dword [0x1010aa10]
and eax, 1
jne 0x100b926c
mov eax, dword [0x1010aa10]
or eax, 1
mov dword [0x1010aa10], eax
mov ecx, 0x1010aa0c
call fcn.10010607
push 0x100c2f8f
call fcn.1007250b
pop ecx
mov ecx, 0x1010aa0c
call fcn.100301a6
movzx eax, al
test eax, eax
je 0x100b92bf
and word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10074c40
add esp, 0xc
push 1
push 0x24
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x1010aa0c
call fcn.10003bdd
push 0x1010aa0c
mov ecx, dword [ebp + 8]
call fcn.10003b40
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10071fa1
leave
ret

Function at 0x100b92ea
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100ee3e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
mov eax, dword [0x1010aa18]
and eax, 1
jne 0x100b9330
mov eax, dword [0x1010aa18]
or eax, 1
mov dword [0x1010aa18], eax
mov ecx, 0x1010aa14
call fcn.10010607
push 0x100c2f80
call fcn.1007250b
pop ecx
mov ecx, 0x1010aa14
call fcn.100301a6
movzx eax, al
test eax, eax
je 0x100b9383
and word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10074c40
add esp, 0xc
push 1
push 0x25
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x1010aa14
call fcn.10003bdd
push 0x1010aa14
mov ecx, dword [ebp + 8]
call fcn.10003b40
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10071fa1
leave
ret
Function at 0x100b97a9
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10004af8
movzx eax, al
test eax, eax
jne 0x100b97d8
push 4
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10004d78
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
leave
ret 4
Function at 0x40f551
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x40f605
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0040f4e1
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x40f5de
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40f611
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x40f62c
test ebp, ebp
je 0x40f62c
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x40f634
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x40f674
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x40f6d0
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x40f6cb
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40f6b6
test dl, dl
je 0x40f6b2
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40f6b6
add ecx, 2
add eax, 2
test dl, dl
jne 0x40f696
xor eax, eax
jmp 0x40f6bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x40f6da
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x40f683
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x40f6f1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.0040f551
mov esi, eax
test esi, esi
je 0x40f7ad
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.0040f611
mov ebp, eax
test ebp, ebp
je 0x40f7ac
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.0040f611
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x40f7ac
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x40f7ac
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x40f7ab
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x40f791
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret

Function at 0x41c198
Capabilities:
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [0x5f21ac]
mov dword [ebp - 4], eax
mov eax, dword [0x5f21b0]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, eax
cmp eax, 0
jne 0x41c1f9
leave
ret 0xc
mov eax, dword [eax + 4]
cmp eax, 0
jne 0x41c205
leave
ret 0xc
add eax, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], 0
je 0x41c215
mov eax, ecx
jmp 0x41c26c
cmp dword [ebp - 4], 0
jne 0x41c23c
push 0x6a4abc5b
call fcn.0041c2e1
push 0x864bde7e
push eax
call fcn.0041c34e
call eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
jne 0x41c261
push 0x3cfa685d
call fcn.0041c2e1
push 0xc9616ee
push eax
call fcn.0041c34e
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 1
push dword [ebp - 0x10]
push 0
push dword [ebp - 4]
call dword [ebp - 8]
push ebx
push edx
mov dword [ebp - 0x14], eax
mov edx, eax
mov ecx, dword [ebp - 0x10]
sub ecx, 8
cmp dword [ebp + 0xc], 0
jne 0x41c288
mov dword [edx], 1
mov dword [edx + 4], ecx
add edx, 8
dec ecx
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
lea ebx, [ebx + ecx + 8]
cmp dword [ebp + 0xc], 0
je 0x41c2ae
push edx
mov eax, dword [ebp - 0x10]
mov ecx, 2
cdq
idiv ecx
mov dword [ebp - 0x10], eax
pop edx
xor ecx, ecx
cmp ecx, dword [ebp - 0x10]
jle 0x41c2b7
jmp 0x41c2ce
cmp dword [ebp + 0xc], 0
je 0x41c2c5
mov al, byte [ebx]
xchg byte [edx], al
mov byte [ebx], al
jmp 0x41c2c9
mov al, byte [ebx]
mov byte [edx], al
inc ecx
inc edx
dec ebx
jmp 0x41c2b0
pop edx
pop ebx
cmp dword [ebp + 0xc], 0
jne 0x41c2db
jmp 0x41c4bb
xor eax, eax
leave
ret 0xc
cmp dword [ebp - 0xc], 0
jne 0x41c4c8
mov eax, dword [ebp - 0x14]
leave
ret 0xc
mov eax, dword [ebp - 4]
mov dword [0x5f21ac], eax
mov eax, dword [ebp - 8]
mov dword [0x5f21b0], eax
mov eax, dword [ebp - 0x14]
leave
ret 0xc
Function at 0x41c2e1
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
pop ebp
pop edx
pop ecx
push edx
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x41c335
mov al, cl
cmp al, 0x61
jb 0x41c310
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x41c335
mov al, cl
cmp al, 0x61
jb 0x41c328
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x41c301
cmp edx, dword [esp + 0x18]
je 0x41c345
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x41c2fa
xor eax, eax
jmp 0x41c348
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x41c34e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
mov ecx, dword [esp]
mov edx, dword [esp + 8]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 4]
add esp, 8
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x41c44f
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x41c455
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
lea ebp, [ebx + ebp]
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x41c3b0
cmp al, 0x61
jb 0x41c3a8
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x41c39b
cmp edx, dword [esp + 0x14]
je 0x41c3c0
dec ecx
jne 0x41c390
xor eax, eax
jmp 0x41c44f
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
cmp eax, esi
jbe 0x41c44f
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x41c44f
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x41c400
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x41c40f
jmp 0x41c3f7
ror edx, 0xd
add edx, 0x44
ror edx, 0x1a
add edx, 0x4c
ror edx, 0x1a
add edx, 0x4c
ror edx, 0xd
mov ecx, edx
call 0x41c455
test eax, eax
je 0x41c44f
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x41c44a
cmp al, 0x61
jb 0x41c442
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x41c435
call 0x41c364
mov dword [esp + 0x1c], eax
popal
ret
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x41c4a2
mov al, cl
cmp al, 0x61
jb 0x41c47d
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x41c4a2
mov al, cl
cmp al, 0x61
jb 0x41c495
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x41c46e
cmp edx, dword [esp + 0x18]
je 0x41c4b2
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x41c467
xor eax, eax
jmp 0x41c4b5
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x41c364
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
mov ecx, dword [esp]
mov edx, dword [esp + 8]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 4]
add esp, 8
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x41c44f
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x41c455
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
lea ebp, [ebx + ebp]
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x41c3b0
cmp al, 0x61
jb 0x41c3a8
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x41c39b
cmp edx, dword [esp + 0x14]
je 0x41c3c0
dec ecx
jne 0x41c390
xor eax, eax
jmp 0x41c44f
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
cmp eax, esi
jbe 0x41c44f
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x41c44f
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x41c400
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x41c40f
jmp 0x41c3f7
ror edx, 0xd
add edx, 0x44
ror edx, 0x1a
add edx, 0x4c
ror edx, 0x1a
add edx, 0x4c
ror edx, 0xd
mov ecx, edx
call 0x41c455
test eax, eax
je 0x41c44f
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x41c44a
cmp al, 0x61
jb 0x41c442
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x41c435
call 0x41c364
mov dword [esp + 0x1c], eax
popal
ret
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x41c4a2
mov al, cl
cmp al, 0x61
jb 0x41c47d
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x41c4a2
mov al, cl
cmp al, 0x61
jb 0x41c495
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x41c46e
cmp edx, dword [esp + 0x18]
je 0x41c4b2
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x41c467
xor eax, eax
jmp 0x41c4b5
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x41c455
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
pop ebp
mov ecx, dword [esp]
mov edx, dword [esp + 8]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 4]
add esp, 8
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x41c44f
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x41c455
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
lea ebp, [ebx + ebp]
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x41c3b0
cmp al, 0x61
jb 0x41c3a8
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x41c39b
cmp edx, dword [esp + 0x14]
je 0x41c3c0
dec ecx
jne 0x41c390
xor eax, eax
jmp 0x41c44f
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
cmp eax, esi
jbe 0x41c44f
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x41c44f
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x41c400
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x41c40f
jmp 0x41c3f7
ror edx, 0xd
add edx, 0x44
ror edx, 0x1a
add edx, 0x4c
ror edx, 0x1a
add edx, 0x4c
ror edx, 0xd
mov ecx, edx
call 0x41c455
test eax, eax
je 0x41c44f
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x41c44a
cmp al, 0x61
jb 0x41c442
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x41c435
call 0x41c364
mov dword [esp + 0x1c], eax
popal
ret
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x41c4a2
mov al, cl
cmp al, 0x61
jb 0x41c47d
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x41c4a2
mov al, cl
cmp al, 0x61
jb 0x41c495
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x41c46e
cmp edx, dword [esp + 0x18]
je 0x41c4b2
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x41c467
xor eax, eax
jmp 0x41c4b5
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x41cf16
Capabilities:
Access peb ldr_data
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov esi, dword [ebp + 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
lea ecx, [eax + 0x14]
mov eax, dword [eax + 0x14]
cmp eax, ecx
je 0x41d04c
mov edx, eax
mov eax, dword [eax]
test eax, eax
je 0x41cf39
cmp dword [edx + 0x10], esi
jne 0x41cf31
xor eax, eax
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], getpeername
mov eax, dword [edx + 0x20]
mov dword [esp], eax
call dword [ebp + 0x10]
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
je 0x41d04c
mov ecx, dword [esi + 0x3c]
mov eax, dword [ebp + 0xc]
add ecx, esi
sub eax, esi
lea edx, [ecx + 0xf8]
movzx ecx, word [ecx + 6]
mov dword [ebp - 0x24], eax
imul ecx, ecx, 0x28
add ecx, edx
cmp edx, ecx
je 0x41d045
mov esi, dword [edx + 0xc]
cmp eax, esi
jb 0x41cfc6
mov edi, dword [edx + 0x10]
add edi, esi
cmp edi, eax
jb 0x41cfc6
add eax, dword [edx + 0x14]
sub eax, esi
jne 0x41cfcb
jmp 0x41d045
add edx, 0x28
jmp 0x41cfa5
xor edi, edi
mov dword [esp + 4], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp], ebx
call dword [ebp + 0x14]
sub esp, 0x10
inc eax
je 0x41d045
xor esi, esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0x10], esi
mov dword [esp + 8], 8
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebp + 0x18]
sub esp, 0x14
test eax, eax
je 0x41d045
cmp dword [ebp - 0x24], 8
jne 0x41d045
cmp byte [ebp - 0x20], 0xb8
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jne 0x41d045
shrd eax, edx, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
add eax, 5
mov dword [ebp - 0x1c], eax
mov dword [esp], ebx
call dword [ebp + 0x1c]
push ebx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x41d050
mov dword [esp], ebx
call dword [ebp + 0x1c]
push eax
xor eax, eax
xor edx, edx
leave
ret 0x18

Function at 0x41d064
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
call 0x41d06d
pop eax
mov esi, dword fs:[0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0x1c]
push esi
mov ebx, dword [esi + 8]
cmp eax, ebx
jb 0x41d090
mov ecx, dword [esi + 0x10]
add ecx, ebx
cmp eax, ecx
ja 0x41d090
mov eax, ebx
jmp 0x41d0a5
mov esi, dword [esi]
mov ebx, dword [esi]
cmp ebx, dword [esp]
jne 0x41d07c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
pop esi
pop esi
leave
ret