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

Disassembly:
mov eax, 0x67c7f9
call fcn.00629210
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x433712
cmp byte [esi + 0x3e], bl
je 0x433712
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x433652
xor al, al
jmp 0x433714
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.00434074
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ebx, edi
cmp eax, 0x10
jae 0x43367f
lea ebx, [ebp - 0x28]
mov edi, ebx
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov edx, dword [ecx]
push eax
push edi
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4336aa
sub eax, 1
je 0x4336ae
dec eax
sub eax, 1
je 0x433700
xor bl, bl
jmp 0x433702
mov byte [esi + 0x3e], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov ecx, edi
cmp eax, 0x10
jae 0x4336be
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x10]
sub ebx, ecx
je 0x4336e6
cmp eax, 0x10
jae 0x4336cd
lea edi, [ebp - 0x28]
push dword [esi + 0x4c]
push ebx
push 1
push edi
call fcn.0063ad4b
add esp, 0x10
cmp ebx, eax
jne 0x4336a6
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x3e], 0
je 0x433700
test ebx, ebx
jne 0x433673
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.00409c63
jmp 0x43366d
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040abbf
mov al, bl
jmp 0x433714
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x448596
Capabilities:
Terminate process

Disassembly:
push 0x4c
mov eax, 0x6701f2
call fcn.00629b7a
mov esi, ecx
push 0x2710
call fcn.004558fe
mov ecx, dword [esi + 0x44]
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x30]
push 0x70ed3c
lea ecx, [ebp - 0x58]
call fcn.0040a58f
xor edi, edi
lea ecx, [ebp - 0x40]
push 0x6991e0
mov dword [ebp - 4], edi
call fcn.0040a58f
push str.hydra_permissions_restart
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040a58f
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0044c335
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.0040abbf
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.0040abbf
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.0040abbf
push dword [ebp + 8]
call fcn.0063ba95
int3
Function at 0x449602
Capabilities:
Parse credit card information

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x449768
mov ebp, 0x10000000
cmp eax, 0x7c
je 0x449768
cmp eax, 0x29
jne 0x44963b
cmp dword [esi + 0x10], 0
jne 0x449768
test dword [esi + 0x50], ebp
je 0x449776
cmp eax, 0x2e
jne 0x449656
push 5
lea ecx, [esi + 0x24]
call fcn.0044bb02
mov ecx, esi
call fcn.0044bb42
jmp 0x449753
cmp eax, 0x5c
jne 0x4496b1
mov ecx, esi
call fcn.0044bb42
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x449688
cmp byte [esi + 0x48], 0x62
jne 0x449688
push 4
lea ecx, [esi + 0x24]
call fcn.0044bb02
mov ecx, esi
call fcn.0044bb42
jmp 0x44975a
test eax, eax
je 0x4496a5
cmp byte [esi + 0x48], 0x42
jne 0x4496a5
push 4
lea ecx, [esi + 0x24]
call fcn.0044bb02
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x44967c
mov ecx, esi
call fcn.0044977e
jmp 0x449753
cmp eax, 0x5b
jne 0x4496d1
mov ecx, esi
call fcn.0044bb42
mov ecx, esi
call fcn.00449c28
cmp dword [esi + 0x4c], 0x5d
je 0x44964a
push 4
jmp 0x449778
cmp eax, 0x28
jne 0x4496f9
mov ecx, esi
call fcn.0044bb42
mov ecx, esi
call fcn.0044c21b
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x449776
mov ecx, esi
call fcn.0044bb42
jmp 0x44974f
cmp eax, 0x5e
jne 0x449705
push 2
jmp 0x449674
cmp eax, 0x24
jne 0x449711
push 3
jmp 0x449674
cmp eax, 0x2a
je 0x449772
cmp eax, 0x2b
je 0x449772
cmp eax, 0x3f
je 0x449772
cmp eax, 0x7b
je 0x449772
cmp eax, 0x7d
jne 0x44972f
test dword [esi + 0x50], ebp
je 0x44976e
cmp eax, 0x5d
jne 0x449739
test dword [esi + 0x50], ebp
je 0x4496ca
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00448fd7
mov ecx, esi
call fcn.0044bb42
mov bl, 1
test bl, bl
je 0x44975a
mov ecx, esi
call fcn.0044bba0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x44961a
pop esi
pop ebp
mov al, cl
pop ebx
ret
push 6
jmp 0x449778
push 0xa
jmp 0x449778
push 5
call fcn.0061518c
int3
Function at 0x44a97c
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x670464
call fcn.00629b7a
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x38], ebx
je 0x44aa76
cmp byte [esi + 0x3d], bl
je 0x44aa76
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x44a9b6
xor al, al
jmp 0x44aa78
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.00434074
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ebx, edi
cmp eax, 0x10
jae 0x44a9e3
lea ebx, [ebp - 0x28]
mov edi, ebx
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov edx, dword [ecx]
push eax
push edi
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x44aa0e
sub eax, 1
je 0x44aa12
dec eax
sub eax, 1
je 0x44aa64
xor bl, bl
jmp 0x44aa66
mov byte [esi + 0x3d], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov ecx, edi
cmp eax, 0x10
jae 0x44aa22
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
sub ebx, ecx
je 0x44aa4a
cmp eax, 0x10
jae 0x44aa31
lea edi, [ebp - 0x28]
push dword [esi + 0x4c]
push ebx
push 1
push edi
call fcn.0063ad4b
add esp, 0x10
cmp ebx, eax
jne 0x44aa0a
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x3d], 0
je 0x44aa64
test ebx, ebx
jne 0x44a9d7
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.00409c63
jmp 0x44a9d1
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040abbf
mov al, bl
jmp 0x44aa78
mov al, 1
call fcn.00629b24
ret

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

Disassembly:
xor edx, edx
mov ecx, 0x811c9dc5
cmp dword [esp + 8], edx
jbe 0x44b0f7
push esi
mov esi, dword [esp + 8]
movzx eax, byte [edx + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [esp + 0xc]
jb 0x44b0e3
pop esi
mov eax, ecx
ret 8
Function at 0x453195
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x18], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
ret
Function at 0x4585b2
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x6787a4
call fcn.00629210
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
push dword [ebp + 0xc]
xor edi, edi
mov dword [esi], 0x699bd0
lea ecx, [esi + 0x20]
mov dword [ebp - 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call fcn.004953a1
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
mov eax, 0x6787a4
call fcn.00629210
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
push dword [ebp + 0xc]
xor edi, edi
mov dword [esi], 0x699bd0
lea ecx, [esi + 0x20]
mov dword [ebp - 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call fcn.004953a1
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x458618
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x671ec5
call fcn.00629210
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi], 0x699bd0
lea ecx, [esi + 0x20]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
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
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 1
call fcn.004b44c9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45f5f0
Capabilities:
Check http status code

Disassembly:
mov eax, 0x6722ee
call fcn.00629210
sub esp, 0x44
push ebx
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x10]
mov esi, ecx
push eax
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push 0x20000013
push dword [esi]
mov dword [ebp - 0x18], ebx
call dword [0x76b928]
test eax, eax
je 0x45f66a
cmp dword [ebp - 0x14], 0xc8
je 0x45f66a
push dword [ebp - 0x14]
lea eax, [ebp - 0x50]
push 0x69a98c
push eax
call fcn.004607f4
add esp, 0xc
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x45f652
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.0045f5bb
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0042386b
jmp 0x45f72b
push edi
xor eax, eax
mov byte [ebp - 0x38], bl
lea edi, [ebp - 0x37]
mov dword [ebp - 0x10], 0x14
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x1d
push dword [esi]
call dword [0x76b928]
test eax, eax
je 0x45f6b3
lea eax, [ebp - 0x38]
push str.glqw.exe
push eax
call fcn.0063cd2b
pop ecx
pop ecx
test eax, eax
jne 0x45f6b3
or byte [esi + 0x25], 1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], 0x20
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
push eax
lea eax, [esi + 5]
push eax
push 1
push dword [esi]
call dword [0x76b928]
push ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 4
push eax
lea eax, [ebp - 0x24]
push eax
push 0x20000005
push dword [esi]
call dword [0x76b928]
test eax, eax
je 0x45f6fd
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], ebx
push 0xa
pop ecx
xor eax, eax
lea edi, [esi + 0x2c]
rep stosd dword es:[edi], eax
mov edi, 0x2000
mov dword [esi + 0x2c], 0x28
push edi
call fcn.0045b411
mov ecx, esi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
mov byte [esi + 4], 1
call fcn.0045f77e
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x467580
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, dword [0x74832c]
cmp esi, 0x270
jl 0x467645
xor esi, esi
push ebx
mov edx, esi
mov ebx, 0x7fffffff
mov ecx, dword [edx*4 + 0x76bbec]
xor ecx, dword [edx*4 + 0x76bbe8]
and ecx, ebx
xor ecx, dword [edx*4 + 0x76bbe8]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x748530]
xor ecx, dword [edx*4 + 0x76c21c]
mov dword [edx*4 + 0x76bbe8], ecx
inc edx
cmp edx, 0xe3
jl 0x46759d
cmp edx, 0x26f
jge 0x467616
push edi
lea edi, [edx*4 + 0x76bbe8]
mov ecx, dword [edi]
xor ecx, dword [edi + 4]
and ecx, ebx
xor ecx, dword [edi]
mov eax, ecx
shr ecx, 1
and eax, 1
mov eax, dword [eax*4 + 0x748530]
xor eax, dword [edi - 0x38c]
xor eax, ecx
mov dword [edi], eax
add edi, 4
cmp edi, 0x76c5a4
jl 0x4675e9
pop edi
mov ecx, dword [0x76bbe8]
xor ecx, dword [0x76c5a4]
and ecx, ebx
xor ecx, dword [0x76c5a4]
mov eax, ecx
shr ecx, 1
and eax, 1
pop ebx
xor ecx, dword [eax*4 + 0x748530]
xor ecx, dword [0x76c218]
mov dword [0x76c5a4], ecx
mov ecx, dword [esi*4 + 0x76bbe8]
mov eax, ecx
shr eax, 0xb
inc esi
xor ecx, eax
mov dword [0x74832c], esi
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop esi
ret

Function at 0x4677dc
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
xor edx, edx
mov dword [0x76bbe8], eax
inc edx
mov ecx, 0x76bbe8
mov eax, dword [ecx]
shr eax, 0x1e
xor eax, dword [ecx]
imul eax, eax, 0x6c078965
add eax, edx
inc edx
mov dword [ecx + 4], eax
add ecx, 4
cmp ecx, 0x76c5a4
jl 0x4677ed
mov dword [0x74832c], edx
ret 4
Function at 0x46f208
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0x672e32
call fcn.00629210
sub esp, 0x44
push ebx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push edi
mov dword [ebp - 4], ebx
mov byte [ebp - 0xd], 1
call fcn.00472fb7
mov edi, dword [ebp + 8]
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], ebx
jb 0x46f245
mov eax, dword [edi]
jmp 0x46f247
mov eax, edi
mov byte [eax], bl
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ebx
call fcn.00470a3d
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
test ecx, ecx
je 0x46f37e
push esi
call fcn.00470a3d
mov eax, dword [eax]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x14], eax
mov edx, dword [eax + 8]
jmp 0x46f354
mov edi, dword [edx + 4]
movzx edx, word [edx + 8]
add edi, dword [eax]
test dl, 0xe0
je 0x46f34b
and edx, 0xf
jmp dword [edx*4 + 0x46f650]
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
add edx, 0x1c
mov ebx, dword [edx]
mov dword [ebp - 0x18], edx
test ebx, ebx
jne 0x46f27a
mov ebx, dword [ebp - 0x1c]
inc ebx
mov dword [ebp - 0x1c], ebx
call fcn.00470a3d
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
cmp ebx, ecx
jb 0x46f265
pop esi
mov dword [ebp - 4], 5
call fcn.00472ff8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x47d925
Capabilities:
Parse pe header

Disassembly:
push ebp
sub esp, 0x54
mov eax, 0x6735e9
call fcn.00629210
sub esp, 0x138
push ebx
push esi
mov esi, dword [ebp + 0x60]
push edi
cmp dword [esi + 0x14], 8
jb 0x47d949
mov eax, dword [esi]
jmp 0x47d94b
mov eax, esi
push 0x80
push 4
push eax
call fcn.0045c90d
mov ebx, eax
mov eax, dword [0x68d2ac]
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x2c], eax
xor edi, edi
mov dword [ebp - 4], edi
cmp ebx, 0xffffffff
jne 0x47d985
cmp dword [esi + 0x14], 8
jb 0x47d97a
mov esi, dword [esi]
push esi
push 0x6a0238
jmp 0x47db0a
push edi
lea eax, [ebp + 0x60]
push eax
push 0x40
lea eax, [ebp - 0x4c]
push eax
push ebx
call dword [0x68d2b0]
test eax, eax
je 0x47dafc
cmp dword [ebp + 0x60], 0x40
jne 0x47dafc
mov eax, 0x5a4d
cmp word [ebp - 0x4c], ax
jne 0x47dafc
push edi
push edi
push dword [ebp - 0x10]
push ebx
call dword [0x68d450]
cmp eax, 0xffffffff
jne 0x47d9eb
cmp dword [esi + 0x14], 8
jb 0x47d9d1
mov esi, dword [esi]
push dword [ebp - 0x10]
push esi
push 0x6a05d0
lea eax, [ebp + 0x30]
push eax
call fcn.004607f4
add esp, 0x10
jmp 0x47db16
push edi
lea eax, [ebp + 0x60]
push eax
push 0xf8
lea eax, [ebp - 0x144]
push eax
push ebx
call dword [0x68d2b0]
test eax, eax
je 0x47dafc
cmp dword [ebp + 0x60], 0xf8
jne 0x47dafc
cmp dword [ebp - 0x144], 0x4550
jne 0x47dafc
push edi
lea eax, [ebp + 0x60]
push eax
push 0x28
lea eax, [ebp]
push eax
push ebx
call dword [0x68d2b0]
test eax, eax
je 0x47daec
cmp dword [ebp + 0x60], 0x28
jne 0x47daec
xor eax, eax
mov dword [ebp + 0x4c], edi
mov edx, edi
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x50], edx
cmp ax, word [ebp - 0x13e]
jae 0x47daa5
mov ecx, dword [ebp + 0x14]
cmp ecx, edx
jbe 0x47da74
mov eax, dword [ebp + 0x10]
add eax, ecx
mov dword [ebp + 0x50], ecx
mov dword [ebp + 0x4c], eax
push edi
lea eax, [ebp + 0x60]
push eax
push 0x28
lea eax, [ebp]
push eax
push ebx
call dword [0x68d2b0]
test eax, eax
je 0x47dad5
cmp dword [ebp + 0x60], 0x28
jne 0x47dad5
mov ecx, dword [ebp + 0x54]
movzx eax, word [ebp - 0x13e]
inc ecx
mov edx, dword [ebp + 0x50]
mov dword [ebp + 0x54], ecx
cmp ecx, eax
jl 0x47da62
mov eax, dword [0x68d2ac]
cmp eax, edi
je 0x47dabd
test ebx, ebx
je 0x47dabd
push ebx
call eax
mov eax, edi
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x2c], eax
push edi
push dword [ebp + 0x4c]
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00423207
call fcn.0047ccd0
mov edi, eax
jmp 0x47db2a
cmp dword [esi + 0x14], 8
jb 0x47dadd
mov esi, dword [esi]
mov eax, dword [ebp + 0x54]
push esi
push eax
push 0x6a0668
jmp 0x47d9da
cmp dword [esi + 0x14], 8
jb 0x47daf4
mov esi, dword [esi]
push esi
push 0x6a062c
jmp 0x47db0a
cmp dword [esi + 0x14], 8
jb 0x47db04
mov esi, dword [esi]
push esi
push str.Bad_Request
lea eax, [ebp + 0x30]
push eax
call fcn.004607f4
add esp, 0xc
mov ecx, dword [ebp + 0x64]
push eax
call fcn.004232e6
push edi
push 1
lea ecx, [ebp + 0x30]
call fcn.0042386b
mov eax, dword [ebp + 0x48]
mov dword [ebp - 4], 7
test eax, eax
je 0x47db3f
test ebx, ebx
je 0x47db3f
push ebx
call eax
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
lea esp, [ebp + 0x58]
pop ebp
ret 8
Function at 0x495213
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push 0x6c078965
push dword [esp + 0xc]
or dword [esi + 0x1384], 0xffffffff
call fcn.004b4bf7
mov eax, esi
pop esi
ret 4

Function at 0x495921
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x674a87
call fcn.00629210
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
mov dword [ebp - 0x10], edi
call fcn.00423207
and dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.00423207
mov eax, dword [esi + 0x30]
lea ecx, [edi + 0x5c]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
mov al, byte [esi + 0x58]
mov byte [edi + 0x58], al
mov al, byte [esi + 0x59]
mov byte [edi + 0x59], al
mov al, byte [esi + 0x5a]
mov byte [edi + 0x5a], al
lea eax, [esi + 0x5c]
push eax
mov byte [ebp - 4], 1
call fcn.00423207
mov eax, dword [esi + 0x74]
mov dword [edi + 0x74], eax
mov eax, dword [esi + 0x78]
mov dword [edi + 0x78], eax
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x7c], eax
mov eax, dword [esi + 0x80]
mov dword [edi + 0x80], eax
mov eax, dword [esi + 0x84]
mov dword [edi + 0x84], eax
mov al, byte [edi + 0x88]
xor al, byte [esi + 0x88]
and al, 1
mov byte [ebp - 4], 2
xor byte [edi + 0x88], al
mov al, byte [edi + 0x88]
mov cl, byte [esi + 0x88]
xor cl, al
and cl, 2
xor cl, al
mov byte [edi + 0x88], cl
mov al, byte [esi + 0x88]
xor al, cl
and al, 4
xor al, cl
mov byte [edi + 0x88], al
mov cl, byte [esi + 0x88]
xor cl, al
and cl, 8
xor cl, al
mov byte [edi + 0x88], cl
mov al, byte [esi + 0x88]
xor al, cl
and al, 0x10
xor al, cl
mov byte [edi + 0x88], al
lea ecx, [edi + 0xa0]
mov eax, dword [esi + 0x8c]
mov dword [edi + 0x8c], eax
mov eax, dword [esi + 0x90]
mov dword [edi + 0x90], eax
mov eax, dword [esi + 0x94]
mov dword [edi + 0x94], eax
mov eax, dword [esi + 0x98]
mov dword [edi + 0x98], eax
mov eax, dword [esi + 0x9c]
mov dword [edi + 0x9c], eax
lea eax, [esi + 0xa0]
push eax
call fcn.0040ab3b
lea eax, [esi + 0xb8]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0xb8]
call fcn.0040ab3b
mov al, byte [esi + 0xd0]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0xd0], al
mov eax, dword [esi + 0xd4]
mov dword [edi + 0xd4], eax
mov eax, dword [esi + 0xd8]
mov dword [edi + 0xd8], eax
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b1f6a
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
mov ebp, 0x7fffffff
lea edi, [esi + 0x9c4]
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, ebp
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebx, 1
jne 0x4b1f80
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, ebp
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebx, 1
jne 0x4b1fbc
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, ebp
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], ebx
pop esi
pop ebp
pop ebx
ret

Function at 0x4b2025
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea edx, [ecx + 8]
mov esi, 0x270
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x4b202e
pop esi
ret

Function at 0x4b4bf7
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul edx, dword [esp + 0x14]
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x4b4c0c
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
ret 8