joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4730f8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x4731e0
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x485438], 1
jae 0x4731d2
xor eax, eax
mov dword [0x485044], eax
xor eax, eax
mov dword [0x48504c], eax
xor eax, eax
mov dword [0x485050], eax
mov byte [0x485056], 2
mov byte [0x485057], 2
mov byte [0x485058], 3
mov word [0x485400], 0
mov word [0x485410], 1
mov word [0x485420], 0xa
mov dword [0x485428], 0x80020004
mov dword [0x4853f4], 0x471bd0
mov dword [0x4853f8], 0x471bc8
mov dword [0x4853fc], 0x471bd0
call fcn.004700a0
test al, al
je 0x473191
call fcn.004700e4
call fcn.004701a8
mov eax, 0x48505c
mov edx, 0x4731ec
call fcn.0046d04a
mov eax, 0x485228
mov edx, 0x4731ec
call fcn.0046d04a
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x48503c], eax
call fcn.0046dfb0
mov dword [0x485038], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x485030], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4731e7
ret

Function at 0x478bb4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x478c16
call fcn.00478b64
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00473cb8
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00473cb8
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x478c94
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x482cf8], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x478d6e
cmp dword [0x482cf4], 0
jne 0x478d6e
cmp dword [0x482ed8], 0
je 0x478d28
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00478a64
add esp, 8
mov ebx, eax
test eax, eax
jne 0x478d0e
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00478a64
add esp, 8
mov ebx, eax
test eax, eax
jne 0x478d0e
lea ebx, [ebp - 0x84]
jmp 0x478d0f
inc ebx
call fcn.00478c50
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x478da9
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x482cfc
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00473cb8
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x482cff
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x478da9
cmp dword [0x482cf4], 0
je 0x478d88
cmp dword [0x482cf4], 0xffffffff
je 0x478da9
push esi
call dword [0x482cf4]
pop ecx
mov eax, dword [0x482cf8]
test eax, eax
je 0x478da9
cmp dword [0x482cf8], 0xffffffff
je 0x478da9
cmp byte [eax], 0
je 0x478da9
push esi
push eax
call fcn.00478bb4
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x479540
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x485d3c], 0
jne 0x4795c1
cmp dword [0x485d5c], 0
jne 0x479570
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x485d5c], eax
test eax, eax
jne 0x479570
push str.GetEnvironmentStrings_failed
call fcn.00478dc0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x485d5c]
jmp 0x479584
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00473cb8
pop ecx
mov edi, eax
test eax, eax
jne 0x47957c
lea edi, [ebp + 1]
push edi
call fcn.00473718
pop ecx
mov ebx, eax
mov dword [0x485d40], ebx
test ebx, ebx
jne 0x4795ae
xor eax, eax
jmp 0x479684
push edi
mov edx, dword [0x485d5c]
push edx
push ebx
call fcn.00473b68
add esp, 0xc
jmp 0x4795e1
xor esi, esi
mov ebx, dword [0x485d3c]
jmp 0x4795db
push eax
call fcn.00473cb8
pop ecx
test eax, eax
jne 0x4795d7
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x4795cb
lea ebx, [esi + 4]
push 4
mov dword [0x485d44], ebx
inc ebx
push ebx
call fcn.004731f0
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x479604
xor eax, eax
jmp 0x479684
cmp dword [0x485d3c], 0
jne 0x479635
xor esi, esi
mov ebx, dword [0x485d40]
mov eax, dword [esp]
mov ebp, eax
jmp 0x479626
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00473cb8
pop ecx
mov edi, eax
test eax, eax
jne 0x47961c
jmp 0x479666
xor esi, esi
mov ebx, dword [0x485d3c]
mov eax, dword [esp]
mov edi, eax
jmp 0x479660
push eax
call fcn.00473cb8
pop ecx
test eax, eax
je 0x479655
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x479659
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x479644
mov eax, dword [0x485d3c]
test eax, eax
je 0x479676
push eax
call fcn.00473728
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x485d3c], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40ee90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x5fd470], eax
xor eax, eax
nop
add eax, 1
mov ecx, dword [eax*4 + 0x5fd46c]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul edx, edx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5fd470], edx
cmp eax, 0x26f
jl 0x40ee98
mov dword [0x580fe0], 0x270
ret

Function at 0x40eed0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov eax, 0xffffffff
mov esi, esi
add eax, 1
mov ecx, dword [eax*4 + 0x5fd474]
mov ebx, dword [eax*4 + 0x5fd470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x5fdaa4]
mov dword [eax*4 + 0x5fd470], edx
cmp eax, 0xe2
jl 0x40eed8
mov eax, 0xe2
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x5fd474]
mov ebx, dword [eax*4 + 0x5fd470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x5fd0e4]
mov dword [eax*4 + 0x5fd470], edx
cmp eax, 0x26e
jl 0x40ef28
mov edx, dword [0x5fd470]
mov ecx, dword [0x5fde2c]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x5fdaa0]
mov dword [0x5fde2c], eax
mov dword [0x580fe0], 0
pop ebx
ret

Function at 0x40efb0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, dword [0x580fe0]
add dword [0x580fe0], 1
mov eax, dword [0x5fc020]
cmp eax, dword [0x580730]
jne 0x40efd3
cmp ebx, 0x271
jb 0x40eff4
mov eax, dword [0x5fc020]
call fcn.0040ee90
not dword [0x5fc020]
mov eax, dword [0x5fc020]
mov dword [0x580730], eax
mov ebx, 0x270
mov esi, esi
cmp ebx, 0x270
jne 0x40f010
call fcn.0040eed0
xor ebx, ebx
mov dword [0x580fe0], 1
lea esi, [esi]
mov edx, dword [ebx*4 + 0x5fd470]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop ebx
ret
Function at 0x410b60
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x580470]
cmp ax, 0xcb
je 0x410c6c
cmp ax, 0xcc
je 0x410c6c
lea esi, [esi]
mov edx, dword [0x5fe070]
test edx, edx
je 0x410b95
mov eax, dword [0x5fdf20]
call edx
mov ebx, eax
jmp 0x410b9a
mov ebx, 0x5fdf24
cmp word [0x5fdf10], 0
jle 0x410bc0
mov eax, 0x5fdef0
call fcn.00410dd0
mov eax, ebx
call fcn.00410720
mov eax, ebx
call fcn.00410790
lea esi, [esi]
mov edi, dword [ebx]
jmp 0x410be2
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x410bdd
mov edx, edi
mov eax, ebx
call fcn.0040fb90
jmp 0x410be0
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x410bc8
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x5fdf10], 0
jle 0x410c6c
mov edx, 0x5fde30
mov eax, ebx
call fcn.0040fcd0
mov edi, eax
test edi, edi
je 0x410c3c
mov eax, dword [0x5fdec4]
mov dword [edi + 0xc], eax
cmp dword [0x5fdec4], 0
je 0x410c30
mov eax, dword [0x5fdec4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x5fdec4], eax
nop
sub word [0x5fdf10], 1
cmp word [0x5fdf10], 0
sete bl
mov eax, 0x5fdef0
call fcn.00410df0
test bl, bl
je 0x410c6c
mov eax, 0x5fdef0
call fcn.00410dc0
lea esi, [esi]
pop edi
pop esi
pop ebx
ret
Function at 0x413300
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x20]
push ebx
push esi
push edi
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.004132e0
push ebp
push 0x414790
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp - 0x20], 0xff
je 0x41342a
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
mov word [ebp - 8], ax
mov word [ebp - 6], 0x3a
mov word [ebp - 4], 0
mov word [ebp - 2], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040b710
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
jne 0x41338f
mov edx, 0x5fd2f0
push edx
push esi
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
test ebx, ebx
jne 0x4133e1
call sub.kernel32.dll_GetLastError
call fcn.00404160
lea eax, [ebp - 0x10]
call fcn.0040a2f0
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
lea edx, [ebp - 0x14]
call fcn.0040a790
mov edx, dword [ebp - 0x14]
mov ecx, 0x59d334
lea eax, [ebp - 0x10]
call fcn.0040a620
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.0040afe0
jmp 0x413478
mov eax, esi
mov edx, 0
sub eax, 1
sbb edx, 0
mov ecx, ebx
xor edi, edi
cmp edx, edi
jne 0x4133fa
cmp eax, ecx
je 0x413404
mov eax, dword [ebp - 0x1c]
mov edx, ebx
call fcn.0040b710
cmp byte [0x5806f0], 0
jne 0x413478
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040bcb0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040b070
lea esi, [esi]
jmp 0x413478
push 0
push 0
call sub.kernel32.dll_GetCurrentDirectoryW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040b710
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
test eax, eax
jne 0x41344e
mov eax, 0x5fd2f0
push eax
push esi
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x5806f0], 0
jne 0x413478
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040bcb0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040b070
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004132e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413890
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x10c], 0
mov dword [0x5fd260], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, eax
xor edx, edx
mov eax, ebp
call fcn.00413a70
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x5fd260]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.004036d0
call sub.kernel32.dll_GetCommandLineA
mov dword [0x5804f0], eax
mov ebx, eax
jmp 0x413a33
add ebx, 1
movzx eax, byte [ebx]
sub eax, 1
cmp eax, 0x20
jb 0x413918
cmp byte [ebx], 0
je 0x413a3c
nop
mov byte [ebp - 0x114], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x413993
mov al, byte [ebx]
cmp al, 1
jb 0x413988
sub al, 0x20
jbe 0x413958
sub al, 2
je 0x41396c
jmp 0x413988
mov al, byte [ebp - 0x114]
test al, al
je 0x413998
add dword [ebp - 0x110], 1
jmp 0x413990
cmp byte [ebx + 1], 0x22
je 0x413983
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x413990
add ebx, 1
jmp 0x413990
add dword [ebp - 0x110], 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x413948
test dword [ebp - 0x10c], 0xffffffff
je 0x413a2c
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov eax, ebp
call fcn.00413a70
mov byte [ebp - 0x114], 0
mov ebx, edi
mov eax, dword [0x5fd260]
mov edx, dword [ebp - 0x10c]
mov esi, dword [eax + edx*4]
jmp 0x413a23
mov al, byte [ebx]
cmp al, 1
jb 0x413a18
sub al, 0x20
jbe 0x4139e8
sub al, 2
je 0x4139fc
jmp 0x413a18
mov al, byte [ebp - 0x114]
test al, al
je 0x413a28
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
jmp 0x413a20
cmp byte [ebx + 1], 0x22
je 0x413a13
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x413a20
add ebx, 1
jmp 0x413a20
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x4139d8
mov byte [esi], 0
nop
add dword [ebp - 0x10c], 1
cmp byte [ebx], 0
jne 0x41391b
mov ebx, dword [ebp - 0x10c]
mov dword [0x5fd250], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x5fd260
call fcn.004109a0
mov eax, dword [0x5fd260]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433950
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov byte [ebp - 0xc], cl
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.kernel32.dll_GetLocaleInfoW
mov dword [ebp - 0x1c], eax
cmp eax, 2
jle 0x4339fa
mov eax, dword [ebp - 0x1c]
sub eax, 2
test eax, eax
jl 0x433a16
mov dword [ebp - 0x20], 0xffffffff
lea esi, [esi]
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov dx, word [ebp + edx*2 - 0x18]
mov word [ebp - 0x24], dx
mov edx, dword [ebp - 0x20]
mov dx, word [ebp + edx*2 - 0x18]
cmp dx, 0x20
jb 0x433a16
sub dx, 0x20
je 0x4339f0
sub dx, 0x80
je 0x4339f0
sub dx, 0x1f62
jb 0x433a16
sub dx, 1
jbe 0x4339f0
sub dx, 6
je 0x4339f0
sub dx, 0x26
jne 0x433a16
nop
jmp 0x4339f0
cmp eax, dword [ebp - 0x20]
jg 0x433998
lea esi, [esi]
jmp 0x433a16
cmp dword [ebp - 0x1c], 2
jne 0x433a0a
mov ax, word [ebp - 0x18]
mov word [ebp - 0x24], ax
jmp 0x433a16
mov al, byte [ebp - 0xc]
call fcn.0040b370
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
sub ax, 0x7f
jbe 0x433a94
sub ax, 0x21
je 0x433aa8
sub ax, 0x17
je 0x433ab4
sub ax, 0x222
je 0x433ac0
sub ax, 0x392
je 0x433ac8
sub ax, 1
je 0x433ad0
sub ax, 0x1996
je 0x433ad8
sub ax, 1
je 0x433ae0
sub ax, 6
je 0x433ae8
sub ax, 0xb
je 0x433af8
sub ax, 0x1b
je 0x433af0
sub ax, 0x367
je 0x433b00
jmp 0x433b08
mov ax, word [ebp - 0x24]
call fcn.0040b410
mov byte [ebp - 0x10], al
jmp 0x433b10
mov byte [ebp - 0x10], 0x20
jmp 0x433b10
mov byte [ebp - 0x10], 0x2e
jmp 0x433b10
mov byte [ebp - 0x10], 0x27
jmp 0x433b10
mov byte [ebp - 0x10], 0x2c
jmp 0x433b10
mov byte [ebp - 0x10], 0x27
jmp 0x433b10
mov byte [ebp - 0x10], 0x20
jmp 0x433b10
mov byte [ebp - 0x10], 0x20
jmp 0x433b10
mov byte [ebp - 0x10], 0x20
jmp 0x433b10
mov byte [ebp - 0x10], 0x20
jmp 0x433b10
mov byte [ebp - 0x10], 0x2d
jmp 0x433b10
mov byte [ebp - 0x10], 0x27
jmp 0x433b10
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x10], al
mov esi, esi
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x440dc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00440db0
push ebp
push 0x414790
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x440ed0
mov al, byte [ebp - 0x110]
test al, al
je 0x440e99
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404f00
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.004093a0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040a170
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5a6b10
call fcn.0045b660
mov edx, 0x440e2a
mov ecx, ebp
call fcn.00414650
jmp 0x440ed0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5a6b10
call fcn.0045b660
mov edx, 0x440e99
mov ecx, ebp
call fcn.00414650
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x440f94
mov al, byte [ebp - 0x110]
test al, al
je 0x440f5d
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404f00
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.004093a0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040a170
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5a6b10
call fcn.0045b660
mov edx, 0x440eee
mov ecx, ebp
call fcn.00414650
jmp 0x440f94
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5a6b10
call fcn.0045b660
mov edx, 0x440f5d
mov ecx, ebp
call fcn.00414650
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.00440750
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00440db0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x444130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, 0x5a7858
call fcn.0040cf40
test al, al
je 0x444216
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
call fcn.00444230
xor eax, eax
push fcn.00444120
push ebp
push 0x414790
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0xc4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x18]
mov byte [edx + 0x18], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1a]
mov byte [edx + 0x1a], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1b]
mov byte [edx + 0x1b], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1c]
mov byte [edx + 0x1c], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 8]
add eax, 0x30
call fcn.00408b20
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
call fcn.00443340
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
call fcn.00442e90
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
call dword [ecx + 0xb0]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00444120
jmp 0x444221
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004466c0
mov esp, ebp
pop ebp
ret
Function at 0x450670
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc20]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc10], 0
xor eax, eax
push fcn.00450660
push ebp
push 0x414790
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xfffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xc10]
call fcn.00408b20
lea eax, [ebp - 0xc10]
call fcn.00403bf0
lea eax, [ebp - 0xc1c]
push eax
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x4506d0
mov eax, 0x5fd2f0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc18], eax
cmp eax, 0xc00
jbe 0x45077a
mov edx, dword [ebp - 0xc18]
lea eax, [ebp - 0xc0c]
call fcn.0040f9d0
xor eax, eax
push fcn.00450650
push ebp
push 0x414790
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0xc0c]
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x45072c
mov eax, 0x5fd2f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x450768
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x5ac39c
push eax
push dword [ebp - 0xc0c]
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x450768
mov eax, dword [ebp - 0xc20]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea esi, [esi]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00450650
jmp 0x4507d8
lea eax, [ebp - 0xc08]
push eax
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x45079c
mov eax, 0x5fd2f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4507d8
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x5ac39c
push eax
lea eax, [ebp - 0xc08]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4507d8
mov eax, dword [ebp - 0xc20]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov esi, esi
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00450660
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret