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

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
xor edx, edx
pop ebp
ret

Function at 0x1000e0ca
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
xor edx, edx
pop ebp
ret

Function at 0x1000e1f7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
not edx
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x1000e223
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10072268]
inc edi
sub esi, 1
jne 0x1000e20b
not edx
pop edi
mov eax, edx
pop esi
pop ebp
ret

Function at 0x1000e22b
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
not ebx
push edi
mov edi, dword [ebp + 0xc]
mov edx, ebx
test edi, edi
je 0x1000e291
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x1000e259
cmp edi, 2
jb 0x1000e259
cmp byte [esi], al
jne 0x1000e259
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10072268]
test edi, edi
jne 0x1000e242
jmp 0x1000e298
cmp al, 0x23
jne 0x1000e27f
cmp byte [esi], al
jne 0x1000e27f
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10072268]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000e271
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret
Function at 0x10025df4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100a53d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.1000d6a5
mov edi, eax
mov ecx, dword [edi + 0x90]
call fcn.100265f3
test al, al
jne 0x10025e34
push 0xdd
push 0x10094eb0
push str.io.Fonts__IsBuilt_____Font_atlas_not_built__It_is_generally_built_by_the_renderer_backend._Missing_call_to_renderer__NewFrame___function__e.g._ImGui_ImplOpenGL3_NewFrame__._
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [0x100a70e8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push ecx
push ecx
lea ecx, [ebp - 0x24]
movd xmm0, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.10004789
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov dword [edi + 8], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [0x100a70f0]
mov edx, dword [ebp - 8]
sbb edx, dword [0x100a70f4]
call fcn.1003d240
mov edx, dword [0x100a70fc]
mov ecx, dword [0x100a70f8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x20], xmm0
call fcn.1003d240
movss xmm1, dword [ebp - 0x20]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0x10], xmm1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [0x100a70f0], eax
mov dword [0x100a70f4], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xf4], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xf5], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xf7], 0
mov byte [edi + 0xf6], al
call fcn.1002628b
cmp byte [edi + 0xa8], 0
pop edi
pop esi
je 0x10025f2b
or eax, 0xffffffff
jmp 0x10025f30
call fcn.1000d784
cmp dword [0x100a5054], eax
je 0x10025f42
mov dword [0x100a5054], eax
call fcn.100261e3
call fcn.10025f5b
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003ceb3
leave
ret
Function at 0x10035038
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x100a752c]
push esi
xor esi, esi
jmp 0x10035049
cmp dword [eax + 4], esi
jne 0x10035097
mov eax, dword [eax]
test eax, eax
jne 0x10035042
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, eax
test ecx, ecx
je 0x10035095
push edi
push 0x20
lea edx, [ecx + 0x20]
mov dword [ecx + 8], esi
pop edi
mov dword [edx], esi
mov eax, edx
mov dword [ecx + 4], edx
add edi, 0x20
add edx, 0x20
mov esi, eax
cmp edi, 0xfe0
jbe 0x10035070
mov eax, dword [0x100a752c]
mov dword [ecx], eax
mov dword [0x100a752c], ecx
pop edi
mov eax, ecx
pop esi
ret

Function at 0x10035864
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100a53d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
imul esi, eax, 0x2c
push edi
add esi, dword [0x100a7520]
mov dword [ebp - 0xc], esi
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea ebx, [eax - 5]
cmove ebx, eax
movzx eax, cl
lea edi, [eax*2 + 5]
lea eax, [ebp - 8]
mov dword [ebp - 0x10], edi
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100358bb
push 0xa
pop eax
jmp 0x1003593d
cmp dword [ebp + 0xc], 0
je 0x100358de
mov byte [ebx], 0xe9
mov eax, dword [esi + 4]
sub eax, ebx
sub eax, 5
mov dword [ebx + 1], eax
test byte [esi + 0x14], 1
je 0x10035900
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10035900
test byte [esi + 0x14], 1
je 0x100358f5
lea esi, [esi + 0xc]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
jmp 0x10035900
mov eax, dword [esi + 0xc]
mov dword [ebx], eax
mov al, byte [esi + 0x10]
mov byte [ebx + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edx, dword [ebp + 0xc]
mov cl, byte [esi + 0x14]
and dl, 1
mov al, dl
and cl, 0xfd
add al, al
shl dl, 2
or cl, al
and cl, 0xfb
or cl, dl
xor eax, eax
mov byte [esi + 0x14], cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003ceb3
leave
ret
Function at 0x10035979
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100a53d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x10035a57
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10035a50
push ebx
cmp dword [ebp - 0x20], 0x10
jb 0x10035a36
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x10035a36
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10035a36
mov edx, dword [esi]
test edx, edx
jne 0x10035a04
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x100a7104]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10035a4f
lea ebx, [esi + 8]
jmp 0x10035a2c
mov eax, dword [esi + 4]
lea ebx, [esi + 8]
cmp dword [ebx], eax
jb 0x10035a2c
shl eax, 3
push eax
push edx
push 0
push dword [0x100a7104]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10035a4f
shl dword [esi + 4], 1
mov dword [esi], edx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [ebx]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100359bc
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1003ceb3
leave
ret

Function at 0x10035b02
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.10035979
pop ecx
cmp dword [esi], ebx
je 0x10035b62
push edi
mov edi, ebx
cmp dword [esi + 8], ebx
jbe 0x10035b61
mov eax, dword [esi]
push dword [eax + edi*4]
push ebx
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10035b58
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10035d8e
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
push 0
pop ebx
cmp edi, dword [esi + 8]
jb 0x10035b27
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10035e7c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 0
je 0x10035ecc
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x10035ebb
push ebx
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10035eb4
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10035e91
pop ebx
push dword [esi]
push 0
push dword [0x100a7104]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
ret
Function at 0x1003c4b7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
sub eax, ecx
je 0x1003c4f0
sub eax, 1
jne 0x1003c4f5
push ecx
push ecx
push dword [ebp + 8]
push 0x1003c2b1
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1003c4f5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1003c4f5
call fcn.1003c490
xor eax, eax
inc eax
pop ebp
ret 0xc
Function at 0x428290
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x20000]
push edi
jmp 0x4282aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282a0
mov eax, 1
add ebx, ebx
jne 0x4282c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282b8
jne 0x4282d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282b8
xor ecx, ecx
sub eax, 3
jb 0x4282e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42835a
mov ebp, eax
add ebx, ebx
jne 0x4282f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428300
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428324
inc ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428305
jne 0x428321
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428305
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428344
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428335
jmp 0x4282a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428344
add edi, ecx
jmp 0x4282a6
pop esi
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283ac
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2dc28]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2dc64]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x428361
mov ecx, edi
jns 0x428390
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2dc6c]
or eax, eax
je 0x4283a6
mov dword [ebx], eax
add ebx, 4
jmp 0x42837e
call dword [esi + 0x2dc68]
mov ebp, dword [esi + 0x2dc70]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4283e0
sub esp, 0xffffff80
jmp 0x401e60

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x26ee36eb
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x56523d91
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x405463
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x414014]
jne 0x40546d
repz ret
jmp fcn.00406424

Function at 0x40a0bc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x414014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004073bf
and dword [ebp - 0x14], 0
cmp dword [0x415c38], 0
mov dword [ebp - 0x18], eax
jne 0x40a16f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40a217
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4119a4
push ebx
call edi
test eax, eax
je 0x40a217
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x415c38], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x415c3c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x415c40], eax
call edi
push eax
call esi
mov dword [0x415c48], eax
test eax, eax
je 0x40a16f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x415c44], eax
mov eax, dword [0x415c44]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40a1c8
cmp dword [0x415c48], ecx
je 0x40a1c8
push eax
call esi
push dword [0x415c48]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40a1c8
test ebx, ebx
je 0x40a1c8
call edi
test eax, eax
je 0x40a1bf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40a1bf
test byte [ebp - 8], 1
jne 0x40a1c8
or dword [ebp + 0x10], 0x200000
jmp 0x40a1fb
mov eax, dword [0x415c3c]
cmp eax, dword [ebp - 0x18]
je 0x40a1fb
push eax
call esi
test eax, eax
je 0x40a1fb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40a1fb
mov eax, dword [0x415c40]
cmp eax, dword [ebp - 0x18]
je 0x40a1fb
push eax
call esi
test eax, eax
je 0x40a1fb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x415c38]
call esi
test eax, eax
je 0x40a217
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40a219
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405463
leave
ret

Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x50ce0be5
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x19746b54
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x406361
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
jmp 0x406369
or ebx, 0x70b
pop ebx
push ecx
and ecx, 0x15035
pop ecx
mov ecx, dword [ebp - 0x510]
mov dword [ebp - 0x2d4], ecx
jmp 0x4063ee
Function at 0x406f5e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push edi
add esp, 4
sub edi, 0x171e4
or edi, 0x1e8c
call fcn.00406f5e
add byte [0x4e3c3635], dh
cmp eax, 0x4c4834a
add esp, 4
add esp, 4
pop edi
push edx
jmp 0x406f6b
and edx, 0x8ad4
pop edx
mov edx, dword [ebp - 0xccc]
mov ax, word [edx]
mov word [ebp - 0x1046], ax
mov ecx, dword [ebp - 0xccc]
add ecx, 2
mov dword [ebp - 0xccc], ecx
mov dx, word [ebp - 0x1046]
mov word [ebp - 0x220], dx
mov eax, dword [ebp - 0xcd0]
mov cx, word [eax]
mov word [ebp - 0x1048], cx
mov edx, dword [ebp - 0xcd0]
add edx, 2
mov dword [ebp - 0xcd0], edx
mov ax, word [ebp - 0x1048]
mov word [ebp - 0x3c], ax
push edi
and edi, 0xa5b0
or edi, 0x82d0
pop edi
push edx
push ebx
add esp, 4
and edx, 0x1a0e
pop edx
push esi
push edx
add esp, 4
add esi, 0xf0f9
jmp 0x406ff4
and esi, 0x14669
pop esi
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x407018
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1670], edx
jmp 0x407072
movzx ecx, word [ebp - 0x220]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x406f40
movzx eax, word [ebp - 0x220]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x406f40
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x40705c
mov dword [ebp - 0x162c], 0xffffffff
jmp 0x407066
mov dword [ebp - 0x162c], 1
mov ecx, dword [ebp - 0x162c]
mov dword [ebp - 0x1670], ecx
cmp dword [ebp - 0x1670], 0
jne 0x4070bb
push edi
push esi
add esp, 4
add edi, 0x3404
add edi, 0x49e4
jmp 0x407094
xor edi, 0x743e
pop edi
push edi
push ecx
add esp, 4
sub edi, 0x9bb1
sub edi, 0x11b17
pop edi
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x778], edx
jmp 0x407123
push esi
sub esi, 0x17134
xor esi, 0x16149
xor esi, 0x15fa4
pop esi
push eax
and eax, 0x5ec1
call 0x4070e3
add byte [ebp + 0x40], cl
dec edi
inc ebx
xor esi, dword [edi]
xor eax, 0x8104c483
lock sbb byte [bx + di], al
add byte [eax - 0x75], bl
test esp, esp
cli
invalid
Function at 0x4070e3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push edi
add esp, 4
sub edi, 0x171e4
or edi, 0x1e8c
call fcn.00406f5e
add byte [0x4e3c3635], dh
cmp eax, 0x4c4834a
add esp, 4
add esp, 4
pop edi
push edx
jmp 0x406f6b
and edx, 0x8ad4
pop edx
mov edx, dword [ebp - 0xccc]
mov ax, word [edx]
mov word [ebp - 0x1046], ax
mov ecx, dword [ebp - 0xccc]
add ecx, 2
mov dword [ebp - 0xccc], ecx
mov dx, word [ebp - 0x1046]
mov word [ebp - 0x220], dx
mov eax, dword [ebp - 0xcd0]
mov cx, word [eax]
mov word [ebp - 0x1048], cx
mov edx, dword [ebp - 0xcd0]
add edx, 2
mov dword [ebp - 0xcd0], edx
mov ax, word [ebp - 0x1048]
mov word [ebp - 0x3c], ax
push edi
and edi, 0xa5b0
or edi, 0x82d0
pop edi
push edx
push ebx
add esp, 4
and edx, 0x1a0e
pop edx
push esi
push edx
add esp, 4
add esi, 0xf0f9
jmp 0x406ff4
and esi, 0x14669
pop esi
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x407018
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1670], edx
jmp 0x407072
movzx ecx, word [ebp - 0x220]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x406f40
movzx eax, word [ebp - 0x220]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x406f40
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x40705c
mov dword [ebp - 0x162c], 0xffffffff
jmp 0x407066
mov dword [ebp - 0x162c], 1
mov ecx, dword [ebp - 0x162c]
mov dword [ebp - 0x1670], ecx
cmp dword [ebp - 0x1670], 0
jne 0x4070bb
push edi
push esi
add esp, 4
add edi, 0x3404
add edi, 0x49e4
jmp 0x407094
xor edi, 0x743e
pop edi
push edi
push ecx
add esp, 4
sub edi, 0x9bb1
sub edi, 0x11b17
pop edi
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x778], edx
jmp 0x407123
push esi
sub esi, 0x17134
xor esi, 0x16149
xor esi, 0x15fa4
pop esi
push eax
and eax, 0x5ec1
call 0x4070e3
add byte [ebp + 0x40], cl
dec edi
inc ebx
xor esi, dword [edi]
xor eax, 0x8104c483
lock sbb byte [bx + di], al
add byte [eax - 0x75], bl
test esp, esp
cli
invalid
Function at 0x42c6d0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x92c
mov eax, dword [0x50dc94]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp eax, 0x111
ja 0x42c88c
je 0x42c87a
sub eax, 2
je 0x42c8b4
sub eax, 0x10e
jne 0x42c8b4
push esi
push 0x200
lea eax, [ebp - 0x508]
push eax
push 0x324
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
cmp dword [edi + 0x24], 8
lea esi, [edi + 0x10]
mov eax, esi
jb 0x42c738
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x908]
push eax
call fcn.00406420
add esp, 0xc
lea eax, [ebp - 0x908]
push eax
push 0x324
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esi + 0x14], 8
jb 0x42c771
mov esi, dword [esi]
push 0
push 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp byte [ebp - 0x108], 0x5b
mov byte [ebp - 5], 0
jne 0x42c7fe
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42c7a4
sub ecx, edx
lea eax, [ebp - 0x107]
lea esi, [ecx - 1]
push esi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004b497e
add esp, 0xc
cmp esi, 0x104
jae 0x42c8c8
mov byte [ebp + esi - 0x108], 0
test esi, esi
je 0x42c7fe
cmp byte [ebp + esi - 0x109], 0x5d
jne 0x42c7fe
dec esi
cmp esi, 0x104
jae 0x42c8c8
mov byte [ebp + esi - 0x108], 0
lea eax, [ebp - 0x90c]
mov dword [ebp - 0x910], 0
push eax
lea eax, [ebp - 0x92c]
mov dword [ebp - 0x928], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x924], 2
push str.5001
lea eax, [ebp - 0x108]
movlpd qword [ebp - 0x920], xmm0
push eax
movlpd qword [ebp - 0x918], xmm0
mov dword [ebp - 0x92c], 0
call dword [sym.imp.WS2_32.dll_getaddrinfo]
pop esi
test eax, eax
jne 0x42c871
push dword [ebp - 0x90c]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov byte [edi + 0x42d], 1
mov byte [edi + 0x42c], 1
jmp 0x42c8ab
cmp word [ebp + 0x10], 2
jne 0x42c893
push 0
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x42c893
cmp eax, 0x401
jne 0x42c8b4
mov eax, dword [ebp + 0x14]
shr eax, 0x10
mov byte [edi + 0x42c], 1
test eax, eax
jne 0x42c8ab
mov byte [edi + 0x42d], 1
push 0
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret 0x10
call fcn.004af2fd
int3