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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591418
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x48a9d3
cmp byte [ebx + 0x3d], 0
je 0x48a9d3
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x48a8c4
xor al, al
jmp 0x48a9d5
mov ecx, 0xf
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 8
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
nop
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x48a949
sub eax, 1
je 0x48a94d
sub eax, 2
je 0x48a99f
xor bl, bl
jmp 0x48a9a1
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x48a985
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0055bd63
add esp, 0x10
cmp esi, eax
jne 0x48a945
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x48a99f
test esi, esi
jne 0x48a910
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00411930
jmp 0x48a909
mov bl, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x48a9bd
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040b090
mov dword [ebp - 0x14], 0xf
mov al, bl
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jmp 0x48a9d5
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret
Function at 0x48aa00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591418
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x48ab73
cmp byte [ebx + 0x3e], 0
je 0x48ab73
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
jne 0x48aa5f
xor al, al
jmp 0x48ab75
mov ecx, 0xf
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 8
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
nop word [eax + eax]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x48aae9
sub eax, 1
je 0x48aaed
sub eax, 2
je 0x48ab3f
xor bl, bl
jmp 0x48ab41
mov byte [ebx + 0x3e], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x48ab25
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0055bd63
add esp, 0x10
cmp esi, eax
jne 0x48aae5
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3e], 0
je 0x48ab3f
test esi, esi
jne 0x48aab0
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00411930
jmp 0x48aaa4
mov bl, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x48ab5d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040b090
mov dword [ebp - 0x14], 0xf
mov al, bl
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jmp 0x48ab75
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret

Function at 0x48ae00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov ebx, ecx
mov edi, dword [edx + 0x10]
jb 0x48ae16
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x48ae32
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x48ae21
mov eax, dword [ebx + 0x18]
pop edi
and eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x48ae40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, dword [eax]
movzx eax, cl
xor eax, 0x811c9dc5
mov dword [ebp + 8], ecx
imul edx, eax, 0x1000193
movzx eax, ch
xor edx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [esi + 0x18]
imul ecx, ecx, 0x1000193
pop esi
and eax, ecx
pop ebp
ret 4

Function at 0x48ded0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591418
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
jne 0x48df0b
xor al, al
jmp 0x48e036
cmp dword [esi + 0x14], 0x10
jb 0x48df15
mov eax, dword [esi]
jmp 0x48df17
mov eax, esi
test eax, eax
je 0x48df35
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x48df35
shr eax, 4
and al, 1
je 0x48df35
mov al, 1
jmp 0x48e036
or edi, 0xffffffff
cmp dword [esi + 0x14], 0x10
jb 0x48df40
mov esi, dword [esi]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
push dword [0x6083e0]
mov dword [ebp - 0x2c], 0
push esi
call fcn.0055fb9b
mov edx, eax
add esp, 0xc
test edx, edx
je 0x48e000
cmp byte [edx], 0
jne 0x48df90
xor ecx, ecx
jmp 0x48df9e
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48df95
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040a9c0
mov edx, dword [0x6083e0]
cmp byte [edx], 0
jne 0x48dfb7
xor ecx, ecx
jmp 0x48dfc9
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48dfc0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040a9c0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00560a8f
mov edi, eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x6083e0]
push 0
call fcn.0055fb9b
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x48df87
mov dword [ebp - 4], 0xffffffff
cmp edi, 0xffffffff
mov eax, dword [ebp - 0x14]
setne bl
cmp eax, 0x10
jb 0x48e022
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040b090
mov dword [ebp - 0x14], 0xf
mov al, bl
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret
Function at 0x48f0d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0x10
push ebx
mov ebx, dword [eax + 0x18]
push esi
lea esi, [eax + 8]
mov dword [ebp - 4], ecx
push edi
jb 0x48f0eb
mov esi, dword [esi]
xor edx, edx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x48f107
movzx ecx, byte [esi + edx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, ebx
jb 0x48f0f6
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x18]
and ecx, edi
lea esi, [ecx*8]
mov ecx, dword [edx + 0xc]
add ecx, esi
cmp dword [ecx + 4], eax
jne 0x48f13d
cmp dword [ecx], eax
jne 0x48f135
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [ecx + esi + 4], eax
jmp 0x48f145
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x48f145
cmp dword [ecx], eax
jne 0x48f148
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ecx, [edx + 4]
push eax
push esi
call fcn.0048f5a0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x48f160
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x48f17b
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x48f197
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x48f186
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x48f1cd
cmp dword [ecx], edi
jne 0x48f1c5
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [ecx + esi + 4], eax
jmp 0x48f1d5
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x48f1d5
cmp dword [ecx], edi
jne 0x48f1d8
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [edx + 8]
call fcn.0042d220
push edi
call fcn.0045df10
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x48f210
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x48f22b
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x48f247
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x48f236
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x48f27d
cmp dword [ecx], edi
jne 0x48f275
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [ecx + esi + 4], eax
jmp 0x48f285
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x48f285
cmp dword [ecx], edi
jne 0x48f288
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [edx + 8]
call fcn.00486fc0
push edi
call fcn.0045df10
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x48f2c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, dword [eax + 8]
movzx edx, cl
xor edx, 0x811c9dc5
mov dword [ebp - 4], ecx
imul esi, edx, 0x1000193
movzx edx, ch
movzx ecx, byte [ebp - 2]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [ebp - 1]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
mov ecx, dword [edi + 0xc]
cmp dword [ecx + edx*8 + 4], eax
lea ecx, [ecx + edx*8]
jne 0x48f331
cmp dword [ecx], eax
jne 0x48f329
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 4]
mov dword [ecx + edx*8 + 4], eax
jmp 0x48f339
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x48f339
cmp dword [ecx], eax
jne 0x48f33c
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ecx, [edi + 4]
push eax
push esi
call fcn.0048f640
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x48f360
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, dword [eax + 8]
movzx edx, cl
xor edx, 0x811c9dc5
mov dword [ebp - 4], ecx
imul esi, edx, 0x1000193
movzx edx, ch
movzx ecx, byte [ebp - 2]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [ebp - 1]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
mov ecx, dword [edi + 0xc]
cmp dword [ecx + edx*8 + 4], eax
lea ecx, [ecx + edx*8]
jne 0x48f3d1
cmp dword [ecx], eax
jne 0x48f3c9
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 4]
mov dword [ecx + edx*8 + 4], eax
jmp 0x48f3d9
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x48f3d9
cmp dword [ecx], eax
jne 0x48f3dc
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ecx, [edi + 4]
push eax
push esi
call fcn.0048f6f0
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x48f400
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59150b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x60940c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 8]
movzx eax, cl
xor eax, 0x811c9dc5
mov dword [ebp - 0x10], ecx
imul edx, eax, 0x1000193
movzx eax, ch
xor edx, eax
movzx eax, byte [ebp - 0xe]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0xd]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x48f495
cmp dword [ecx], edi
jne 0x48f48d
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x48f49d
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x48f49d
cmp dword [ecx], edi
jne 0x48f4a0
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [ebx + 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
add ecx, 4
call fcn.004874f0
push edi
call fcn.0045df10
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x48f4f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 8]
movzx eax, cl
xor eax, 0x811c9dc5
mov dword [ebp - 4], ecx
imul edx, eax, 0x1000193
movzx eax, ch
xor edx, eax
movzx eax, byte [ebp - 2]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 1]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x48f566
cmp dword [ecx], edi
jne 0x48f55e
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x48f56e
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x48f56e
cmp dword [ecx], edi
jne 0x48f571
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.0045df10
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x490020
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e9f9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x60940c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x32
push 0x610dfc
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4900c8
mov ecx, 0x59a95e
mov eax, 0x610dfc
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x490090
test dl, dl
je 0x49008c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x490090
add eax, 2
add ecx, 2
test dl, dl
jne 0x490070
xor eax, eax
jmp 0x490095
sbb eax, eax
or eax, 1
test eax, eax
je 0x4900c8
mov ecx, dword [ebp + 8]
push 0x610dfc
call fcn.0040c7d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [edx], 0
jne 0x4900e8
xor ecx, ecx
jmp 0x4900f9
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4900f0
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.0040ac20
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x491710
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ebx, dword [eax]
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp + 0xc], ebx
imul edx, eax, 0x1000193
movzx eax, bh
push edi
xor edx, eax
movzx eax, byte [ebp + 0xe]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
movzx eax, byte [ebp + 0xf]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov edi, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp edi, esi
jne 0x49176f
mov ecx, esi
jmp 0x491774
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x491792
cmp ebx, dword [eax + 8]
je 0x491781
mov eax, dword [eax]
jmp 0x491767
mov ecx, dword [ebp + 8]
cmovne eax, esi
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x498250
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592496
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x60940c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
test edi, edi
je 0x4983ff
push 0x100
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov dword [ebp - method.el::base::Writer.virtual_0], vtable.el::base::Writer.0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0x80
mov dword [ebp - 0x26c], str.D:jenkinsworkspacemicroclient_buildcommonWindowUtils.cpp
mov dword [ebp - 0x268], 0x33
mov dword [ebp - 0x264], str.void___cdecl_WindowUtils::BringToForegroundByHwnd_struct_HWND____
mov word [ebp - 0x260], ax
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], al
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], 0x59aeec
mov dword [ebp - 0x24c], 2
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x278]
push dword [0x608528]
push 1
push eax
call fcn.0048d730
mov esi, eax
add esp, 0xc
cmp byte [esi + 0x20], 0
je 0x49839b
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push str.Bring_to_front_by_Window_Name:
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
mov eax, dword [0x610e4c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x498386
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
cmp byte [esi + 0x20], 0
je 0x49839b
lea eax, [ebp - 0x210]
push eax
lea ecx, [esi + 0x24]
call fcn.00488330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.0040e200
lea eax, [ebp - 0x23c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowPlacement]
cmp dword [ebp - 0x234], 2
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x4983cf
push 9
push edi
call esi
push 5
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x43
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
call esi
push 0x43
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b33d
mov esp, ebp
pop ebp
ret

Function at 0x498420
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x498460
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_EnumWindows]
push dword [ebp - 4]
call fcn.00498250
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x4986b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret