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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push esi
push 0x56f128
push 0x104
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x4020b4
call fcn.00402a40
call fcn.00402b10
test eax, eax
jne 0x4020cf
push 0x66
call fcn.004029b0
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00401260
test al, al
je 0x4020e1
call fcn.00401000
test al, al
jne 0x4020f3
push 0x65
call fcn.004029b0
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor bl, bl
call fcn.00402240
dec eax
cmp eax, 6
ja case.default.0x402104
jmp dword [eax*4 + 0x4021cc]
call fcn.00402330
movzx eax, bl
neg eax
sbb eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x68
jmp 0x4021b3
call fcn.004025b0
test eax, eax
je 0x402158
call fcn.00402610
call fcn.00402450
mov ecx, 0x5689b0
call fcn.00402690
call fcn.004024d0
call fcn.00402330
movzx eax, bl
neg eax
sbb eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x5689d4
call fcn.00402690
call fcn.00402330
movzx eax, bl
neg eax
sbb eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004023d0
call fcn.00402330
movzx eax, bl
neg eax
sbb eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x5689d4
call fcn.00402690
mov ecx, 0x5689b0
call fcn.00402690
call fcn.00402330
movzx eax, bl
neg eax
sbb eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x67
call fcn.004029b0
mov bl, 1
add esp, 4
movzx eax, bl
neg eax
pop esi
sbb eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x567510]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x5689c0
push 0x56f128
push 0x549ec4
lea eax, [ebp - 0x20c]
push 0x104
push eax
xor edi, edi
call fcn.004fa93d
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x14
lea ecx, [ebp - 0x20c]
push ecx
call esi
cmp eax, 0xffffffff
je 0x40229b
shr eax, 4
and eax, 1
je 0x40229b
mov edi, 1
push 0x5689d4
push 0x56f128
push 0x549ec4
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.004fa93d
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call esi
cmp eax, 0xffffffff
je 0x4022d7
shr eax, 4
and eax, 1
je 0x4022d7
xor edi, 2
push 0x5689b0
push 0x56f128
push 0x549ec4
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.004fa93d
add esp, 0x14
lea edx, [ebp - 0x20c]
push edx
call esi
cmp eax, 0xffffffff
je 0x402313
shr eax, 4
and eax, 1
je 0x402313
xor edi, 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004fa43b
mov esp, ebp
pop ebp
ret
Function at 0x402330
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x567510]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x568a08
push 0x56f128
push 0x549ec4
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004fa93d
xor eax, eax
add esp, 0x14
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x20c]
push edx
mov dword [ebp - 0x248], 0x3c
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x228], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa43b
mov esp, ebp
pop ebp
ret

Function at 0x4023d0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x567510]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x5689b0
push 0x56f128
push 0x549ec4
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.004fa93d
push 0x5689c0
push 0x56f128
push 0x549ec4
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.004fa93d
add esp, 0x28
push 0xa
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa43b
mov esp, ebp
pop ebp
ret

Function at 0x402450
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x567510]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x5689d4
push 0x56f128
push 0x549ec4
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.004fa93d
push 0x5689c0
push 0x56f128
push 0x549ec4
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.004fa93d
add esp, 0x28
push 0xa
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa43b
mov esp, ebp
pop ebp
ret

Function at 0x4024d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x567510]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x568a30
push 0x56f128
push 0x549ec4
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004fa93d
push 0x44
xor esi, esi
lea ecx, [ebp - 0x268]
push esi
push ecx
call fcn.004fbe40
add esp, 0x20
xor eax, eax
lea edx, [ebp - 0x220]
push edx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x268]
push eax
push esi
push esi
push 0x4000000
push esi
push esi
push esi
push 0x549ea4
lea ecx, [ebp - 0x210]
push ecx
mov dword [ebp - 0x268], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402581
mov edx, dword [ebp - 0x220]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 1
jmp 0x402586
call fcn.00402a40
mov eax, dword [ebp - 0x220]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [ebp - 0x21c]
push ecx
call edi
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004fa43b
mov esp, ebp
pop ebp
ret
Function at 0x4025b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x567510]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x5689e4
push 0x56f128
push 0x549ec4
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004fa93d
add esp, 0x14
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 4]
xor edx, edx
cmp eax, 0xffffffff
setne dl
xor ecx, ebp
mov eax, edx
call fcn.004fa43b
mov esp, ebp
pop ebp
ret

Function at 0x402610
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x567510]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x5689c0
push 0x56f128
push 0x549ec4
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.004fa93d
push 0x5689b0
push 0x56f128
push 0x549ec4
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.004fa93d
add esp, 0x28
push 0xa
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa43b
mov esp, ebp
pop ebp
ret
Function at 0x4027a0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x567510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
push 0x549eb4
lea eax, [ebp - 0x418]
push 0x104
push eax
mov dword [ebp - 0x670], edi
mov byte [ebp - 0x669], 0
call fcn.004fa93d
add esp, 0x10
lea ecx, [ebp - 0x668]
push ecx
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x674], esi
cmp esi, 0xffffffff
je 0x402992
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x402810
cmp word [ebp - 0x63c], 0x2e
je 0x402919
lea eax, [ebp - 0x63c]
push eax
push edi
push 0x549ec4
lea ecx, [ebp - 0x210]
push 0x104
push ecx
call fcn.004fa93d
add esp, 0x14
test byte [ebp - 0x668], 0x10
je 0x402878
mov eax, dword [ebp + 0xc]
test al, al
je 0x40286c
push eax
lea edx, [ebp - 0x210]
push edx
call fcn.004027a0
add esp, 8
test eax, eax
jne 0x402994
jmp 0x402919
mov byte [ebp - 0x669], 1
jmp 0x402919
push 0x80
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x402970
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x402970
mov eax, dword [0x56f388]
mov esi, eax
inc eax
mov dword [0x56f388], eax
mov eax, dword [0x56f384]
mov edx, dword [eax + 0x20]
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4028f5
test esi, esi
jns 0x4028d1
xor esi, esi
jmp 0x4028db
cmp esi, 0x64
jle 0x4028db
mov esi, 0x64
push 0xc8
mov ecx, edi
call fcn.00409ece
mov eax, dword [eax + 0x20]
push 0
push esi
push 0x402
push eax
call ebx
cmp dword [0x56f388], 0x64
jb 0x402908
mov dword [0x56f388], 0
call fcn.00402e40
mov esi, dword [ebp - 0x674]
mov edi, dword [ebp - 0x670]
lea ecx, [ebp - 0x668]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
je 0x402810
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x12
jne 0x402994
cmp byte [ebp - 0x669], 0
jne 0x402992
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x402987
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa43b
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa43b
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x40295d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa43b
mov esp, ebp
pop ebp
ret
Function at 0x4029b0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x567510]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x56f358], 0
jg 0x4029ed
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
call fcn.004012e0
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
call fcn.004012e0
call fcn.00401360
mov ecx, dword [0x56f330]
call fcn.00402bb0
add eax, dword [ebp + 8]
push 0x400
lea ecx, [ebp - 0x804]
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_LoadStringW]
push 0
push 0x10
push 0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa43b
mov esp, ebp
pop ebp
ret

Function at 0x402bb0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x567510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x549e9c]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov esi, ecx
mov ecx, dword [0x549ea0]
push 3
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
call edi
push 4
lea ecx, [ebp - 0xc]
push ecx
push 3
and esi, 0x3ff
push esi
call edi
xor esi, esi
mov ecx, dword [esi*4 + 0x568b94]
lea eax, [ebp - 0xc]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402c36
test dx, dx
je 0x402c32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402c36
add eax, 4
add ecx, 4
test dx, dx
jne 0x402c10
xor eax, eax
jmp 0x402c3b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402c58
inc esi
cmp esi, 0xc
jl 0x402c02
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa43b
mov esp, ebp
pop ebp
ret
cmp esi, 0xb
jne 0x402c99
mov ecx, 0x549e44
lea eax, [ebp - 0x14]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402c8b
test dx, dx
je 0x402c87
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402c8b
add eax, 4
add ecx, 4
test dx, dx
jne 0x402c65
xor eax, eax
jmp 0x402c90
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402c99
mov esi, 0xa
mov ecx, dword [ebp - 4]
pop edi
lea eax, [esi + esi*4]
pop esi
xor ecx, ebp
add eax, eax
pop ebx
call fcn.004fa43b
mov esp, ebp
pop ebp
ret

Function at 0x411b16
Capabilities:
Encode data using xor

Disassembly:
adc byte [ebx + 0x7eb43eb7], cl
pop ebx
mov ds, ebp
and ah, bh
and eax, 0xab62b946
dec ebp
or al, 0x62
inc ebx
out 0x9a, al
adc byte [ebp + 0x3d], 0x72
and al, 0xba
pop es
invalid
Function at 0x416d6f
Capabilities:
Encode data using xor

Disassembly:
or eax, dword [ebx + 0x22]
sbb al, 0
add byte [edx], al
jo 0x416d6a
add dh, byte [eax - 8]
pop ecx
push ecx
mov al, byte [0x1c039d6b]
add ebx, dword [eax + eax*2]
inc eax
and bl, bl
xor dword [eax + 0xded5d3a], esp
or esp, eax
unpckhps xmm4, xmm0
lodsd eax, dword [esi]
jl 0x416d7a
mov ebx, 0xe8257dc3
pop ecx
or esi, 0x323ae8ef
jbe 0x416d78
xchg dword [esi + 0xc], edi
push 0x2217fa8
jae 0x416d6e
adc eax, 0x4490204
add dword [0x433df8b0], 0x7d8afffe
sbb al, 0xdc
mov ecx, esi
push 0x9fde8bf1
leave
adc ah, bh
jge 0x416da6
dec ecx
add al, 0x81
add eax, 0x433df8b0
invalid
cdq
pop ebp
hlt

Function at 0x442a96
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0044273a
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x442ae0
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00402fee
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00402fbf
jmp 0x442aeb
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004136b2
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4d878e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4d87a6
mov edi, dword [esi + 0xc]
jmp 0x4d87e6
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4d87bf
call fcn.0040a5f8
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4d87d4
call fcn.0040a5f8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4d87e6
call fcn.0040a5f8
call fcn.00409dd3
cmp dword [eax + 0x3c], 0
je 0x4d87fb
push edi
mov ecx, ebx
call fcn.004d763e
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004d86a8
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4d8819
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d8825
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4fa43b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x567510]
jne 0x4fa445
repz ret
jmp fcn.00501124
Function at 0x50cad8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x567510]
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.00500b4b
and dword [ebp - 0x14], 0
cmp dword [0x56f04c], 0
mov dword [ebp - 0x18], eax
jne 0x50cb8b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x50cc33
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x548648
push ebx
call edi
test eax, eax
je 0x50cc33
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x548638
push ebx
mov dword [0x56f04c], eax
call edi
push eax
call esi
push 0x548624
push ebx
mov dword [0x56f050], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x56f054], eax
call edi
push eax
call esi
mov dword [0x56f05c], eax
test eax, eax
je 0x50cb8b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x56f058], eax
mov eax, dword [0x56f058]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x50cbe4
cmp dword [0x56f05c], ecx
je 0x50cbe4
push eax
call esi
push dword [0x56f05c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x50cbe4
test ebx, ebx
je 0x50cbe4
call edi
test eax, eax
je 0x50cbdb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x50cbdb
test byte [ebp - 8], 1
jne 0x50cbe4
or dword [ebp + 0x10], 0x200000
jmp 0x50cc17
mov eax, dword [0x56f050]
cmp eax, dword [ebp - 0x18]
je 0x50cc17
push eax
call esi
test eax, eax
je 0x50cc17
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x50cc17
mov eax, dword [0x56f054]
cmp eax, dword [ebp - 0x18]
je 0x50cc17
push eax
call esi
test eax, eax
je 0x50cc17
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x56f04c]
call esi
test eax, eax
je 0x50cc33
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x50cc35
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa43b
leave
ret
Function at 0x40e3d7
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40e3f8
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x40e3ef
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x40e3e7
mov eax, ebx
leave
ret

Function at 0x40e41e
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x40e47d
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x40e4aa
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40e499
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40e48a
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x40e4d0
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x40e471
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x40ed10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
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 dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
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 dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword ds:[ebp - 0x20], 0xff8bff8b
mov dword ds:[ebp - 0x14], 0xff8bff8b
mov dword ds:[ebp - 0x1c], 0xff8bff8b
push 0x7fc
push dword [ebp - 0x20]
call fcn.0040e39d
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ebx, eax
pop ecx
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40eeef
push dword [ebp - 4]
call fcn.0040e381
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40ede0
jmp 0x40eeef
push dword [ebp - 4]
call fcn.0040e381
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x40ee34
lea eax, [ebp - 4]
push eax
call fcn.0040ecf6
mov dword [ebp - 0x28], eax
push 0
push 4
push dword [ebp - 0x28]
push dword [ebp - 4]
push 0xffffffff
push dword [ebp - 0x14]
call fcn.0040e5a8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x40ee34
mov eax, 1
jmp 0x40ee36
xor eax, eax
test eax, eax
je 0x40eee4
push ebx
push esi
push edx
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov eax, dword [eax]
add eax, ebx
lea eax, [eax + 0x78]
mov eax, dword [eax]
lea esi, [eax + ebx]
mov dword [ebp - 0x10], esi
lea edx, [esi + 0x20]
mov edx, dword [edx]
add edx, ebx
mov edx, dword [edx]
add edx, ebx
mov dword [ebp - 0x18], edx
lea eax, [esi + 0x18]
mov eax, dword [eax]
dec eax
mov dword [ebp - 4], eax
pop ebx
pop esi
pop edx
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 0x40eedc
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [ebp - 0x1c]
call fcn.0040eb13
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x40eecb
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
lea eax, [eax + edi*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop edi
leave
ret 8
push dword [ebp - 0xc]
call fcn.0040eccf
add dword [ebp - 8], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x40ee7e
add esp, 0xc
jmp 0x40eeef
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x40edb9
add esp, 0xc
mov edi, edi
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 0
jmp 0x40ef10
mov esp, ebp
pop ebp
ret 8