joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b6a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x70]
test eax, eax
je 0x41b6c2
mov dword [eax + 0x44], edx
mov eax, dword [esi + 0x70]
push 1
add eax, 4
push eax
call fcn.004554e0
mov eax, dword [esi + 0x10]
mov byte [esi + 6], dl
cmp dword [eax + 0x58], 0
je 0x41b6df
call fcn.0041b620
mov eax, dword [esi + 0x10]
push esi
mov eax, dword [eax + 0x58]
call eax
add esp, 4
push 1
call fcn.0043bbb6
int3

Function at 0x41c6e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov edx, 0xbc
mov dword [esp + 8], ecx
mov eax, 0x4748d0
mov dword [esp + 0xc], edx
push esi
sub eax, edx
push edi
mov dword [esp + 0x20], eax
mov eax, dword [eax + edx]
mov ebx, eax
mov dword [esp + 0x1c], eax
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x41c710
sub ebx, ecx
mov esi, ebx
mov dword [esp + 0x24], ebx
shr esi, 5
mov edi, ebx
inc esi
mov dword [esp + 0x18], ebx
mov edx, ebx
cmp ebx, esi
jb 0x41c756
mov ebx, dword [esp + 0x1c]
movzx ecx, byte [ebx + edx - 1]
mov eax, edi
shl eax, 5
sub edx, esi
add ecx, eax
mov eax, edi
shr eax, 2
add ecx, eax
xor edi, ecx
cmp edx, esi
jae 0x41c733
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x18], edi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
dec ecx
and ecx, edi
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x41c7dd
lea esp, [esp]
cmp dword [edi + 0xc], ebx
jne 0x41c7d3
mov ecx, dword [esp + 0x14]
lea eax, [edi + 0x10]
mov edx, dword [esp + 0x20]
mov esi, ebx
mov edx, dword [edx + ecx]
sub esi, 4
jb 0x41c7a1
lea ebx, [ebx]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x41c7a6
add edx, 4
add eax, 4
sub esi, 4
jae 0x41c790
cmp esi, 0xfffffffc
je 0x41c824
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x41c7d3
cmp esi, 0xfffffffd
je 0x41c824
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x41c7d3
cmp esi, 0xfffffffe
je 0x41c824
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x41c7d3
cmp esi, 0xffffffff
je 0x41c824
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x41c824
mov edi, dword [edi]
test edi, edi
jne 0x41c770
mov esi, dword [esp + 0x10]
push dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, esi
push ebx
call fcn.0041ca00
add esp, 8
mov edi, eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x10]
mov dword [edx + ecx], edi
mov eax, dword [esi + 0x10]
mov eax, dword [edx + eax]
add edx, 4
mov dword [esp + 0x14], edx
or byte [eax + 5], 0x20
mov eax, dword [esp + 0x20]
cmp edx, 0x100
jl 0x41c704
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x10]
mov dl, byte [edi + 5]
movzx ecx, dl
and ecx, 3
mov eax, dword [esi + 0x10]
movzx eax, byte [eax + 0x14]
not eax
test al, cl
je 0x41c7f2
xor dl, 3
mov byte [edi + 5], dl
jmp 0x41c7f2
Function at 0x41cab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 8]
mov ebx, edx
mov edi, edx
mov dword [esp + 0xc], ecx
shr edi, 5
mov esi, edx
inc edi
cmp edx, edi
jb 0x41cafe
mov edx, dword [esp + 0x10]
lea esp, [esp]
movzx ecx, byte [edx + esi - 1]
mov eax, ebx
shl eax, 5
sub esi, edi
add ecx, eax
mov eax, ebx
shr eax, 2
add ecx, eax
xor ebx, ecx
cmp esi, edi
jae 0x41cae0
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 8]
mov eax, dword [eax]
dec ecx
and ecx, ebx
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x41cb94
cmp dword [edi + 0xc], edx
jne 0x41cb8a
mov esi, dword [ebp + 8]
lea eax, [edi + 0x10]
mov edx, dword [esp + 0x10]
sub esi, 4
jb 0x41cb41
lea esp, [esp]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x41cb4a
add edx, 4
add eax, 4
sub esi, 4
jae 0x41cb30
cmp esi, 0xfffffffc
je 0x41cc3a
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x41cb87
cmp esi, 0xfffffffd
je 0x41cc3a
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x41cb87
cmp esi, 0xfffffffe
je 0x41cc3a
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x41cb87
cmp esi, 0xffffffff
je 0x41cc3a
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x41cc3a
mov edx, dword [ebp + 8]
mov edi, dword [edi]
test edi, edi
jne 0x41cb18
mov esi, dword [esp + 0xc]
lea eax, [edx + 1]
cmp eax, 0xffffffed
jbe 0x41cbad
push str.memory_allocation_error:_block_too_big
push esi
call fcn.00416290
mov edx, dword [ebp + 8]
add esp, 8
lea eax, [edx + 0x11]
mov ecx, esi
push eax
push 0
xor edx, edx
call fcn.0042cd00
mov ecx, dword [esp + 0x14]
mov edi, eax
mov esi, dword [ebp + 8]
push esi
push dword [esp + 0x1c]
mov dword [edi + 0xc], esi
lea eax, [edi + 0x10]
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x10]
push eax
mov cl, byte [ecx + 0x14]
and cl, 3
mov byte [edi + 4], 4
mov byte [edi + 5], cl
mov byte [edi + 6], 0
call fcn.0043a150
mov byte [edi + esi + 0x10], 0
add esp, 0x14
mov esi, dword [esp + 0xc]
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 8]
dec eax
and eax, ebx
lea ecx, [eax*4]
mov eax, dword [edx]
mov eax, dword [ecx + eax]
mov dword [edi], eax
mov eax, dword [edx]
mov dword [ecx + eax], edi
inc dword [edx + 4]
mov eax, dword [edx + 8]
cmp dword [edx + 4], eax
jbe 0x41cc31
cmp eax, 0x3ffffffe
jg 0x41cc31
lea edx, [eax + eax]
mov ecx, esi
call fcn.0041c910
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov al, byte [edi + 5]
movzx edx, al
and edx, 3
movzx ecx, byte [ecx + 0x14]
not ecx
test cl, dl
je 0x41cc31
xor al, 3
mov byte [edi + 5], al
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425890
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, edx
mov dword [ebp - 0x224], ecx
mov edi, ecx
mov dword [ebp - 0x21c], eax
lea esi, [ebp - 0x20c]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x210], edi
mov ebx, 0x200
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], 0
lea ecx, [ecx]
lea ecx, [ebp - 0x218]
sub esi, ecx
sub esi, 0xc
je 0x425949
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 0x44]
cmp eax, dword [ecx + 0x40]
jb 0x4258ff
mov ecx, edi
call fcn.00418ad0
mov edi, dword [edi + 8]
lea edx, [ebp - 0x20c]
push esi
mov esi, dword [ebp - 0x220]
mov ecx, esi
call fcn.0041cab0
mov dword [edi], eax
lea ecx, [ebp - 0x218]
mov dword [edi + 8], 4
lea eax, [ebp - 0x20c]
add dword [esi + 8], 0x10
add esp, 4
inc dword [ebp - 0x214]
mov dword [ebp - 0x218], eax
call fcn.00413ed0
mov eax, dword [ebp - 0x21c]
mov edi, dword [ebp + 8]
cmp ebx, edi
push eax
cmova ebx, edi
lea eax, [ebp - 0x20c]
push ebx
push 1
push eax
call fcn.00454dc1
mov esi, dword [ebp - 0x218]
add esp, 0x10
add esi, eax
sub edi, eax
mov dword [ebp - 0x218], esi
mov dword [ebp + 8], edi
je 0x425994
cmp eax, ebx
jne 0x425994
mov edi, dword [ebp - 0x210]
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x220], edi
jmp 0x4258e0
lea ecx, [ebp - 0x218]
call fcn.00413e60
mov edx, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x210]
call fcn.00412d50
mov dword [ebp - 0x214], 1
test edi, edi
je 0x4259e1
mov ecx, dword [ebp - 0x224]
or edx, 0xffffffff
call fcn.004124c0
test eax, eax
jne 0x4259e1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438f17
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438f17
mov esp, ebp
pop ebp
ret
Function at 0x425e30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edx
mov esi, 1
mov eax, dword [edi + 8]
sub eax, dword [edi + 0xc]
sar eax, 4
dec eax
je 0x425efb
mov ebx, dword [ebp + 8]
lea ebx, [ebx]
dec eax
mov edx, ebx
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.004121e0
cmp eax, 0x474770
je 0x425f2b
cmp dword [eax + 8], 3
jne 0x425f2b
test esi, esi
je 0x425eec
mov edx, ebx
mov ecx, edi
call fcn.004121e0
mov ecx, dword [eax + 8]
cmp ecx, 3
je 0x425ecb
cmp ecx, 4
jne 0x425f26
mov ecx, dword [eax]
lea edx, [esp + 0x28]
add ecx, 0x10
call fcn.00414ce0
test eax, eax
je 0x425f26
movsd xmm0, qword [esp + 0x28]
lea eax, [esp + 0x30]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 0x38], 3
movsd xmm0, qword [eax]
sub esp, 8
movsd qword [esp], xmm0
push str._.14g
push dword [esp + 0x28]
call fcn.00454e6d
add esp, 0x10
test eax, eax
jg 0x425f58
xor esi, esi
mov eax, dword [esp + 0x24]
inc ebx
test eax, eax
jne 0x425e60
call fcn.0043cd83
mov ebx, dword [eax]
mov eax, dword [edi + 8]
test esi, esi
je 0x425f5f
mov dword [eax], 1
mov dword [eax + 8], 1
mov eax, 1
add dword [edi + 8], 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
jmp 0x425ecf
lea eax, [esp + 0x20]
mov edx, ebx
push eax
mov ecx, edi
call fcn.004134a0
add esp, 4
test esi, esi
je 0x425eec
push dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
push esi
push 1
push eax
call fcn.00456d25
add esp, 0x10
cmp eax, esi
jne 0x425eec
mov esi, 1
jmp 0x425eee
mov dword [eax + 8], 0
add dword [edi + 8], 0x10
push ebx
call fcn.00454708
add esp, 4
push eax
push 0x475a70
push edi
call fcn.00412650
mov eax, dword [edi + 8]
add esp, 0xc
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mov dword [eax + 8], 3
movsd qword [eax], xmm0
mov eax, 3
add dword [edi + 8], 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
xor eax, eax
mov dword [esp + 0xc], ecx
push edi
mov dword [esp + 0x18], eax
jmp 0x42b3b0
mov eax, dword [eax*4 + 0x474e60]
mov ebx, eax
mov dword [esp + 0xc], eax
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x42b3c0
sub ebx, ecx
mov esi, ebx
mov dword [esp + 0x1c], ebx
shr esi, 5
mov edi, ebx
inc esi
mov dword [esp + 0x14], ebx
mov edx, ebx
cmp ebx, esi
jb 0x42b406
mov ebx, dword [esp + 0xc]
movzx ecx, byte [ebx + edx - 1]
mov eax, edi
shl eax, 5
sub edx, esi
add ecx, eax
mov eax, edi
shr eax, 2
add ecx, eax
xor edi, ecx
cmp edx, esi
jae 0x42b3e3
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
dec ecx
and ecx, edi
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x42b47c
lea esp, [esp]
cmp dword [edi + 0xc], ebx
jne 0x42b476
mov edx, dword [esp + 0xc]
lea esi, [edi + 0x10]
mov eax, ebx
sub eax, 4
jb 0x42b444
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x42b449
add edx, 4
add esi, 4
sub eax, 4
jae 0x42b433
cmp eax, 0xfffffffc
je 0x42b4b6
mov cl, byte [edx]
cmp cl, byte [esi]
jne 0x42b476
cmp eax, 0xfffffffd
je 0x42b4b6
mov cl, byte [edx + 1]
cmp cl, byte [esi + 1]
jne 0x42b476
cmp eax, 0xfffffffe
je 0x42b4b6
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
jne 0x42b476
cmp eax, 0xffffffff
je 0x42b4b6
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x42b4b6
mov edi, dword [edi]
test edi, edi
jne 0x42b420
push dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push ebx
call fcn.0041ca00
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x18]
or byte [edi + 5], 0x20
lea ecx, [eax + 1]
inc eax
mov byte [edi + 6], cl
mov dword [esp + 0x18], eax
cmp eax, 0x15
jl 0x42b3b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x10]
mov dl, byte [edi + 5]
movzx ecx, dl
and ecx, 3
mov eax, dword [esi + 0x10]
movzx eax, byte [eax + 0x14]
not eax
test al, cl
je 0x42b493
xor dl, 3
mov byte [edi + 5], dl
jmp 0x42b493
Function at 0x4336e0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x210]
push eax
push 0x46fcb0
push 1
push 0
push 0x46fcd0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x433770
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x46fcc0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
js 0x433766
push esi
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x433783
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438f17
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20c]
mov edx, 0x103
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7ffffefb]
test eax, eax
je 0x4337b0
movzx eax, word [esi + ecx]
test ax, ax
je 0x4337b0
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x433792
jmp 0x4337b4
test edx, edx
jne 0x4337b7
sub ecx, 2
xor eax, eax
mov word [ecx], ax
mov word [ebp - 6], ax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
js 0x433752
test edi, edi
je 0x433801
mov eax, dword [ebp - 0x210]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x433752
mov eax, dword [ebp - 0x214]
push 1
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x214]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
test esi, esi
pop edi
setns al
xor ecx, ebp
pop esi
pop ebx
call fcn.00438f17
mov esp, ebp
pop ebp
ret
Function at 0x433850
Capabilities:
Check if file exists
Get file attributes
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, 0x2e
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, str._000214A0_0000_0000_C000_000000000046__r_nProp319_2_r_n_InternetShortcut__r_nURL_s_r_nIDList_r_n
mov dword [ebp - 0xc0], eax
lea edi, [ebp - 0xbc]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433890
sub ecx, edx
mov edx, 2
sar ecx, 1
lea eax, [ecx + 0x61]
xor ecx, ecx
mov dword [ebp - 0xc4], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00438f0e
mov esi, eax
add esp, 4
test esi, esi
je 0x433906
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4338de
and eax, 0xfffffffe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80000080
push 2
push 0
push 3
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
jne 0x433919
push esi
call fcn.0043acf3
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438f17
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0xc4]
lea eax, [ebx + ebx]
push eax
push 0
push esi
call fcn.0043a7a0
push dword [ebp - 0xc0]
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebx - 1]
push eax
push esi
call fcn.00402670
mov ecx, esi
add esp, 0x1c
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433950
sub ecx, edx
lea eax, [ebp - 0xc8]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0043acf3
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.00438f17
mov esp, ebp
pop ebp
ret
Function at 0x4345d0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
mov ax, cx
and ecx, 0x3ff
shr ax, 0xa
add ecx, 0xfffffffc
movzx eax, ax
cmp ecx, 0x1b
ja case.0x4345f8.13
jmp dword [ecx*4 + 0x4347dc]
cmp eax, 1
jne 0x434616
push 0x468c44
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468c38
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468c50
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468c5c
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468c68
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
cmp eax, 2
jne case.0x4345f8.13
push 0x468c74
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468c8c
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468c98
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468ca4
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468cb0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468cbc
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468cc8
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push str.ja_JP
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468ce0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push str.no_NO
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468cf8
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
cmp eax, 1
jne 0x434744
push 0x468d04
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468d10
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468d1c
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
cmp eax, 2
jne 0x43477f
push 0x468d34
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468d28
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468d40
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468d58
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468d4c
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
push 0x468c80
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402580
pop ebp
ret
Function at 0x434e90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0
movzx esi, ax
mov byte [ebp - 0x1d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, eax
mov eax, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 0x24], ecx
shr eax, 4
and ebx, 0xf
push esi
inc eax
movzx eax, ax
push eax
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov esi, eax
mov dword [ebp - 8], 7
xor eax, eax
mov dword [ebp - 0xc], 0
push eax
push 0x471c94
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x1c], ax
call fcn.00403dd0
lea eax, [ebp - 0x1c]
cmp edi, eax
je 0x434f30
cmp dword [edi + 0x14], 8
jb 0x434f12
push dword [edi]
call fcn.0043986c
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
mov word [edi], ax
lea eax, [ebp - 0x1c]
push eax
call fcn.00403800
cmp dword [ebp - 8], 8
jb 0x434f41
push dword [ebp - 0x1c]
call fcn.0043986c
add esp, 4
test esi, esi
je 0x435006
push esi
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x435006
mov dl, 1
xor eax, eax
mov byte [ebp - 0x1d], dl
movzx ecx, word [esi]
add esi, 2
test cx, cx
je 0x434f76
cmp eax, ebx
je 0x434f8f
lea esi, [esi + ecx*2]
inc eax
cmp eax, 0x10
jl 0x434f64
pop edi
pop esi
mov al, dl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438f17
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 8], 7
lea ebx, [ecx + 1]
mov dword [ebp - 0xc], 0
push eax
push ebx
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x1c], ax
call fcn.004363d0
lea eax, [ebp - 0x1c]
cmp edi, eax
je 0x434fe5
cmp dword [edi + 0x14], 8
jb 0x434fc7
push dword [edi]
call fcn.0043986c
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
mov word [edi], ax
lea eax, [ebp - 0x1c]
push eax
call fcn.00403800
cmp dword [ebp - 8], 8
jb 0x434ff6
push dword [ebp - 0x1c]
call fcn.0043986c
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x434ffe
mov edi, dword [edi]
push esi
push ebx
push edi
call fcn.00402580
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x1d]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00438f17
mov esp, ebp
pop ebp
ret
Function at 0x435020
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push dword [ebp + 0xc]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x435062
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x435072
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0xc]
push esi
call fcn.00402580
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435077
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
je 0x43509e
push 0x472938
push 0x104
push esi
call fcn.004025f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00438f17
mov esp, ebp
pop ebp
ret