joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481220
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x50bd5b
mov eax, dword fs:[0]
push eax
mov eax, 0x1134
call fcn.004d88e0
mov eax, dword [0x5415a0]
xor eax, esp
mov dword [esp + 0x1130], eax
push ebp
push esi
mov eax, dword [0x5415a0]
xor eax, esp
push eax
lea eax, [esp + 0x1140]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1158]
mov ebp, dword [esp + 0x1150]
mov esi, ecx
xor ecx, ecx
push 0xffe
push ecx
lea edx, [esp + 0x146]
push edx
mov dword [esp + 0x1c], eax
mov dword [ebx], 0
mov word [esp + 0x148], cx
call fcn.004d4670
mov edx, dword [esi]
add esp, 0xc
push 0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x144]
push ecx
push 0x21
push edx
mov dword [esp + 0x20], 0x1000
call dword [0x54669c]
test eax, eax
jne 0x4812c8
mov dword [ebx], 5
jmp 0x48140c
mov eax, dword [esp + 0xc]
mov edx, dword [esi]
shr eax, 1
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x140], cx
call dword [0x5466a8]
lea ecx, [esp + 0x18]
call fcn.004392f0
mov dword [esp + 0x1148], 0
cmp byte [edi + 0x11c], 0
lea eax, [edi + 0xc]
jne 0x481304
mov eax, dword [edi + 8]
add eax, 4
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x144]
call fcn.00480e60
add esp, 8
test al, al
jne 0x481359
mov dword [ebx], 7
mov dword [esp + 0x18], 0x52af58
cmp byte [esp + 0x134], al
jne 0x48140c
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x48140c
push eax
call fcn.004cd520
add esp, 4
jmp 0x48140c
cmp byte [esp + 0x134], 0
lea eax, [esp + 0x24]
jne 0x48136b
mov eax, dword [esp + 0x20]
add eax, 4
mov edx, edi
call fcn.00439500
cmp byte [esp + 0x134], 0
lea ecx, [esp + 0x24]
jne 0x481387
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1154]
push 0
or eax, 0x200000
push eax
push 0
push 0
add ecx, 4
push ecx
push ebp
call dword [0x5466b8]
mov dword [esi], eax
test eax, eax
jne 0x4813d9
mov dword [ebx], 8
mov dword [esp + 0x18], 0x52af58
cmp byte [esp + 0x134], al
jne 0x48140c
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
cmp eax, edx
je 0x48140c
push eax
call fcn.004cd520
add esp, 4
jmp 0x48140c
mov esi, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
push 0x20000013
push eax
mov dword [esp + 0x28], 4
call dword [0x54669c]
test eax, eax
jne 0x481434
mov dword [ebx], 6
lea ecx, [esp + 0x18]
call fcn.00439450
xor al, al
mov ecx, dword [esp + 0x1140]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x1130]
xor ecx, esp
call fcn.004cd511
add esp, 0x1140
ret
mov eax, dword [esi]
cmp eax, 0xc8
je 0x481403
cmp eax, 0x12c
jb 0x481403
cmp eax, 0x190
jae 0x481403
lea ecx, [esp + 0x18]
call fcn.00439450
mov al, 1
jmp 0x48140e
Function at 0x481460
Capabilities:
Check http status code

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
push 0
mov ebx, eax
lea eax, [esp + 0x14]
push eax
push esi
mov edi, ecx
mov ecx, dword [ebp]
push 0x20000013
push ecx
mov dword [esp + 0x24], 4
call dword [0x54669c]
test eax, eax
jne 0x48149a
pop edi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
cmp dword [esi], 0xc8
jne 0x4814ab
pop edi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret
mov dword [ebx], 0
mov eax, dword [esi]
cmp eax, 0x12c
jb 0x4814f7
cmp eax, 0x190
jae 0x4814f7
mov dword [esp + 0xc], 0
lea esp, [esp]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push esi
push edx
push eax
mov ecx, ebp
call fcn.00481220
add esp, 0xc
test al, al
je 0x4814f7
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 5
mov dword [esp + 0xc], eax
jl 0x4814d0
xor eax, eax
cmp dword [ebx], eax
pop edi
pop ebp
sete al
pop ebx
add esp, 8
ret
Function at 0x481580
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x5415a0]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push 0x4c
call fcn.004cd5fd
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
jne 0x4815c6
cmp ebp, ebx
je 0x4815b2
mov dword [ebp], 0x6d
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004cd511
add esp, 0xc
ret
push edi
push 0x4c
push ebx
push esi
call fcn.004d4670
push 0x614c
push 1
mov dword [esi + 0x34], ebx
mov dword [esi + 0x14], ebx
call fcn.004d1e71
mov edi, eax
add esp, 0x14
cmp edi, ebx
jne 0x481614
cmp ebp, ebx
je 0x4815f6
mov dword [ebp], 0x6d
push esi
call fcn.004cd520
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004cd511
add esp, 0xc
ret
push 0x614c
push ebx
push edi
call fcn.004d4670
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x48], edi
mov dword [edi + 4], ebx
mov dword [edi + 0x38], ebx
mov dword [edi], 8
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0x44], ecx
mov ecx, dword [eax + 0x3c]
add esp, 0xc
cmp ecx, ebx
je 0x481659
push 6
lea edx, [esp + 0x14]
push edx
push esi
call ecx
add esp, 0xc
jmp 0x48166e
mov eax, dword [eax + 0x38]
push eax
push 6
lea ecx, [esp + 0x18]
push 1
push ecx
call fcn.004d16d1
add esp, 0x10
cmp eax, 6
je 0x481680
cmp ebp, ebx
je 0x4816a7
mov dword [ebp], 0x66
jmp 0x4816a7
push 3
lea edx, [esp + 0x14]
push edx
push 0x53064c
mov byte [esp + 0x22], bl
call fcn.004d37fd
add esp, 0xc
test eax, eax
je 0x4816cb
cmp ebp, ebx
je 0x4816a7
mov dword [ebp], 0x67
push edi
call fcn.004cd520
push esi
call fcn.004cd520
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004cd511
add esp, 0xc
ret
mov ebx, esi
call fcn.00481740
test eax, eax
jne 0x481705
push edi
call fcn.004cd520
push esi
call fcn.004cd520
add esp, 8
test ebp, ebp
je 0x4816f0
mov dword [ebp], 0x68
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004cd511
add esp, 0xc
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esi + 0x40], 0
cmp byte [esp + 0x13], 0x39
sete al
mov dword [edi + 0x6148], eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cd511
add esp, 0xc
ret
Function at 0x481740
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [ebx + 0x48]
test byte [eax], 8
jne 0x481754
mov dword [ebx + 0x40], 0x6f
xor eax, eax
pop ecx
ret
push esi
push ebx
mov esi, ebx
call fcn.00481e90
add esp, 4
test eax, eax
je 0x4818ee
lea ecx, [ebx + 4]
push ecx
call fcn.00481e90
add esp, 4
test eax, eax
je 0x4818ee
mov eax, dword [ebx + 0x48]
mov ecx, dword [eax + 0x3c]
push edi
xor edi, edi
cmp ecx, edi
je 0x481798
push 3
lea edx, [esp + 0xc]
push edx
push ebx
call ecx
add esp, 0xc
jmp 0x4817ad
mov eax, dword [eax + 0x38]
push eax
push 3
lea ecx, [esp + 0x10]
push 1
push ecx
call fcn.004d16d1
add esp, 0x10
cmp eax, 3
je 0x4817db
mov esi, dword [ebx + 0x14]
mov dword [ebx + 0x40], 0x66
cmp esi, edi
je 0x4817d2
mov edx, dword [esi + 0xc]
push edx
call fcn.004cd520
push esi
call fcn.004cd520
add esp, 8
mov dword [ebx + 0x14], edi
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov dl, byte [esp + 8]
movzx eax, dl
mov ecx, eax
mov esi, eax
shr ecx, 4
and eax, 7
and ecx, 7
inc eax
inc ecx
push ebp
shr esi, 3
mov ebp, eax
movzx eax, byte [esp + 0xd]
mov dword [ebx + 8], ecx
mov cl, byte [esp + 0xe]
and esi, 1
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x10], cl
test dl, dl
jns 0x4818e1
push edi
mov ecx, ebp
mov edi, 1
shl edi, cl
call fcn.004824a0
add esp, 4
mov dword [ebx + 0x14], eax
test eax, eax
jne 0x481839
pop ebp
pop edi
mov dword [ebx + 0x40], 0x6d
pop esi
pop ecx
ret
mov dword [eax + 8], esi
mov edx, dword [ebx + 0x14]
xor edi, edi
cmp dword [edx], edi
jle 0x4818e4
xor esi, esi
jmp 0x481850
mov eax, dword [ebx + 0x48]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x481869
push 3
lea eax, [esp + 0x10]
push eax
push ebx
call ecx
add esp, 0xc
jmp 0x48187e
mov ecx, dword [eax + 0x38]
push ecx
push 3
lea edx, [esp + 0x14]
push 1
push edx
call fcn.004d16d1
add esp, 0x10
cmp eax, 3
jne 0x4818c4
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0xc]
movzx edx, byte [esp + 0xc]
mov byte [esi + ecx], dl
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0xc]
movzx edx, byte [esp + 0xd]
mov byte [ecx + esi + 1], dl
mov eax, dword [ebx + 0x14]
movzx edx, byte [esp + 0xe]
mov ecx, dword [eax + 0xc]
mov byte [ecx + esi + 2], dl
mov eax, dword [ebx + 0x14]
inc edi
add esi, 3
cmp edi, dword [eax]
jl 0x481850
pop ebp
pop edi
mov eax, 1
pop esi
pop ecx
ret
mov esi, dword [ebx + 0x14]
call fcn.00482530
pop ebp
pop edi
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x40], 0x66
xor eax, eax
pop esi
pop ecx
ret
mov dword [ebx + 0x14], edi
pop ebp
pop edi
mov eax, 1
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret
Function at 0x481900
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esi + 0x48]
test byte [eax], 8
jne 0x481914
mov dword [esi + 0x40], 0x6f
xor eax, eax
pop ecx
ret
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x48192a
push 1
lea eax, [esp + 7]
push eax
push esi
call ecx
add esp, 0xc
jmp 0x48193f
mov ecx, dword [eax + 0x38]
push ecx
push 1
lea edx, [esp + 0xb]
push 1
push edx
call fcn.004d16d1
add esp, 0x10
cmp eax, 1
je 0x48194f
mov dword [esi + 0x40], 0x66
xor eax, eax
pop ecx
ret
mov al, byte [esp + 3]
cmp al, 0x21
je 0x48198a
cmp al, 0x2c
je 0x48197d
cmp al, 0x3b
je 0x481970
mov dword [edi], 0
mov dword [esi + 0x40], 0x6b
xor eax, eax
pop ecx
ret
mov dword [edi], 4
mov eax, 1
pop ecx
ret
mov dword [edi], 2
mov eax, 1
pop ecx
ret
mov dword [edi], 3
mov eax, 1
pop ecx
ret
Function at 0x481c80
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 0x48]
test byte [eax], 8
jne 0x481c98
mov dword [esi + 0x40], 0x6f
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x481cae
push 1
lea eax, [esp + 0xb]
push eax
push esi
call ecx
add esp, 0xc
jmp 0x481cc3
mov ecx, dword [eax + 0x38]
push ecx
push 1
lea edx, [esp + 0xf]
push 1
push edx
call fcn.004d16d1
add esp, 0x10
cmp eax, 1
je 0x481cd4
mov dword [esi + 0x40], 0x66
xor eax, eax
pop esi
pop ecx
ret
movzx eax, byte [esp + 7]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
call fcn.00481cf0
pop esi
pop ecx
ret

Function at 0x481cf0
Capabilities:
Read file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esi + 0x48]
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x481d0b
push 1
lea ecx, [esp + 0xb]
push ecx
push esi
call eax
add esp, 0xc
jmp 0x481d20
mov edx, dword [edi + 0x38]
push edx
push 1
lea eax, [esp + 0xf]
push 1
push eax
call fcn.004d16d1
add esp, 0x10
cmp eax, 1
jne 0x481d6c
mov cl, byte [esp + 7]
test cl, cl
jbe 0x481d78
lea eax, [edi + 0x44]
mov byte [eax], cl
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx + 0x3c]
mov dword [ebx], eax
inc eax
test edx, edx
je 0x481d4e
movzx ecx, byte [esp + 7]
push ecx
push eax
push esi
call edx
add esp, 0xc
jmp 0x481d63
mov edx, dword [ecx + 0x38]
movzx ecx, byte [esp + 7]
push edx
push ecx
push 1
push eax
call fcn.004d16d1
add esp, 0x10
movzx edx, byte [esp + 7]
cmp eax, edx
je 0x481d7e
mov dword [esi + 0x40], 0x66
xor eax, eax
pop edi
pop ecx
ret
mov dword [ebx], 0
mov eax, 1
pop edi
pop ecx
ret

Function at 0x481e90
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x481eaa
push 2
lea eax, [esp + 4]
push eax
push esi
call ecx
add esp, 0xc
jmp 0x481ebf
mov ecx, dword [eax + 0x38]
push ecx
push 2
lea edx, [esp + 8]
push 1
push edx
call fcn.004d16d1
add esp, 0x10
cmp eax, 2
je 0x481ecf
mov dword [esi + 0x40], 0x66
xor eax, eax
pop ecx
ret
mov ax, word [esp]
movzx ecx, ah
movzx edx, al
mov eax, dword [esp + 8]
shl ecx, 8
or ecx, edx
mov dword [eax], ecx
mov eax, 1
pop ecx
ret
Function at 0x481ef0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [edi + 0x48]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x481f10
push 1
lea ecx, [esp + 0xf]
push ecx
push edi
call eax
add esp, 0xc
jmp 0x481f25
mov edx, dword [esi + 0x38]
push edx
push 1
lea eax, [esp + 0x13]
push 1
push eax
call fcn.004d16d1
add esp, 0x10
cmp eax, 1
jne 0x481f72
mov cl, byte [esp + 0xb]
test cl, cl
jbe 0x481f7f
lea eax, [esi + 0x44]
mov byte [eax], cl
mov ecx, dword [edi + 0x48]
mov edx, dword [ecx + 0x3c]
push ecx
cmp al, 0x89
inc ebp
add byte [eax - 0x7b], al
invalid
je 0x481f54
movzx ecx, byte [esp + 0xb]
push ecx
push eax
push edi
call edx
add esp, 0xc
jmp 0x481f69
mov edx, dword [ecx + 0x38]
movzx ecx, byte [esp + 0xb]
or edx, dword [edx + 0x51]
push 1
push eax
call fcn.004d16d1
add esp, 0x10
movzx edx, byte [esp + 0xb]
cmp eax, edx
je 0x481f91
pop esi
mov dword [edi + 0x40], 0x66
xor eax, eax
pop ebp
pop ecx
ret
mov dword [ebp], 0
mov byte [esi + 0x44], 0
invalid

Function at 0x481f3b
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [edi + 0x48]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x481f10
push 1
lea ecx, [esp + 0xf]
push ecx
push edi
call eax
add esp, 0xc
jmp 0x481f25
mov edx, dword [esi + 0x38]
push edx
push 1
lea eax, [esp + 0x13]
push 1
push eax
call fcn.004d16d1
add esp, 0x10
cmp eax, 1
jne 0x481f72
mov cl, byte [esp + 0xb]
test cl, cl
jbe 0x481f7f
lea eax, [esi + 0x44]
mov byte [eax], cl
mov ecx, dword [edi + 0x48]
mov edx, dword [ecx + 0x3c]
push ecx
cmp al, 0x89
inc ebp
add byte [eax - 0x7b], al
invalid
je 0x481f54
movzx ecx, byte [esp + 0xb]
push ecx
push eax
push edi
call edx
add esp, 0xc
jmp 0x481f69
mov edx, dword [ecx + 0x38]
movzx ecx, byte [esp + 0xb]
or edx, dword [edx + 0x51]
push 1
push eax
call fcn.004d16d1
add esp, 0x10
movzx edx, byte [esp + 0xb]
cmp eax, edx
je 0x481f91
pop esi
mov dword [edi + 0x40], 0x66
xor eax, eax
pop ebp
pop ecx
ret
mov dword [ebp], 0
mov byte [esi + 0x44], 0
invalid

Function at 0x481f5b
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [edi + 0x48]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x481f10
push 1
lea ecx, [esp + 0xf]
push ecx
push edi
call eax
add esp, 0xc
jmp 0x481f25
mov edx, dword [esi + 0x38]
push edx
push 1
lea eax, [esp + 0x13]
push 1
push eax
call fcn.004d16d1
add esp, 0x10
cmp eax, 1
jne 0x481f72
mov cl, byte [esp + 0xb]
test cl, cl
jbe 0x481f7f
lea eax, [esi + 0x44]
mov byte [eax], cl
mov ecx, dword [edi + 0x48]
mov edx, dword [ecx + 0x3c]
push ecx
cmp al, 0x89
inc ebp
add byte [eax - 0x7b], al
invalid
je 0x481f54
movzx ecx, byte [esp + 0xb]
push ecx
push eax
push edi
call edx
add esp, 0xc
jmp 0x481f69
mov edx, dword [ecx + 0x38]
movzx ecx, byte [esp + 0xb]
or edx, dword [edx + 0x51]
push 1
push eax
call fcn.004d16d1
add esp, 0x10
movzx edx, byte [esp + 0xb]
cmp eax, edx
je 0x481f91
pop esi
mov dword [edi + 0x40], 0x66
xor eax, eax
pop ebp
pop ecx
ret
mov dword [ebp], 0
mov byte [esi + 0x44], 0
invalid
Function at 0x481fa0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, eax
mov esi, dword [edi + 0x48]
mov eax, dword [esi + 0x3c]
xor ebx, ebx
cmp eax, ebx
je 0x481fc1
push 1
lea ecx, [esp + 0x13]
push ecx
push edi
call eax
add esp, 0xc
jmp 0x481fd6
mov edx, dword [esi + 0x38]
push edx
push 1
lea eax, [esp + 0x17]
push 1
push eax
call fcn.004d16d1
add esp, 0x10
cmp eax, 1
jb 0x481fec
movzx ecx, byte [esp + 0xf]
cmp ecx, 8
jle 0x481ff3
mov dword [edi + 0x40], 0x66
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov eax, 1
shl eax, cl
mov dword [esi + 8], ecx
inc ecx
mov edx, 1
mov dword [esi + 0xc], eax
inc eax
mov dword [esi + 0x10], eax
inc eax
shl edx, cl
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov eax, 0x1002
mov byte [esi + 0x44], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
invalid
invalid
inc esp
invalid

Function at 0x4823c0
Capabilities:
Read file on windows

Disassembly:
mov cl, byte [esi]
push ebp
mov ebp, dword [esp + 8]
push edi
test cl, cl
jne 0x482463
mov ecx, dword [ebx + 0x48]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x4823e5
push 1
push esi
push ebx
call eax
add esp, 0xc
jmp 0x4823f6
mov eax, dword [ecx + 0x38]
push eax
push 1
push 1
push esi
call fcn.004d16d1
add esp, 0x10
cmp eax, 1
je 0x482407
pop edi
mov dword [ebx + 0x40], 0x66
xor eax, eax
pop ebp
ret
mov al, byte [esi]
test al, al
jne 0x482419
pop edi
mov dword [ebx + 0x40], 0x70
xor eax, eax
pop ebp
ret
mov ecx, dword [ebx + 0x48]
mov edx, dword [ecx + 0x3c]
lea edi, [esi + 1]
test edx, edx
je 0x482433
movzx ecx, al
push ecx
push edi
push ebx
call edx
add esp, 0xc
jmp 0x482446
mov edx, dword [ecx + 0x38]
push edx
movzx eax, al
push eax
push 1
push edi
call fcn.004d16d1
add esp, 0x10
mov cl, byte [esi]
movzx edx, cl
cmp eax, edx
jne 0x4823fb
mov al, byte [edi]
mov byte [edi], 2
mov byte [ebp], al
dec cl
pop edi
mov byte [esi], cl
mov eax, 1
pop ebp
ret
mov al, byte [esi + 1]
movzx edx, al
mov dl, byte [edx + esi]
inc al
dec cl
pop edi
mov byte [ebp], dl
mov byte [esi + 1], al
mov byte [esi], cl
mov eax, 1
pop ebp
ret
Function at 0x482670
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x50a278
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5415a0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5415a0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
mov esi, dword [ebp + 4]
xor ebx, ebx
mov edi, ecx
cmp esi, ebx
je 0x4826c4
mov ecx, esi
call fcn.004c9530
push esi
call fcn.004cf9e5
add esp, 4
mov dword [ebp + 4], ebx
cmp edi, ebx
je 0x4827d8
push ebx
push 0x52da81
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00409280
mov dword [esp + 0x44], ebx
cmp byte [ebp], bl
jne 0x4827dc
push 0x522fc8
lea eax, [esp + 0x1c]
push edi
push eax
mov dword [esp + 0x24], ebx
call fcn.004cfacd
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, ebx
je 0x4827c4
push 2
push ebx
push eax
call fcn.004d1993
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
call fcn.004d189b
mov edx, dword [esp + 0x1c]
add esp, 4
push ebx
push ebx
push edx
mov esi, eax
call fcn.004d1993
lea eax, [esi + 1]
add esp, 0xc
push eax
call fcn.004d0ab4
mov edi, eax
add esp, 4
mov byte [edi + esi], bl
mov ecx, dword [esp + 0x18]
push ecx
push esi
push 1
push edi
call fcn.004d16d1
add esp, 0x10
cmp eax, esi
jne 0x482775
push edi
lea ecx, [esp + 0x20]
call fcn.00482bb0
mov edx, dword [esp + 0x18]
push edx
call fcn.004d091b
add esp, 4
push edi
call fcn.004d0aa9
mov eax, dword [esp + 0x24]
mov esi, 0x10
add esp, 4
cmp dword [esp + 0x34], esi
jae 0x48279e
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x30]
push ecx
push eax
mov eax, ebp
call fcn.00482820
mov bl, al
cmp dword [esp + 0x34], esi
jb 0x4827c0
mov edx, dword [esp + 0x20]
push edx
call fcn.004cf9e5
add esp, 4
mov al, bl
jmp 0x4827f2
cmp dword [esp + 0x34], 0x10
jb 0x4827d8
mov eax, dword [esp + 0x20]
push eax
call fcn.004cf9e5
add esp, 4
xor al, al
jmp 0x4827f2
cmp dword [esp + 0x34], 0x10
jb 0x4827f0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004cf9e5
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004cd511
add esp, 0x34
ret 4
Function at 0x485890
Capabilities:
Write file on windows

Disassembly:
push ecx
push 0x52d68c
push eax
lea ecx, [esp + 8]
push ecx
call fcn.004cfacd
add esp, 0xc
test eax, eax
je 0x4858b9
push 0x5306d4
call fcn.004d6a51
add esp, 4
xor al, al
pop ecx
ret
mov edx, dword [esp]
push edx
push 1
lea eax, [esi + 0x108]
push 4
push eax
call fcn.004d3f7d
add esp, 0x10
cmp eax, 1
je 0x4858f0
push 0x5306f4
call fcn.004d6a51
mov ecx, dword [esp + 4]
push ecx
call fcn.004d091b
add esp, 8
xor al, al
pop ecx
ret
mov edx, dword [esp]
push edi
push edx
push 1
lea edi, [esi + 0x104]
push 4
push edi
call fcn.004d3f7d
add esp, 0x10
cmp eax, 1
je 0x485929
push 0x530710
call fcn.004d6a51
mov eax, dword [esp + 8]
push eax
call fcn.004d091b
add esp, 8
xor al, al
pop edi
pop ecx
ret
mov ecx, dword [esp + 4]
mov edx, dword [edi]
mov eax, dword [esi]
push ecx
push 1
push edx
push eax
call fcn.004d3f7d
add esp, 0x10
cmp eax, 1
jne 0x485961
mov edx, dword [esp + 4]
mov edi, dword [esi + 4]
push edx
push eax
mov eax, dword [esi + 0x100]
push eax
push edi
call fcn.004d3f7d
add esp, 0x10
cmp eax, 1
je 0x48597d
push 0x53072c
call fcn.004d6a51
mov ecx, dword [esp + 8]
push ecx
call fcn.004d091b
add esp, 8
xor al, al
pop edi
pop ecx
ret
mov edx, dword [esp + 4]
mov eax, dword [edi + 8]
mov ecx, dword [esi + 8]
push edx
push eax
push 1
push ecx
call fcn.004d3f7d
add esp, 0x10
cmp eax, dword [edi + 8]
je 0x4859b5
push 0x530744
call fcn.004d6a51
mov edx, dword [esp + 8]
push edx
call fcn.004d091b
add esp, 8
xor al, al
pop edi
pop ecx
ret
mov eax, dword [esp + 4]
push eax
call fcn.004d091b
add esp, 4
mov al, 1
pop edi
pop ecx
ret
Function at 0x486b60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50bc68
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5415a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, edx
mov dword [esp + 0x38], 0
mov esi, dword [edi + 0x10]
mov ebp, dword [edi + 0xc]
mov ecx, esi
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jbe 0x486be6
cmp ebp, esi
jbe 0x486bbb
call fcn.004d0cc5
mov eax, dword [edi]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
push esi
push eax
lea eax, [esp + 0x48]
push eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebx, ecx
push ebx
push edi
call fcn.00487750
jmp 0x486c33
jae 0x486c33
cmp ebp, esi
jbe 0x486bf1
call fcn.004d0cc5
mov ebp, dword [edi + 0xc]
mov edx, dword [edi]
mov dword [esp + 0x20], edx
cmp ebp, dword [edi + 0x10]
jbe 0x486c04
call fcn.004d0cc5
mov eax, dword [edi]
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], eax
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], ebp
call fcn.00487ba0
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 4]
push esi
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00486c80
mov eax, dword [esp + 0x4c]
xor esi, esi
cmp eax, esi
je 0x486c46
push eax
call fcn.004cf9e5
add esp, 4
mov ecx, dword [esp + 0x40]
push ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
call fcn.004cf9e5
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x18