joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c573
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4255d4]
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.004117ae
and dword [ebp - 0x14], 0
cmp dword [0x428294], 0
mov dword [ebp - 0x18], eax
jne 0x41c626
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41c6ce
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x420fd4
push ebx
call edi
test eax, eax
je 0x41c6ce
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x428294], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x428298], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42829c], eax
call edi
push eax
call esi
mov dword [0x4282a4], eax
test eax, eax
je 0x41c626
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4282a0], eax
mov eax, dword [0x4282a0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41c67f
cmp dword [0x4282a4], ecx
je 0x41c67f
push eax
call esi
push dword [0x4282a4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41c67f
test ebx, ebx
je 0x41c67f
call edi
test eax, eax
je 0x41c676
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41c676
test byte [ebp - 8], 1
jne 0x41c67f
or dword [ebp + 0x10], 0x200000
jmp 0x41c6b2
mov eax, dword [0x428298]
cmp eax, dword [ebp - 0x18]
je 0x41c6b2
push eax
call esi
test eax, eax
je 0x41c6b2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41c6b2
mov eax, dword [0x42829c]
cmp eax, dword [ebp - 0x18]
je 0x41c6b2
push eax
call esi
test eax, eax
je 0x41c6b2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x428294]
call esi
test eax, eax
je 0x41c6ce
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41c6d0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040bfcc
leave
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43a004]
jne 0x401010
repz ret
jmp fcn.004016de

Function at 0x407355
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00401856
and dword [ebp - 4], 0
cmp dword [0x43d480], 0
mov ebx, eax
jne 0x407406
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4074b7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4074b7
push eax
call fcn.004017e4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43d480], eax
call esi
push eax
call fcn.004017e4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43d484], eax
call esi
push eax
call fcn.004017e4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43d488], eax
call esi
push eax
call fcn.004017e4
pop ecx
mov dword [0x43d490], eax
test eax, eax
je 0x407406
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004017e4
pop ecx
mov dword [0x43d48c], eax
mov eax, dword [0x43d48c]
cmp eax, ebx
je 0x40745e
cmp dword [0x43d490], ebx
je 0x40745e
push eax
call fcn.0040185f
push dword [0x43d490]
mov esi, eax
call fcn.0040185f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40745e
test edi, edi
je 0x40745e
call esi
test eax, eax
je 0x407455
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407455
test byte [ebp - 0xc], 1
jne 0x40745e
or dword [ebp + 0x10], 0x200000
jmp 0x407497
mov eax, dword [0x43d484]
cmp eax, ebx
je 0x407497
push eax
call fcn.0040185f
pop ecx
test eax, eax
je 0x407497
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407497
mov eax, dword [0x43d488]
cmp eax, ebx
je 0x407497
push eax
call fcn.0040185f
pop ecx
test eax, eax
je 0x407497
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43d480]
call fcn.0040185f
pop ecx
test eax, eax
je 0x4074b7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4074b9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x432a30
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x43b000]
push ebx
mov ebx, dword [0x80e294]
push esi
mov esi, dword [0x80e0dc]
push eax
call fcn.00432920
add esp, 4
cmp dword [0x80e294], 0x2f
jne 0x432a5b
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
call fcn.00432990
add esp, 4
cmp dword [0x80e294], 0x568
pop esi
pop ebx
jne 0x432a7a
push 0
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
ret
Function at 0x407281
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461124], 0
jne 0x4072bf
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x407295
mov dword [ecx*4 + 0x461120], eax
inc ecx
cmp ecx, 0x100
jl 0x407290
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4072ec
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x461120]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072cd
not eax
pop ebp
ret 0xc

Function at 0x7a82f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x288000]
push edi
or ebp, 0xffffffff
jmp 0x7a8312
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7a8319
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7a8308
mov eax, 1
add ebx, ebx
jne 0x7a832b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7a833c
jne 0x7a835b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7a835b
dec eax
add ebx, ebx
jne 0x7a8348
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7a8320
add ebx, ebx
jne 0x7a8357
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7a83ad
xor ecx, ecx
sub eax, 3
jb 0x7a8373
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7a83e2
sar eax, 1
mov ebp, eax
jmp 0x7a837e
add ebx, ebx
jne 0x7a837e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7a834c
inc ecx
add ebx, ebx
jne 0x7a838c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7a834c
add ebx, ebx
jne 0x7a8399
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7a838e
jne 0x7a83aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7a838e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7a83cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7a83be
jmp 0x7a830e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7a83cc
add edi, ecx
jmp 0x7a830e
pop esi
lea edi, [esi + 0x3a4000]
mov eax, dword [edi]
or eax, eax
je 0x7a8434
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3a9ccc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3a9e34]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7a83e9
mov ecx, edi
jns 0x7a8418
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 + 0x3a9e38]
or eax, eax
je 0x7a842e
mov dword [ebx], eax
add ebx, 4
jmp 0x7a8406
call dword [esi + 0x3a9e48]
mov ebp, dword [esi + 0x3a9e3c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0x7a8468
sub esp, 0xffffff80
jmp 0x5b0cfa
Function at 0x401ce4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x401db9
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x401db9
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x401db9
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x401d3f
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x401db9
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x401d84
test dl, dl
je 0x401d80
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x401d84
add ecx, 2
add eax, 2
test dl, dl
jne 0x401d64
xor eax, eax
jmp 0x401d89
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401d9b
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x401da6
inc esi
cmp esi, ebp
jae 0x401db9
mov edx, dword [esp + 0x10]
jmp 0x401d5a
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x40201d
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x402028
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x40203c
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x402040
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x402079
cmp dword [edi + ecx], 0x4550
jne 0x402079
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x402079
test byte [edi + ecx + 0x16], 2
je 0x402079
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x40207e
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x4020ba
xor eax, eax
jmp 0x40209d
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x4020c3
inc edx
movzx eax, dx
cmp eax, edi
jl 0x40209d
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x4020c9
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x402101
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x40210f
add edx, 0x20
cmp eax, edx
jne 0x402120
test bx, bx
je 0x402155
add esi, 2
add edi, 2
jmp 0x4020f1
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x40212e
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x40213c
add edx, 0x20
sub ecx, edx
je 0x402155
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x4020ea
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x402c8f
test ecx, ecx
je 0x402c8f
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x402c8f
test ebx, ebx
je 0x402c8f
mov ebx, eax
add ebx, edx
je 0x402c8f
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x402c8f
cmp dword [edx + eax + 0x14], 0
je 0x402c8f
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x402c8f
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x402c7f
test dl, dl
je 0x402c7b
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x402c7f
add edi, 2
add esi, 2
test dl, dl
jne 0x402c5f
xor eax, eax
jmp 0x402c84
sbb eax, eax
or eax, 1
test eax, eax
je 0x402c9b
inc ebp
cmp ebp, dword [esp + 4]
jb 0x402c4c
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x4162f0
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 0x4163a4
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00416280
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x41637d
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4163b0
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 0x4163cb
test ebp, ebp
je 0x4163cb
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x4163d3
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 0x416413
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 0x41646f
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x41646a
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 0x416455
test dl, dl
je 0x416451
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x416455
add ecx, 2
add eax, 2
test dl, dl
jne 0x416435
xor eax, eax
jmp 0x41645a
sbb eax, eax
or eax, 1
test eax, eax
je 0x416479
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x416422
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 0x416490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.004162f0
test eax, eax
jne 0x4164a8
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.004163b0
mov esi, eax
test esi, esi
jne 0x4164de
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x4164f8
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x4165f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.004162f0
mov esi, eax
test esi, esi
jne 0x41660e
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x64616f4c
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x41797261
mov byte [esp + 0x44], 0
call fcn.004163b0
mov dword [esp + 0x18], eax
test eax, eax
je 0x416606
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.004163b0
mov dword [esp + 0x34], eax
test eax, eax
je 0x416606
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x50746547
mov dword [esp + 0x3c], 0x41636f72
mov dword [esp + 0x40], 0x65726464
mov word [esp + 0x44], 0x7373
mov byte [esp + 0x46], 0
call fcn.004163b0
mov dword [esp + 0x28], eax
test eax, eax
je 0x416606
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x4d746547
mov dword [esp + 0x3c], 0x6c75646f
mov dword [esp + 0x40], 0x6e614865
mov dword [esp + 0x44], 0x41656c64
mov byte [esp + 0x48], 0
call fcn.004163b0
mov dword [esp + 0x30], eax
test eax, eax
je 0x416606
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x4167d5
mov ecx, dword [eax + edi + 0x80]
add ecx, edi
xor esi, esi
lea ebx, [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx], esi
je 0x4167d5
mov eax, ebx
mov ebp, ecx
mov eax, dword [eax]
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x416738
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x4167b9
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x41675b
movzx esi, ax
jmp 0x416760
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x41677f
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x41678e
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x4167e2
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
shl ecx, 2
add eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
cmp dword [eax], 0
jne 0x416750
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x10], esi
lea eax, [esi + esi*4]
lea ebp, [ecx + eax*4]
cmp dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
jne 0x416715
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x41680b
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x41680b
mov eax, dword [ebx]
add eax, edi
push eax
call dword [esp + 0x3c]
push eax
call dword [esp + 0x40]
add ebx, 0x14
inc ebp
cmp dword [ebx], 0
jne 0x4167f0
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
Function at 0x416820
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.004162f0
mov esi, eax
test esi, esi
je 0x4168dc
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.004163b0
mov ebp, eax
test ebp, ebp
je 0x4168db
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.004163b0
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x4168db
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x4168db
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4168da
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 0x4168c0
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret

Function at 0x416b59
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x416b69
sub esp, 0x20
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
cmp dword [ebp + 8], 0
jle 0x416c77
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.00416c87
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x416c77
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.00416c87
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x416c77
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.00416c87
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x416c77
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x416c74
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.00416c9a
test eax, eax
je 0x416c63
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.00416cce
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x416c1e
add esp, 0xc
mov eax, 0
jmp 0x416c81
mov esp, ebp
pop ebp
ret 8