joyce8/EMBER2024-capa huggingface dataset:
Function at 0x62a7f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1bb000]
push edi
jmp 0x62a80a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x62a811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x62a800
mov eax, 1
add ebx, ebx
jne 0x62a823
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x62a834
jne 0x62a853
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x62a853
dec eax
add ebx, ebx
jne 0x62a840
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x62a818
add ebx, ebx
jne 0x62a84f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x62a8a5
xor ecx, ecx
sub eax, 3
jb 0x62a86b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x62a8da
sar eax, 1
mov ebp, eax
jmp 0x62a876
add ebx, ebx
jne 0x62a876
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x62a844
inc ecx
add ebx, ebx
jne 0x62a884
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x62a844
add ebx, ebx
jne 0x62a891
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x62a886
jne 0x62a8a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x62a886
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x62a8c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x62a8b6
jmp 0x62a806
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x62a8c4
add edi, ecx
jmp 0x62a806
pop esi
mov edi, esi
mov ecx, 0x1a00
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x62a8e2
cmp byte [edi], 6
jne 0x62a8e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x62a8e7
lea edi, [esi + 0x21c000]
mov eax, dword [edi]
or eax, eax
je 0x62a95f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x231d08]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x231e84]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x62a914
mov ecx, edi
jns 0x62a943
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 + 0x231e88]
or eax, eax
je 0x62a959
mov dword [ebx], eax
add ebx, 4
jmp 0x62a931
call dword [esi + 0x231e98]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x62a990
cmp al, 0xef
ja 0x62a983
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x62a965
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x62a972
mov ebp, dword [esi + 0x231e8c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x62a9c4
sub esp, 0xffffff80
jmp 0x484db2
Function at 0x10010280
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10010455
pushal
mov esi, 0x1000c015
lea edi, [esi - 0xb015]
push edi
jmp 0x100102aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100102b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100102a0
mov eax, 1
add ebx, ebx
jne 0x100102c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100102d4
jne 0x100102f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100102f3
dec eax
add ebx, ebx
jne 0x100102e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x100102b8
add ebx, ebx
jne 0x100102ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x10010345
xor ecx, ecx
sub eax, 3
jb 0x1001030b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1001037a
sar eax, 1
mov ebp, eax
jmp 0x10010316
add ebx, ebx
jne 0x10010316
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100102e4
inc ecx
add ebx, ebx
jne 0x10010324
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100102e4
add ebx, ebx
jne 0x10010331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10010326
jne 0x10010342
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10010326
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10010364
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10010356
jmp 0x100102a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10010364
add edi, ecx
jmp 0x100102a6
pop esi
mov edi, esi
mov ecx, 0x5c9e
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x1001039f
cmp byte [edi], 4
jne 0x10010384
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x10010382
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x100103e7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x103dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10448]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100103a5
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1044c]
or eax, eax
je 0x100103e1
mov dword [ebx], eax
add ebx, 4
jmp 0x100103c2
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10010418
cmp al, 0xef
ja 0x1001040b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100103ed
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100103fa
mov ebp, dword [esi + 0x10450]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x1001044c
sub esp, 0xffffff80
jmp 0x100041c0
Function at 0x410ca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ba698
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push edi
mov eax, dword [0x4ec6a0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.0047dae0
push eax
lea ecx, [esp + 0x30]
call fcn.0047a69e
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
push eax
call fcn.0047dae0
mov ecx, eax
call fcn.0047a351
cmp dword [esi + 0x130], 0
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x410dc1
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x12c]
call fcn.0047a60b
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
lea edi, [esi + 0x13c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.0047a8d2
test edi, edi
je 0x410d7b
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x130]
push edi
push eax
call fcn.0047a957
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x144], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esi + 0x130]
push ecx
push 0
push 0
push eax
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0xc]
lea edx, [esi + 0x12c]
test edx, edx
je 0x410dde
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
push 0
push 0
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0047a6f2
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x44
ret 4
Function at 0x4167b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ba5b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
mov eax, dword [0x4ec6a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push esi
lea ecx, [esp + 0x18]
call fcn.0047a69e
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.00479edd
mov ecx, dword [esi + 0x54]
mov ebx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x140]
call edx
push eax
lea ecx, [esp + 0x18]
call fcn.0047a9aa
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [edi], ecx
mov dword [edi + 4], edx
test byte [esi + 0x64], 4
je 0x416838
add dword [edi], 0xe
push ebx
lea ecx, [esp + 0x18]
call fcn.00479f0e
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0047a6f2
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x2c
ret 8

Function at 0x418ca0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4baab3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x4ec6a0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.0047a13d
xor ecx, ecx
mov dword [esp + 0x24], ecx
lea ebp, [esi + 0x10]
mov dword [esi], vtable.CMemDC.0
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov byte [esp + 0x24], 1
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x418d6b
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0047a60b
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.0047a8d2
test ebp, ebp
je 0x418d49
mov ebp, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ebp
push ecx
call fcn.0047a957
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0047a251
jmp 0x418d7d
mov edx, dword [ebx + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 8], ecx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 4
Function at 0x421170
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2c], 0
jne 0x4211c5
mov eax, dword [esi + 0x38]
test eax, eax
je 0x42118e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x38], 0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov dword [esi + 0x68], ecx
mov ecx, 1
mov dword [esi + 0x64], eax
mov eax, esi
mov byte [esi + 0x2c], cl
mov dword [esi + 0x34], ecx
call fcn.00421240
push 0
push 0
push esi
push 0x421160
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x38], eax
pop esi
ret 8
Function at 0x42ba10
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0x2048
push 0
push esi
mov dword [esp + 0xc], 0
call fcn.00499500
mov eax, dword [esp + 0x14]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
mov dword [esi], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x42ba57
xor eax, eax
pop ecx
ret
push 0
lea ecx, [esp + 4]
push ecx
push 0x2030
lea edx, [esi + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp], 0x2030
jne 0x42ba53
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop ecx
ret

Function at 0x42ba90
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 8], 0
lea ebx, [esi + 0x2038]
mov ecx, dword [esi]
push 0
lea eax, [esp + 0xc]
push eax
push 0xe
push ebx
push ecx
call ebp
cmp dword [esp + 8], 0xe
jb 0x42bb1c
mov eax, dword [esi + 0x203a]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push eax
push edi
push ecx
call ebp
mov edx, dword [esp + 8]
cmp edx, dword [esi + 0x203a]
jb 0x42bb1c
test byte [ebx], 7
jbe 0x42bb0e
movzx eax, byte [edi + 0xf]
movzx ecx, byte [edi + 0x10]
mov dl, byte [edi + 0x11]
not al
not cl
mov byte [edi + 0xf], al
movzx eax, byte [edi + 0x12]
mov byte [edi + 0x10], cl
movzx ecx, byte [edi + 0x13]
not dl
not al
not cl
mov byte [edi + 0x11], dl
mov byte [edi + 0x12], al
mov byte [edi + 0x13], cl
test byte [ebx], 0x18
jne 0x42baa7
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
pop ebp
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x42bb30
Capabilities:
Read file on windows

Disassembly:
push ecx
mov ecx, dword [esi]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0xc]
push eax
push 0xe
lea ebx, [esi + 0x2038]
push ebx
push ecx
mov dword [esp + 0x1c], 0
call ebp
cmp dword [esp + 8], 0xe
jae 0x42bb63
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x203a]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push eax
push edi
push ecx
call ebp
mov edx, dword [esp + 8]
cmp edx, dword [esi + 0x203a]
jb 0x42bb5d
mov bl, byte [ebx]
test bl, 0x18
jne 0x42bbbb
test bl, 7
jbe 0x42bbbb
movzx eax, byte [edi + 0xf]
movzx ecx, byte [edi + 0x10]
mov dl, byte [edi + 0x11]
not al
not cl
mov byte [edi + 0xf], al
movzx eax, byte [edi + 0x12]
mov byte [edi + 0x10], cl
movzx ecx, byte [edi + 0x13]
not dl
not al
not cl
mov byte [edi + 0x11], dl
mov byte [edi + 0x12], al
mov byte [edi + 0x13], cl
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x43e8e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
imul eax, edx
push ebx
push ebp
push esi
mov ebp, 0x4d5a18
push edi
xor edi, edi
add eax, ecx
mov ebx, ebp
xor esi, esi
test ecx, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], edi
je 0x43e936
cmp eax, 1
jl 0x43e936
mov ebp, dword [esp + 0x24]
mov ebx, eax
imul ebx, ebx, 0x124
add ebp, ebx
mov ebx, dword [ebp - 0x124]
cmp ebx, 3
je 0x43e92a
cmp ebx, 4
jne 0x43e930
lea esi, [ebp - 0xbc]
mov ebx, dword [esp + 0x14]
mov ebp, ebx
cmp eax, edx
jl 0x43e960
mov ebp, dword [esp + 0x24]
mov ebx, eax
sub ebx, edx
imul ebx, ebx, 0x124
add ebp, ebx
mov ebx, dword [ebp]
cmp ebx, 3
je 0x43e957
cmp ebx, 4
jne 0x43e95a
lea edi, [ebp + 0x68]
mov ebx, dword [esp + 0x14]
mov ebp, ebx
test ecx, ecx
je 0x43e993
lea ecx, [edx + 1]
cmp eax, ecx
jl 0x43e993
mov ecx, eax
sub ecx, edx
mov edx, dword [esp + 0x24]
imul ecx, ecx, 0x124
add edx, ecx
mov ecx, dword [edx - 0x124]
cmp ecx, 3
je 0x43e98b
cmp ecx, 4
jne 0x43e993
add edx, 0xffffff44
jmp 0x43e997
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
imul eax, eax, 0x124
lea eax, [eax + ecx + 0x68]
mov ecx, dword [esp + 0x28]
cmp ecx, 5
ja case.default.0x43e9b2
jmp dword [ecx*4 + 0x43eac8]
test esi, esi
je 0x43e9c0
lea ebx, [esi + 0x1e]
test edi, edi
je 0x43e9c7
lea ebp, [edi + 0x3c]
test edx, edx
je case.default.0x43e9b2
add edx, 0x5a
jmp 0x43ea35
test edi, edi
mov ebx, eax
je case.default.0x43e9b2
lea ebp, [edi + 0x5a]
add edi, 0x3c
mov dword [esp + 0x10], edi
jmp case.default.0x43e9b2
test esi, esi
je 0x43e9f0
lea ebx, [esi + 0x5a]
add esi, 0x1e
mov dword [esp + 0x10], esi
mov ebp, eax
jmp case.default.0x43e9b2
lea ebx, [eax + 0x3c]
lea ebp, [eax + 0x1e]
mov dword [esp + 0x10], eax
jmp case.default.0x43e9b2
test esi, esi
je 0x43ea07
lea ebx, [esi + 0x78]
test edi, edi
je 0x43ea0e
lea ebp, [edi + 0x78]
test edx, edx
je case.default.0x43e9b2
add edx, 0x78
jmp 0x43ea35
test esi, esi
je 0x43ea21
lea ebx, [esi + 0x96]
test edi, edi
je 0x43ea2b
lea ebp, [edi + 0x96]
test edx, edx
je case.default.0x43e9b2
add edx, 0x96
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
movsx ecx, word [edx]
movzx ebp, word [ebp]
movzx ebx, word [ebx]
movsx edi, bp
mov eax, ecx
sub eax, edi
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x24], eax
movsx esi, bx
mov eax, esi
sub eax, ecx
mov ecx, dword [esp + 0x24]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
mov ecx, dword [esp + 0x2c]
jge 0x43ea90
test bp, bp
jle 0x43ea8c
mov eax, ecx
sar eax, 1
add eax, edi
cdq
idiv ecx
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov word [ecx], ax
add esp, 0x10
ret
mov eax, edi
jmp 0x43eaaf
test bx, bx
jle 0x43eaad
mov eax, ecx
sar eax, 1
add eax, esi
cdq
idiv ecx
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov word [ecx], ax
add esp, 0x10
ret
mov eax, esi
mov edx, ecx
sar edx, 1
sub eax, edx
cdq
idiv ecx
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov word [ecx], ax
add esp, 0x10
ret
Function at 0x4594d0
Capabilities:
Encode data using xor

Disassembly:
push ecx
cmp eax, 0x20
push esi
jg 0x459583
mov esi, 1
mov ecx, eax
shl esi, cl
cmp edx, esi
jae 0x459583
mov ecx, 0x20
sub ecx, eax
xor esi, esi
shl edx, cl
mov ecx, esi
shl ecx, 0x18
mov eax, ecx
sar eax, 0x1f
add ecx, ecx
and eax, edx
xor eax, ecx
mov ecx, eax
sar ecx, 0x1f
and ecx, edx
add eax, eax
xor ecx, eax
mov eax, ecx
sar eax, 0x1f
add ecx, ecx
and eax, edx
xor eax, ecx
mov ecx, eax
sar ecx, 0x1f
and ecx, edx
add eax, eax
xor ecx, eax
mov eax, ecx
sar eax, 0x1f
add ecx, ecx
and eax, edx
xor eax, ecx
mov ecx, eax
sar ecx, 0x1f
and ecx, edx
add eax, eax
xor ecx, eax
mov eax, ecx
sar eax, 0x1f
add ecx, ecx
and eax, edx
xor eax, ecx
mov ecx, eax
sar ecx, 0x1f
and ecx, edx
add eax, eax
xor ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 4]
bswap eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 4]
mov dword [edi + esi*4], ecx
add esi, 1
cmp esi, 0x100
jl 0x4594f7
mov dword [edi + 0x400], 1
xor eax, eax
pop esi
pop ecx
ret
or eax, 0xffffffff
pop esi
pop ecx
ret

Function at 0x475fe0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x476026
call fcn.00478342
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x476026
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x476069
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x476052
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x476052
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x476066
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x47ebc6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x47ebff
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004049a0
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00473cef
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x480853
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x480896
call fcn.00478342
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x480896
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4808b1
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0048040a
test ebx, ebx
mov esi, eax
je 0x4808af
test edi, edi
je 0x4808af
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4820fa
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x482103
xor eax, eax
jmp 0x48216c
cmp dword [esp + 8], 0
jne 0x48210f
call fcn.00475a3b
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.0049b08c
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x48214a
push dword [esi + 0x10]
call fcn.0049add1
test eax, eax
pop ecx
jne 0x48214a
mov esi, dword [esi + 0xc]
call fcn.0049a0ad
push esi
push dword [eax]
push 1
call fcn.00481f5f
push dword [esi + 0x10]
call fcn.0049ae00
test eax, eax
pop ecx
je 0x482169
push dword [esi + 0x10]
call fcn.0049ad25
push eax
call fcn.00404000
pop ecx
pop ecx
jmp 0x482138
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x482175
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x48217f
call fcn.00475a3b
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.004942be
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x4821ac
mov esi, dword [esi + 0xc]
call fcn.0049a0ad
push esi
push dword [eax]
push 1
call fcn.00481f5f
pop esi
ret 8

Function at 0x484e1b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x484e49
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x484e67
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00484d85
jmp 0x484e67
mov eax, dword [esi + 0x14]
test eax, eax
je 0x484e67
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00484d85
test edi, edi
mov eax, edi
jne 0x484e51
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4f0f50]
test ecx, ecx
je 0x484f2a
jmp 0x484e1a
ret 8

Function at 0x491285
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ec6a0]
jne 0x49128f
repz ret
jmp fcn.0049c110