joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481e90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e55f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x4e9620]
push 0
lea ecx, [esp + 0x20]
call fcn.004daeda
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00481830
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004dae08
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004d7563
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004d7563
push 1
push 0
push 0
mov ecx, esi
call fcn.004d750b
push 1
push 0
push 1
mov ecx, esi
call fcn.004d750b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004daf4c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x482010
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e5618
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004daeda
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00481830
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004dae08
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x4e9620]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4820d4
cmp dword [esp + 0x40], 1
jne 0x4820d2
cmp ecx, eax
jge 0x4820d4
mov eax, ecx
cmp eax, 0xc8
jge 0x4820e0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00481e90
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x4e961c]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004daf4c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x482850
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e5683
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d5872
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x5329c8
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x52eef8
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x4e90b0]
push eax
mov ecx, edi
call fcn.004db182
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004dce2e
test eax, eax
je 0x48296c
mov ecx, dword [esp + 0x3c]
call fcn.004db1af
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4e9640]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x482930
push edi
mov ecx, esi
call fcn.004d86e2
mov ecx, esi
call fcn.00482ad0
cmp dword [esp + 0x38], 1
jne 0x482965
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004d884c
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x485380
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4853b3
push esi
call fcn.00488490
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4853ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x485439
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x485422
mov eax, dword [esi + 8]
test eax, eax
je 0x4853d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x48541e
cmp eax, 2
je 0x485422
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4853ca
cmp eax, 3
je 0x4853fd
cmp eax, 1
jne 0x4853ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4853ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4853ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00485460
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x485448
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00485460
add esp, 4
pop esi
ret
Function at 0x4933d7
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e5c86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x14]
call fcn.004d2e89
mov eax, dword [0x556508]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x48], eax
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp ebx, edi
mov byte [esp + 0x18], 1
mov dword [esi], 0x52fadc
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
je 0x493434
push ebx
call dword [0x4e937c]
inc eax
push eax
call fcn.004d3fa7
add esp, 4
mov dword [esi + 4], eax
push ebx
push eax
call dword [0x4e9354]
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x49e684
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x49e83d
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x90]
cmp eax, ebp
je 0x49e7b6
mov ecx, dword [esi + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 4
cmp eax, ecx
jae 0x49e7b6
xor ebx, ebx
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x49e79d
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x49e79d
mov eax, ecx
mov ecx, esi
mov edi, dword [eax + ebx*4]
push edi
call fcn.0049f8f0
mov ebp, eax
test ebp, ebp
je 0x49e795
push ebp
mov ecx, esi
call fcn.004a0ce0
test eax, eax
je 0x49e795
mov edx, dword [esi + 0x74]
cmp edi, edx
je 0x49e795
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x90]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x49e756
xor eax, eax
jmp 0x49e75e
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
xor ecx, ecx
cmp ebx, eax
lea eax, [edi + 1]
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, edx
sete cl
dec edi
mov dword [esp + 0x30], ecx
xor eax, eax
cmp edi, edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
sete al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.004a1680
inc ebx
xor ebp, ebp
jmp 0x49e6e7
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x49e6c0
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
call fcn.0049fc00
test eax, eax
pop ebx
je 0x49e83d
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
call fcn.0049f8f0
mov edi, eax
cmp edi, ebp
je 0x49e83d
push edi
mov ecx, esi
call fcn.004a0ce0
test eax, eax
je 0x49e83d
mov eax, 1
lea edx, [esi + 0x1f8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], edx
call fcn.0049fe40
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.0049feb0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push eax
call fcn.004a1680
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x4a8c50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4e6f87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x530afc
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.004d220d
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.004d220d
mov edi, dword [0x4e95d8]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], 0x530ae8
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [0x4e94c4]
lea ecx, [esp + 0xb0]
push ecx
call dword [0x4e90a8]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.004a9770
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x4b83b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e7c50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004b7f60
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004b7fe0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004b7fe0
lea ecx, [esi + 0xc]
call fcn.004d41f1
lea ecx, [esi + 0x10]
call fcn.004d41f1
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004b9570
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004b9570
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004b9570
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004d4266
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d4266
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x47aa450
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x437a000]
push edi
jmp 0x47aa46a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47aa471
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47aa460
mov eax, 1
add ebx, ebx
jne 0x47aa483
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47aa494
jne 0x47aa4b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47aa4b3
dec eax
add ebx, ebx
jne 0x47aa4a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x47aa478
add ebx, ebx
jne 0x47aa4af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x47aa505
xor ecx, ecx
sub eax, 3
jb 0x47aa4cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47aa53a
sar eax, 1
mov ebp, eax
jmp 0x47aa4d6
add ebx, ebx
jne 0x47aa4d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47aa4a4
inc ecx
add ebx, ebx
jne 0x47aa4e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47aa4a4
add ebx, ebx
jne 0x47aa4f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47aa4e6
jne 0x47aa502
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47aa4e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47aa524
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47aa516
jmp 0x47aa466
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47aa524
add edi, ecx
jmp 0x47aa466
pop esi
mov edi, esi
mov ecx, 0x50b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47aa542
cmp byte [edi], 0x28
jne 0x47aa542
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 0x47aa547
lea edi, [esi + 0x43a8000]
mov eax, dword [edi]
or eax, eax
je 0x47aa5b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x43ae264]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x43ae28c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47aa574
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x43ae294]
or eax, eax
je 0x47aa5b0
mov dword [ebx], eax
add ebx, 4
jmp 0x47aa591
call dword [esi + 0x43ae290]
mov ebp, dword [esi + 0x43ae298]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x47aa5ea
sub esp, 0xffffff80
jmp 0x406a8c
Function at 0x12a5520
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd07000]
push edi
or ebp, 0xffffffff
jmp 0x12a5542
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x12a5549
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x12a5538
mov eax, 1
add ebx, ebx
jne 0x12a555b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x12a556c
jne 0x12a558b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x12a558b
dec eax
add ebx, ebx
jne 0x12a5578
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x12a5550
add ebx, ebx
jne 0x12a5587
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x12a55dd
xor ecx, ecx
sub eax, 3
jb 0x12a55a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x12a5612
sar eax, 1
mov ebp, eax
jmp 0x12a55ae
add ebx, ebx
jne 0x12a55ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x12a557c
inc ecx
add ebx, ebx
jne 0x12a55bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x12a557c
add ebx, ebx
jne 0x12a55c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x12a55be
jne 0x12a55da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x12a55be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x12a55fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x12a55ee
jmp 0x12a553e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x12a55fc
add edi, ecx
jmp 0x12a553e
pop esi
mov edi, esi
mov ecx, 0xcd9d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x12a561a
cmp byte [edi], 0x21
jne 0x12a561a
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 0x12a561f
lea edi, [esi + 0xea1000]
mov eax, dword [edi]
or eax, eax
je 0x12a568e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xea86a8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xea87e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x12a564c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xea87ec]
or eax, eax
je 0x12a5688
mov dword [ebx], eax
add ebx, 4
jmp 0x12a5669
call dword [esi + 0xea87fc]
mov ebp, dword [esi + 0xea87f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x12a56c2
sub esp, 0xffffff80
jmp 0x5bdc88
Function at 0x42711d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43189c], 0
push esi
jne 0x427154
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x42712e
mov dword [ecx*4 + 0x431898], eax
inc ecx
cmp ecx, 0x100
jl 0x427129
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x427185
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431898]
xor eax, esi
inc ecx
dec edx
jne 0x427167
pop edi
not eax
pop esi
ret 0xc
Function at 0x403050
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x403061
jmp dword [eax*4 + 0x4046a8]
cmp dword [0x407180], 0
je 0x40315a
push 0x407184
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x40719c]
test edi, edi
je 0x40314f
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4030ab
mov edi, dword [edi + 8]
test edi, edi
je 0x40314f
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x4030a0
test esi, esi
je 0x4030a0
mov eax, dword [edi + 4]
push esi
call eax
add esp, 4
jmp 0x4030a0
call fcn.00402800
jmp case.default.0x403061
cmp dword [0x407180], 0
je case.default.0x403061
push 0x407184
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x40719c]
test edi, edi
je 0x403142
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x403107
mov edi, dword [edi + 8]
test edi, edi
je 0x403142
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x403100
test esi, esi
je 0x403100
mov eax, dword [edi + 4]
push esi
call eax
add esp, 4
jmp 0x403100
cmp dword [0x407180], 0
jne 0x403136
push 0x407184
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x407180], 1
jmp case.default.0x403061
push 0x407184
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.default.0x403061
push 0x407184
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x407180]
cmp eax, 1
jne case.default.0x403061
mov eax, dword [0x40719c]
test eax, eax
je 0x403182
nop dword [eax]
mov esi, dword [eax + 8]
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov eax, esi
test esi, esi
jne 0x403170
mov dword [0x40719c], 0
mov dword [0x407180], 0
push 0x407184
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4032b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push edi
push esi
mov esi, dword [0x404004]
movzx ecx, word [esi]
xor eax, eax
cmp ecx, 0x5a4d
jne 0x403316
mov ecx, dword [esi + 0x3c]
cmp dword [esi + ecx], 0x4550
jne 0x403316
add esi, ecx
movzx ecx, word [esi + 0x18]
cmp ecx, 0x10b
jne 0x403316
movzx ecx, word [esi + 6]
test ecx, ecx
je 0x403316
mov edx, dword [esp + 0xc]
sub edx, dword [0x404004]
movzx edi, word [esi + 0x14]
add esi, edi
add esi, 0x18
jmp 0x403306
add esi, 0x28
dec ecx
je 0x403316
mov edi, dword [esi + 0xc]
cmp edi, edx
ja 0x403300
add edi, dword [esi + 8]
cmp edi, edx
jbe 0x403300
mov eax, esi
pop esi
pop edi
ret
Function at 0x10001190
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
test eax, eax
je 0x10001240
mov ebx, eax
mov edi, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
mov edx, eax
sub esp, 0x18
lea ecx, [edx + edx]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x10]
sub esp, 0xc
mov esi, eax
mov dword [esp + 8], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
mov eax, esi
sub esp, 0x18
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
xor esi, esi
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x10001490
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
push ebx
sub esp, 0x2c
mov dword [ebp - 0x24], ecx
mov esi, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
test eax, eax
jne 0x100014d0
test byte [0x10003178], 8
jne 0x10001550
xor edx, edx
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
lea ecx, [ebp - 0x20]
mov dword [esp + 8], 0x14
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextA]
sub esp, 0xc
test eax, eax
je 0x10001584
mov eax, dword [ebp - 0x24]
xor ebx, ebx
mov eax, dword [eax]
test eax, eax
jne 0x1000150a
jmp 0x100014c2
mov eax, dword [ebp - 0x24]
add ebx, 1
cmp ebx, dword [eax]
jae 0x100014c2
lea eax, [ebp - 0x20]
lea edi, [ebx*8]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov eax, dword [eax + edi + 4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpA]
sub esp, 8
test eax, eax
jne 0x10001500
mov eax, dword [esi]
mov edx, dword [eax + edi]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
lea esp, [ebp - 0xc]
mov edx, 1
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Couldnt_get_window_handle_for_item__lx_n
mov dword [esp + 8], str.SERIALUI_GetConfItems
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
lea esp, [ebp - 0xc]
xor edx, edx
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
test byte [0x10003178], 8
je 0x100014c2
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Couldnt_get_window_text_for_item__lx_n
mov dword [esp + 8], str.SERIALUI_GetConfItems
mov dword [esp + 4], global___dbch
mov dword [esp], 3
mov dword [ebp - 0x24], eax
call sym._wine_dbg_log.constprop.6
mov edx, dword [ebp - 0x24]
jmp 0x100014c4