joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10086c16
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10086f26
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, dword [0x10155254]
add edi, 0x20f3
mov dword [0x10155254], edi
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x10155258], 0x1487
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10086d57
jmp 0x10086cbd
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
jmp 0x10086cd1
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x10155254], 0x954
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
jmp 0x10086d57
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
jmp 0x10086c77
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x10086d22
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x10086cd1
mov al, byte [ebp - 0x42]
test al, 1
jne 0x10086c93
jmp 0x10086d2f
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp - 0x30]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
jb 0x10086c77
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10086d62
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x10155258]
add edx, 0xffffd94f
mov dword [0x10155254], edx
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ecx
jmp 0x10086dbd
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10086e75
jmp 0x10086e96
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov edx, ecx
add edx, 0xffffe3e9
mov esi, dword [ebp - 0x18]
cmp word [esi + eax*2], 0
mov edi, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edi
je 0x10086e01
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, dword [ebp - 0x2c]
mov edx, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x30], eax
jl 0x10086dbd
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [0x10155254], ecx
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x10086e96
mov dword [0x10155258], 0x7a0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10086e96
mov eax, dword [ebp - 0x28]
add eax, 0xffffe7d7
mov dword [0x10155254], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10086e96
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10086e96
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10086da5
jmp 0x10086e96
mov eax, 1
mov dword [0x10155254], 0xb63
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x34], eax
je 0x10086e9d
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x10086e9d
mov eax, dword [ebp - 0x34]
add esp, 0x2c
pop esi
pop edi
pop ebp
ret
Function at 0x100870e2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1015525c], 0
mov dword [0x10155260], 0
mov dword [0x1015526c], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1008723f
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x10155254], 0x581
mov edi, ecx
add edi, 1
add edx, 1
mov dword [ebp - 0x2c], eax
mov eax, edx
cdq
idiv esi
mov dword [0x1015525c], edx
mov dword [0x10155258], 0x20ec
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10155260], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10155264], cl
mov dword [0x10155258], 0x1c17
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10155264]
mov edx, dword [0x10155260]
mov byte [ebx + edx], cl
mov edx, dword [0x1015525c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10155260]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1015526c], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x10155258], 0x2239
mov edx, dword [0x10155254]
add edx, 0x97e
mov dword [0x10155254], edx
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x1008723f
mov eax, dword [0x1015525c]
mov ecx, dword [0x10155260]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x1008713b
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10087247
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x10155254], 0x895
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.100866ca
lea ecx, [0x10086401]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], 0x13d200
mov edx, dword [0x10155240]
mov dword [esp + 0x70], edx
mov edx, dword [0x10155244]
mov dword [esp + 0x34], edx
mov edx, dword [0x10155248]
mov dword [esp + 0x78], edx
mov edx, dword [0x1015524c]
mov dword [esp + 0x7c], edx
mov edx, dword [0x10155250]
mov dword [esp + 0x80], edx
mov dword [0x10155258], 0x1d3f
mov dword [0x10155254], 0x2324
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x1008730b
jmp 0x100872f7
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x100872de
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
jne 0x100872f7
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov dword [0x10155254], 0x4417
mov dword [0x10155258], 0x94b
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x44], edx
call fcn.10086d62
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x100872ef
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100862ce
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0xc], eax
jmp 0x100872ef

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4011f0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4800f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x1d]
call fcn.00422500
mov al, byte [esp + 0x30]
xor ebx, ebx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 8]
mov dword [esp + 0x28], ebx
push ecx
mov ecx, esi
mov dword [esp + 0xc], 0x4c5948
call fcn.0044f4d6
mov dl, byte [esp + 0x10]
lea ecx, [esi + 0xc]
mov byte [esp + 0x28], 1
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x4876b4]
lea edx, [esp + 0x10]
push eax
push ebx
push edx
call fcn.004013d0
mov eax, dword [esp + 0x14]
mov dword [esi], vtable.std::runtime_error.0
cmp eax, ebx
je 0x401299
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x401290
cmp al, 0xff
je 0x401290
dec al
mov byte [ecx], al
jmp 0x401299
push ecx
call fcn.00465d8b
add esp, 4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x20], eax
mov dword [esi], vtable.TRawIStream::TReadFailure.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x4012c0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x480110
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x1d]
call fcn.00422500
mov al, byte [esp + 0x30]
xor ebx, ebx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 8]
mov dword [esp + 0x28], ebx
push ecx
mov ecx, esi
mov dword [esp + 0xc], 0x4c5948
call fcn.0044f4d6
mov dl, byte [esp + 0x10]
lea ecx, [esi + 0xc]
mov byte [esp + 0x28], 1
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x4876b4]
lea edx, [esp + 0x10]
push eax
push ebx
push edx
call fcn.004013d0
mov eax, dword [esp + 0x14]
mov dword [esi], vtable.std::runtime_error.0
cmp eax, ebx
je 0x401369
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x401360
cmp al, 0xff
je 0x401360
dec al
mov byte [ecx], al
jmp 0x401369
push ecx
call fcn.00465d8b
add esp, 4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x20], eax
mov dword [esi], vtable.TRawOStream::TWriteFailure.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x408210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov byte [esp + 0x13], 0
xor esi, esi
push esi
mov ecx, ebp
call fcn.0040b210
test al, al
je 0x408240
mov eax, esi
mov ecx, esi
shr eax, 3
and ecx, 7
mov dl, 1
lea eax, [esp + eax + 0x13]
shl dl, cl
or byte [eax], dl
inc esi
cmp esi, 5
jb 0x408220
mov ebx, dword [esp + 0x74]
lea eax, [esp + 0x13]
push eax
mov ecx, ebx
call fcn.00416e10
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x24], ecx
lea edi, [ebp + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov word [esp + 0x34], cx
mov byte [esp + 0x36], cl
push esi
mov ecx, edi
call fcn.0040f950
test al, al
je 0x408296
mov edx, esi
mov ecx, esi
shr edx, 3
and ecx, 7
lea eax, [esp + edx + 0x24]
mov dl, 1
shl dl, cl
or byte [eax], dl
inc esi
cmp esi, 0x91
jb 0x408276
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.00410630
cmp dword [esp + 0x78], 2
jl 0x40830d
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x24], ecx
lea edi, [ebp + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov word [esp + 0x34], cx
push esi
mov ecx, edi
call fcn.00403170
test al, al
je 0x4082ee
mov edx, esi
mov ecx, esi
shr edx, 3
and ecx, 7
lea eax, [esp + edx + 0x24]
mov dl, 1
shl dl, cl
or byte [eax], dl
inc esi
cmp esi, 0x90
jb 0x4082ce
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.00410670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 8
lea eax, [esp + 0x48]
mov ecx, 5
mov dword [eax], 0
sub eax, 4
dec ecx
jne 0x408316
lea ecx, [esp + 0x38]
lea eax, [ebp + 0x18]
xor edx, edx
xor edi, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
xor esi, esi
mov ebp, ecx
mov ebx, eax
cmp ebx, dword [esp + 0x14]
jne 0x408349
cmp esi, 0x81
je 0x408385
cmp esi, 0x90
jb 0x408358
mov ecx, ebx
call fcn.004031b0
mov ecx, esi
mov edx, 1
and ecx, 0x1f
mov eax, esi
shl edx, cl
shr eax, 5
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edi
test dword [ebx + eax*4], edx
setne cl
push ecx
lea ecx, [esp + 0x20]
call fcn.0040f5e0
inc edi
inc esi
jmp 0x40833b
xor edx, edx
xor esi, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov byte [esp + 0x34], dl
push esi
lea ecx, [esp + 0x3c]
call fcn.0040fa40
test al, al
je 0x4083bf
mov eax, esi
mov ecx, esi
shr eax, 3
and ecx, 7
mov dl, 1
lea eax, [esp + eax + 0x24]
shl dl, cl
or byte [eax], dl
inc esi
cmp esi, 0x81
jb 0x40839d
mov eax, dword [esp + 0x74]
push 0x11
mov ecx, dword [eax]
lea eax, [esp + 0x28]
push eax
mov edx, dword [ecx]
call dword [edx + 0x1c]
cmp eax, 0x11
jae 0x408303
push eax
lea ecx, [esp + 0x50]
call fcn.004012c0
lea ecx, [esp + 0x4c]
push 0x4986e8
push ecx
call fcn.0044f5c5
nop
nop
nop
nop
Function at 0x408c80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x480a64
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
sub esp, 8
xor ebx, ebx
mov eax, esp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esp
mov byte [eax], bl
mov dword [eax + 4], ebx
call fcn.0040e920
mov al, byte [esp + 0x24]
mov edi, dword [esp + 0x24]
mov byte [esi + 4], al
cmp edi, ebx
mov dword [esp + 0x1c], ebx
mov eax, edi
jge 0x408ccd
xor eax, eax
push eax
call fcn.00465d62
add esp, 4
cmp edi, ebx
mov dword [esi + 8], eax
jbe 0x408ce9
mov ecx, edi
cmp eax, ebx
je 0x408ce5
mov byte [eax], bl
inc eax
dec ecx
jne 0x408cdf
mov ecx, dword [esi + 8]
lea eax, [edi + ecx]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dl, byte [esp + 0x24]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 1
mov byte [esi + 0x1c], dl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
mov byte [esi + 0x34], bl
mov dword [esi + 0x38], ebx
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 4
call fcn.00407e50
mov ecx, dword [esp + 0x14]
mov byte [esi + 0x68], bl
mov dword [esi + 0x6c], ebx
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 4

Function at 0x410b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x481533
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov cl, byte [esp + 0x2c]
mov edx, dword [esp + 0x30]
sub esp, 8
mov dword [esp + 0x24], 0
mov eax, esp
mov dword [esp + 0x14], esp
mov byte [esp + 0x34], 0
mov byte [eax], cl
mov dword [eax + 4], edx
mov eax, dword [esp + 0x30]
mov ecx, esi
push eax
call fcn.00410aa0
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
push ecx
mov ecx, esi
call fcn.00410c40
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 4]
push edx
mov edx, dword [esp + 0x28]
lea edi, [esi + 0x10]
push ecx
push eax
push edx
mov ecx, edi
mov byte [esp + 0x2c], 2
call fcn.0040a170
mov al, byte [esp + 0xc]
mov byte [esp + 0x1c], 4
test al, al
je 0x410b9d
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x410b9d
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x14]
mov dword [edi], vtable.TGzDeflatedScenarioMap.1.0
mov dword [esi], vtable.TGzDeflatedScenarioMap.0
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret 0x18
Function at 0x416830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x481e34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], ebx
test ebx, ebx
mov dword [esp + 0x10], 0
je 0x41694d
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
mov al, byte [ebp]
push 0
mov ecx, ebx
mov byte [ebx], al
call fcn.004015d0
mov ecx, dword [0x4876b4]
push ecx
push 0
push ebp
mov ecx, ebx
call fcn.004013d0
mov edx, dword [ebp + 0x10]
mov byte [esp + 0x1c], 1
mov dword [ebx + 0x10], edx
mov al, byte [ebp + 0x14]
mov byte [ebx + 0x14], al
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x4168a1
xor eax, eax
jmp 0x4168a6
mov eax, dword [ebp + 0x1c]
sub eax, ecx
test eax, eax
jge 0x4168ac
xor eax, eax
push eax
call fcn.00465d62
mov dword [ebx + 0x18], eax
mov edi, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
add esp, 4
cmp ecx, edi
mov esi, ecx
je 0x4168d2
test eax, eax
je 0x4168cc
mov cl, byte [esi]
mov byte [eax], cl
inc eax
inc esi
cmp esi, edi
jne 0x4168c4
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov edx, dword [ebp + 0x24]
lea edi, [ebp + 0x2c]
mov dword [ebx + 0x24], edx
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x28], eax
mov cl, byte [edi]
lea esi, [ebx + 0x2c]
push 0
mov byte [esp + 0x20], 2
mov byte [esi], cl
mov ecx, esi
call fcn.004015d0
mov edx, dword [0x4876b4]
mov ecx, esi
push edx
push 0
push edi
call fcn.004013d0
mov al, byte [ebp + 0x3c]
lea esi, [ebp + 0x4c]
mov byte [ebx + 0x3c], al
mov ecx, dword [ebp + 0x40]
mov byte [ebp + 0x3c], 0
mov dword [ebx + 0x40], ecx
mov dl, byte [ebp + 0x44]
lea edi, [ebx + 0x4c]
mov byte [ebx + 0x44], dl
mov eax, dword [ebp + 0x48]
mov byte [ebp + 0x44], 0
mov ecx, 0xb
mov dword [ebx + 0x48], eax
rep movsd dword es:[edi], dword [esi]
mov cl, byte [ebp + 0x78]
pop edi
mov byte [ebx + 0x78], cl
mov edx, dword [ebp + 0x7c]
mov byte [ebp + 0x78], 0
pop esi
mov dword [ebx + 0x7c], edx
pop ebp
mov ecx, dword [esp + 8]
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41a070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
call dword [eax]
lea ecx, [esp + 0x20]
push 4
xor ebp, ebp
push ecx
push ebp
mov ecx, edi
mov esi, eax
mov dword [esp + 0x2c], 0x1c
call fcn.004686ea
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x20]
push 4
push eax
push 1
mov ecx, edi
mov dword [esp + 0x24], edx
call fcn.004686ea
mov ecx, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov ecx, esi
mov dword [esp + 0x14], ebx
call fcn.00407db0
mov edx, dword [0x4a9498]
shl eax, 4
add eax, edx
cmp dword [eax + 8], ebp
jbe 0x41a1a1
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x40], ebp
mov ecx, esi
call fcn.00407db0
mov ecx, dword [0x4a9498]
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x40]
add edx, eax
mov eax, dword [ebx]
mov ebp, dword [edx + 4]
sub eax, ebp
mov ebp, dword [edx + 8]
mov edx, dword [ebx + 4]
add eax, ecx
mov ecx, dword [esp + 0x1c]
sub ecx, ebp
mov ebp, dword [esp + 0x10]
add ecx, edx
mov edx, dword [edi + 0x78]
test eax, eax
mov edx, dword [edx + ebp + 4]
jl 0x41a14a
cmp eax, dword [edx + 0x24]
jge 0x41a14a
test ecx, ecx
jl 0x41a14a
cmp ecx, dword [edx + 0x28]
jge 0x41a14a
mov ebp, dword [edx + 0x2c]
imul ebp, ecx
add ebp, dword [edx + 0x30]
cmp byte [eax + ebp], 0xa
jae 0x41a193
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
inc ebp
add eax, 0x6c
add edx, 0xc0
mov ecx, esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x10], edx
call fcn.00407db0
mov edx, dword [0x4a9498]
shl eax, 4
add eax, edx
cmp ebp, dword [eax + 8]
jb 0x41a0e8
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x2c
ret 4
Function at 0x425270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4831e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], vtable.TGzDeflateBuf.0
mov edx, dword [esi + 0x74]
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x3c]
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0x1c], 0
mov dword [edi], edx
mov eax, dword [eax]
sub eax, edx
push eax
mov dword [esi + 0x40], eax
call fcn.0043fd00
mov dword [esi + 0x7c], eax
mov ebx, 0x200
mov edx, 4
mov ecx, edi
call fcn.0043ecd0
test eax, eax
je 0x4252d6
cmp eax, 0xfffffffb
jne 0x4252f5
mov ebp, dword [esi + 0x4c]
mov ecx, dword [esi + 0x38]
mov eax, ebx
mov edx, dword [ecx]
sub eax, ebp
push eax
mov eax, dword [esi + 0x78]
push eax
call dword [edx + 0x1c]
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ecx
jmp 0x4252c1
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x78]
mov eax, ebx
sub eax, ecx
mov ecx, dword [esi + 0x38]
push eax
push edx
mov ebx, dword [ecx]
call dword [ebx + 0x1c]
mov edx, dword [esi + 0x7c]
mov ecx, esi
push edx
call fcn.004253a0
mov eax, dword [esi + 0x44]
mov ecx, esi
push eax
call fcn.004253a0
mov ecx, edi
call fcn.0043f020
mov eax, dword [esi + 0x74]
push eax
call fcn.00465d8b
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov esi, dword [esi + 0x34]
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
test esi, esi
je 0x425380
lea ecx, [esp + 0x10]
call fcn.0044c985
mov eax, dword [esi + 4]
test eax, eax
jbe 0x425360
cmp eax, 0xffffffff
jae 0x425360
dec eax
mov dword [esi + 4], eax
mov edi, dword [esi + 4]
lea ecx, [esp + 0x10]
neg edi
sbb edi, edi
not edi
and edi, esi
call fcn.0044ca21
test edi, edi
je 0x425380
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret