joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d8f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e378
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x499078]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x40d930
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40d93c
mov al, 1
jmp 0x40dadf
mov dword [ebp - 0x10], 8
call fcn.0040a930
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.0040a930
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0040a910
add esp, 8
movzx eax, al
test eax, eax
je 0x40d97f
xor al, al
jmp 0x40dadf
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040d280
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.0040d340
mov ecx, eax
call fcn.0040e890
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00401970
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d340
mov ecx, eax
call fcn.0040e890
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0040f9c0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x40d9fa
cmp dword [ebp - 0x6c], 1
je 0x40da01
cmp dword [ebp - 0x6c], 3
je 0x40da9b
jmp 0x40dab3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040d340
mov ecx, eax
call fcn.0040e890
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x40da64
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d340
mov ecx, eax
call fcn.0040e890
push eax
call fcn.00417fe6
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x40da64
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401770
mov al, byte [ebp - 0x61]
jmp 0x40dadf
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40da87
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401770
mov al, byte [ebp - 0x62]
jmp 0x40dadf
cmp dword [ebp - 0x38], 0
jne 0x40da99
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040d2c0
jmp 0x40dacb
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401770
mov al, byte [ebp - 0x63]
jmp 0x40dadf
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401770
mov al, byte [ebp - 0x64]
jmp 0x40dadf
jmp 0x40d992
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0041694e
mov esp, ebp
pop ebp
ret
Function at 0x415af0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e158
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x499078]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x3c], 0
je 0x415b30
mov ecx, dword [ebp - 0x64]
movzx edx, byte [ecx + 0x42]
test edx, edx
jne 0x415b3c
mov al, 1
jmp 0x415ce4
mov dword [ebp - 0x10], 8
call fcn.00413100
movzx eax, ax
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x64]
mov eax, dword [edx + 4]
call eax
mov word [ebp - 0x3a], ax
call fcn.00413100
mov word [ebp - 0x3c], ax
lea ecx, [ebp - 0x3a]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.004165f0
add esp, 8
movzx eax, al
test eax, eax
je 0x415b84
xor al, al
jmp 0x415ce4
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040d280
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x34]
call fcn.0040d340
mov ecx, eax
call fcn.0040e890
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00401970
add esi, eax
push esi
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d340
mov ecx, eax
call fcn.0040e890
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x64]
mov ecx, dword [edx + 0x3c]
call fcn.0040f9c0
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x415bff
cmp dword [ebp - 0x68], 1
je 0x415c06
cmp dword [ebp - 0x68], 3
je 0x415ca0
jmp 0x415cb8
mov eax, dword [ebp - 0x64]
mov byte [eax + 0x42], 0
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040d340
mov ecx, eax
call fcn.0040e890
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x415c69
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d340
mov ecx, eax
call fcn.0040e890
push eax
call fcn.00417fe6
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x415c69
mov byte [ebp - 0x5d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401770
mov al, byte [ebp - 0x5d]
jmp 0x415ce4
mov ecx, dword [ebp - 0x64]
movzx edx, byte [ecx + 0x42]
test edx, edx
jne 0x415c8c
mov byte [ebp - 0x5e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401770
mov al, byte [ebp - 0x5e]
jmp 0x415ce4
cmp dword [ebp - 0x38], 0
jne 0x415c9e
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040d2c0
jmp 0x415cd0
mov byte [ebp - 0x5f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401770
mov al, byte [ebp - 0x5f]
jmp 0x415ce4
mov byte [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401770
mov al, byte [ebp - 0x60]
jmp 0x415ce4
jmp 0x415b97
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0041694e
mov esp, ebp
pop ebp
ret

Function at 0x41694e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x499078]
jne 0x416958
repz ret
jmp fcn.0041e3dc
Function at 0x417db1
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x417de2
call fcn.0041e537
mov dword [eax], esi
call fcn.0041e524
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00416f02
add esp, 0x14
push 0x16
pop eax
jmp 0x417e37
test dword [ebp + 0xc], 0xfffffff9
jne 0x417dbe
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x417e0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041e54a
pop ecx
call fcn.0041e524
mov eax, dword [eax]
jmp 0x417e37
test al, 0x10
jne 0x417e35
test al, 1
je 0x417e35
test byte [ebp + 0xc], 2
je 0x417e35
call fcn.0041e537
mov dword [eax], 5
call fcn.0041e524
mov dword [eax], 0xd
jmp 0x417e06
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x41dcf1
call fcn.0041e537
mov dword [eax], esi
call fcn.0041e524
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00416f02
add esp, 0x14
push 0x16
pop eax
jmp 0x41dd46
test dword [ebp + 0xc], 0xfffffff9
jne 0x41dccd
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41dd1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041e54a
pop ecx
call fcn.0041e524
mov eax, dword [eax]
jmp 0x41dd46
test al, 0x10
jne 0x41dd44
test al, 1
je 0x41dd44
test byte [ebp + 0xc], 2
je 0x41dd44
call fcn.0041e537
mov dword [eax], 5
call fcn.0041e524
mov dword [eax], 0xd
jmp 0x41dd15
xor eax, eax
pop esi
pop ebp
ret
Function at 0x429453
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.0041e87f
and dword [ebp - 4], 0
cmp dword [0x49c53c], 0
mov ebx, eax
jne 0x429504
push 0x48183c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4295b5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x481830
push edi
call esi
test eax, eax
je 0x4295b5
push eax
call fcn.0041e80d
mov dword [esp], 0x481820
push edi
mov dword [0x49c53c], eax
call esi
push eax
call fcn.0041e80d
mov dword [esp], 0x48180c
push edi
mov dword [0x49c540], eax
call esi
push eax
call fcn.0041e80d
mov dword [esp], 0x4817f0
push edi
mov dword [0x49c544], eax
call esi
push eax
call fcn.0041e80d
pop ecx
mov dword [0x49c54c], eax
test eax, eax
je 0x429504
push 0x4817d8
push edi
call esi
push eax
call fcn.0041e80d
pop ecx
mov dword [0x49c548], eax
mov eax, dword [0x49c548]
cmp eax, ebx
je 0x42955c
cmp dword [0x49c54c], ebx
je 0x42955c
push eax
call fcn.0041e888
push dword [0x49c54c]
mov esi, eax
call fcn.0041e888
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42955c
test edi, edi
je 0x42955c
call esi
test eax, eax
je 0x429553
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x429553
test byte [ebp - 0xc], 1
jne 0x42955c
or dword [ebp + 0x10], 0x200000
jmp 0x429595
mov eax, dword [0x49c540]
cmp eax, ebx
je 0x429595
push eax
call fcn.0041e888
pop ecx
test eax, eax
je 0x429595
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x429595
mov eax, dword [0x49c544]
cmp eax, ebx
je 0x429595
push eax
call fcn.0041e888
pop ecx
test eax, eax
je 0x429595
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49c53c]
call fcn.0041e888
pop ecx
test eax, eax
je 0x4295b5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4295b7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42f40e
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x42f424
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x42f430
or edi, 1
push 1
call esi
test ax, ax
jge 0x42f43c
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x42f448
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x42f454
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret
Function at 0x430e41
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x430e66
cmp ebx, dword [esi + 0x54]
je 0x430e66
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
cmp ebx, eax
je 0x430f28
push edi
test eax, eax
je 0x430eb9
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x54]
mov ecx, esi
call fcn.004308d3
mov dword [esi + 0x54], edi
test ebx, ebx
je 0x430f27
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x430f27
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x430f27
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x430f27
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x54], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x54]
mov ecx, esi
call fcn.004308d3
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x431135
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xd0]
mov ecx, edi
xor ebx, ebx
call fcn.0043a113
test eax, eax
jle 0x431184
push ebx
mov ecx, edi
mov byte [ebp - 1], 0
call fcn.0043a133
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x4311e5
mov ecx, edi
inc ebx
call fcn.0043a113
cmp ebx, eax
jl 0x431153
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x43123e
sub eax, 4
je 0x4311e9
dec eax
dec eax
jne 0x431235
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.0045d9f1
pop ecx
mov ecx, dword [esi + 0x50]
push 0x8000000a
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x43035a
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x431235
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x431237
cmp dword [esi + 0x54], 0
je 0x431235
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.0042f40e
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x431235
cmp dword [esi + 0x54], 0
je 0x43128d
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x43128d
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x43128d
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.0041ba96
pop ecx
pop ecx
test eax, eax
je 0x43128d
mov ecx, dword [esi + 0x54]
call fcn.00434d6b
test al, al
jne 0x431235
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
movzx eax, al
push eax
mov ecx, esi
call fcn.00430fd9
jmp 0x4311e5
Function at 0x434f1b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x4d4], ebx
je 0x434f83
cmp dword [ebp + 8], 0x100
jne 0x434f72
cmp word [ebp + 0xc], 0xd
jne 0x434f72
cmp byte [esi + 0x4da], bl
je 0x434f59
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x434f72
cmp byte [esi + 0x4db], bl
jne 0x434f72
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x434f6e
push ebx
push ebx
push ebx
push str.return
push esi
call fcn.004308d3
xor eax, eax
jmp 0x434f86
mov eax, dword [esi + 0x4d4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x439bfe
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
sub esp, 0x2b4
lea ebp, [esp - 4]
mov eax, dword [0x499078]
xor eax, ebp
mov dword [ebp + 0x2b4], eax
push 0xc
mov eax, 0x47b22b
call fcn.0045c97c
mov edi, dword [ebp + 0x2c0]
mov ebx, ecx
call fcn.004391e7
call fcn.0042f4c9
push eax
lea ecx, [ebp + 0x230]
call fcn.0043a4e0
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0042f4cf
mov ecx, eax
call fcn.0043a271
test al, al
je 0x439d60
push edi
lea ecx, [ebp + 0x230]
call fcn.0043a301
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea ecx, [ebp + 0x230]
call fcn.0043a117
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
push esi
cmp eax, 0xffffffff
jne 0x439cd4
push str.Error_opening_file
mov ecx, ebx
call fcn.004393bd
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x230]
call fcn.0043a14c
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2b4]
xor ecx, ebp
call fcn.0041694e
add ebp, 0x2b8
leave
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x439ce9
push esi
push str.File_is_empty
jmp 0x439c95
cmp edi, 0x400000
jbe 0x439cf9
push esi
push str.File_too_large
jmp 0x439c95
push edi
mov dword [ebp - 0x14], esi
call fcn.00417a33
pop ecx
push esi
lea ecx, [ebp - 0x14]
push ecx
push edi
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], edi
je 0x439d3f
push dword [ebp - 0x10]
call fcn.0041794e
pop ecx
mov ecx, ebx
call fcn.004391e7
push esi
push str.Could_not_read_file
jmp 0x439c95
push dword [ebp + 0x2c4]
mov ecx, ebx
push edi
push dword [ebp - 0x10]
call fcn.00439aad
push dword [ebp - 0x10]
mov bl, al
call fcn.0041794e
pop ecx
jmp 0x439c9e
call fcn.0042f4cf
push eax
lea ecx, [ebp + 0x230]
call fcn.0043a2e7
call fcn.0042f4d5
test al, al
je 0x439d81
call fcn.0042f4db
jmp 0x439d98
push 2
push esi
lea ecx, [ebp + 0x230]
call fcn.0043a117
push eax
call fcn.0043e21b
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x439daa
push esi
push str.Error_opening_zip_file
jmp 0x439c95
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push edi
push dword [ebp - 0x10]
call fcn.0043c919
add esp, 0x14
test eax, eax
je 0x439dcf
push esi
push str.Could_not_find_ziped_file
jmp 0x439c95
mov eax, dword [ebp + 0x22c]
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x439ce1
cmp eax, 0x400000
ja 0x439cf1
push eax
call fcn.00417a33
push 3
push dword [ebp - 0x14]
mov edi, eax
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.0043e278
add esp, 0x18
cmp eax, esi
je 0x439e36
cmp eax, 0x600
je 0x439e36
push edi
call fcn.0041794e
pop ecx
call fcn.0042f4d5
test al, al
jne 0x439e2b
push dword [ebp - 0x10]
call fcn.0043e2b2
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x439c95
call fcn.0042f4d5
test al, al
jne 0x439e48
push dword [ebp - 0x10]
call fcn.0043e2b2
pop ecx
push dword [ebp + 0x2c4]
mov ecx, ebx
push dword [ebp - 0x14]
push edi
call fcn.00439aad
push edi
jmp 0x439d53
Function at 0x43b4f2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x43b4fd
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x43b5b8
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x484680]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x484680]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x484680]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x484680]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x484680]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x484680]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x484680]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x484680]
inc edx
sub edi, 8
dec esi
jne 0x43b51d
pop ebx
test edi, edi
je 0x43b5d1
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x484680]
inc edx
dec edi
jne 0x43b5bc
pop edi
not eax
pop esi
ret

Function at 0x43ba68
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x43ba9c
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43ba97
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x43bac4
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x43baad
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.004170c0
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x43c861
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x499078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43c90b
movzx ecx, word [esi]
test cx, cx
je 0x43c90b
mov eax, esi
mov edx, esi
movzx ecx, cx
cmp cx, 0x2f
je 0x43c89f
cmp cx, 0x5c
jne 0x43c8a1
mov eax, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x43c893
cmp eax, esi
je 0x43c8df
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0045d891
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0043c861
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00416f66
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00416f38
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041694e
leave
ret
Function at 0x43de3c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x43deb7
cmp dword [esi + 4], 0xffffffff
jne 0x43deb7
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x484c7c
push edi
call fcn.00416f38
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x43de89
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x43de89
mov eax, 0x2000000
jmp 0x43debc
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043b87e
add esp, 0x10
test eax, eax
jne 0x43dea7
mov eax, dword [ebp + 0x10]
jmp 0x43debc
push eax
call fcn.0043da38
mov dword [esi], eax
mov eax, dword [0x49c9ec]
pop ecx
jmp 0x43debc
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x44e935
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x499078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x18], bl
je 0x44e9a6
cmp dword [esi + 0x10], ebx
je 0x44e9a6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.00426530
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x44e9a6
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push dword [ebp - 8]
add ecx, 0x1b8
call fcn.0043a2c5
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004308d3
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041694e
leave
ret 0x10