Function at 0x45fba0
Capabilities:
Access peb ldr_data
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b15e4
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x4e0240]
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, ecx
push str.BLHashReader
mov dword [ebp - 0x178], esi
call fcn.004888e0
xor ebx, ebx
mov dword [esi], vtable.BLHashReader.0
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
push 4
push str.rs
lea eax, [esi + 0x20]
push 4
lea edi, [esi + 0x5c]
push eax
mov dword [edi], ebx
mov dword [esi + 0x58], ebx
call fcn.0046df79
push 4
push str.js
lea ecx, [esi + 0x24]
push 4
push ecx
call fcn.0046df79
push 4
push str.elf
lea edx, [esi + 0x28]
push 4
push edx
call fcn.0046df79
push 4
push str.bkdr
lea eax, [esi + 0x2c]
push 4
push eax
call fcn.0046df79
add esp, 0x40
push 4
push str.ap
lea ecx, [esi + 0x30]
push 4
push ecx
call fcn.0046df79
push 4
push str.djb
lea edx, [esi + 0x34]
push 4
push edx
call fcn.0046df79
push 4
push str.sdbm
lea eax, [esi + 0x38]
push 4
push eax
call fcn.0046df79
push 4
push str.pjw
lea ecx, [esi + 0x3c]
push 4
push ecx
call fcn.0046df79
add esp, 0x40
push 4
push str.hflp
lea edx, [esi + 0x40]
push 4
push edx
call fcn.0046df79
push 4
push str.hf
lea eax, [esi + 0x44]
push 4
push eax
call fcn.0046df79
push 4
push str.str
push 4
lea ecx, [esi + 0x48]
push ecx
call fcn.0046df79
push 4
push str.fnv
lea edx, [esi + 0x4c]
push 4
push edx
call fcn.0046df79
add esp, 0x40
push 4
push str.dek
lea eax, [esi + 0x50]
push 4
push eax
call fcn.0046df79
push 4
push str.bp
lea ecx, [esi + 0x54]
push 4
push ecx
call fcn.0046df79
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x140], ebx
lea edx, [ebp - 0x148]
push edx
mov byte [ebp - 4], 2
call fcn.00459fe0
push 0x4bdc28
push eax
lea eax, [ebp - 0x158]
push eax
mov byte [ebp - 4], 3
call fcn.0040336c
add esp, 0x30
mov eax, dword [ebp - 0x148]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45fd5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x158]
push 0
push 0x8000000
push 3
push 0
push 1
push SysReAllocStringLen
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x45ff9c
call fcn.004048c7
test eax, eax
js 0x4601f7
push 0
lea edx, [ebp - 0x13c]
push edx
push 4
lea eax, [ebp - 0x164]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45fdbe
call fcn.004048c7
test eax, eax
js 0x4601d8
cmp dword [ebp - 0x13c], 4
jne 0x4601d8
push 4
lea ecx, [ebp - 0x164]
push ecx
push 4
push edi
call fcn.0046df79
add esp, 0x10
lea edx, [ebp - 0x15c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x160], eax
cmp eax, 0xffffffff
jne 0x45fe07
call fcn.004048c7
test eax, eax
js 0x45fe19
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x14c], eax
mov eax, dword [edi]
cmp eax, 0x64000
jl 0x4601d8
cdq
cmp edx, dword [ebp - 0x14c]
ja 0x4601d8
jb 0x45fe41
cmp eax, dword [ebp - 0x150]
ja 0x4601d8
push 0
lea ecx, [ebp - 0x13c]
push ecx
push 0x10
lea edx, [ebp - 0x20]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45fe68
call fcn.004048c7
test eax, eax
js 0x4601d8
cmp dword [ebp - 0x13c], 0x10
jne 0x4601d8
mov eax, dword [edi]
push eax
call fcn.0046cbb3
mov ecx, dword [edi]
add esp, 4
push 0
lea edx, [ebp - 0x13c]
push edx
push ecx
push eax
push ebx
mov dword [esi + 0x58], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45fea8
call fcn.004048c7
test eax, eax
js 0x4601d8
mov eax, dword [ebp - 0x13c]
cmp eax, dword [edi]
jne 0x4601d8
lea ecx, [ebp - 0x138]
call fcn.00415aa0
mov ecx, dword [edi]
mov edx, dword [esi + 0x58]
push ecx
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 6
call fcn.00416080
xor ecx, ecx
push 0x40
push ecx
lea edx, [ebp - 0x62]
push edx
mov byte [ebp - 4], 7
mov word [ebp - 0x64], cx
call fcn.0046e590
movzx eax, byte [ebp - 0x11]
movzx ecx, byte [ebp - 0x12]
movzx edx, byte [ebp - 0x13]
push eax
movzx eax, byte [ebp - 0x14]
push ecx
movzx ecx, byte [ebp - 0x15]
push edx
movzx edx, byte [ebp - 0x16]
push eax
movzx eax, byte [ebp - 0x17]
push ecx
movzx ecx, byte [ebp - 0x18]
push edx
movzx edx, byte [ebp - 0x19]
push eax
movzx eax, byte [ebp - 0x1a]
push ecx
movzx ecx, byte [ebp - 0x1b]
push edx
movzx edx, byte [ebp - 0x1c]
push eax
movzx eax, byte [ebp - 0x1d]
push ecx
movzx ecx, byte [ebp - 0x1e]
push edx
movzx edx, byte [ebp - 0x1f]
push eax
movzx eax, byte [ebp - 0x20]
push ecx
push edx
push eax
lea ecx, [ebp - 0x64]
push str._02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x
push ecx
call fcn.0045f7e0
lea eax, [ebp - 0x64]
add esp, 0x54
lea edx, [eax + 2]
jmp 0x45ff60
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45ff60
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x64]
push edx
push eax
push 0
lea ecx, [ebp - 0x9c]
call fcn.00416330
test eax, eax
je 0x45ffa9
lea ecx, [ebp - 0x9c]
call fcn.00401701
jmp 0x4601d8
mov dword [ebp - 0x144], eax
mov ebx, eax
jmp 0x45fd94
mov eax, dword [edi]
mov edi, dword [ebp - 0x150]
cdq
sub edi, eax
mov eax, dword [ebp - 0x14c]
sbb eax, edx
add edi, 0xffffffec
adc eax, 0xffffffff
mov dword [ebp - 0x14c], eax
jne 0x45ffd2
test edi, edi
je 0x4601b9
lea eax, [edi + 1]
push eax
call fcn.0046cbb3
mov ebx, eax
lea eax, [edi + 1]
push eax
push 0
push ebx
call fcn.0046e590
mov edx, dword [ebp - 0x144]
add esp, 0x10
push 0
lea ecx, [ebp - 0x13c]
push ecx
push edi
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x460015
call fcn.004048c7
test eax, eax
js 0x4601b3
mov eax, dword [0x4e0004]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e0004
call edx
add eax, 0x10
mov dword [ebp - 0x154], eax
push ebx
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 8
call fcn.00403233
xor eax, eax
push 2
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
call fcn.00414ba0
push edi
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 9
call fcn.00414ba0
mov eax, dword [ebp - 0x174]
push edi
push ebx
push edi
push eax
call fcn.0046df79
xor ecx, ecx
add esp, 0x10
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], cx
mov dword [ebp - method.CResponseDecoder.virtual_0], vtable.CResponseDecoder.0
push str.135246
lea edx, [ebp - 0x80]
push edx
sub esp, 0x10
lea eax, [ebp - 0x174]
mov ecx, esp
mov dword [ebp - 0x15c], esp
push eax
mov byte [ebp - 4], 0xb
call fcn.00414c10
lea ecx, [ebp - 0x148]
call fcn.0049d1e0
test eax, eax
je 0x46010c
cmp dword [ebp - 0x6c], 8
jb 0x4600e2
mov eax, dword [ebp - 0x80]
mov edi, eax
test eax, eax
jne 0x4600e5
jmp 0x4600ff
lea edi, [ebp - 0x80]
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4600f0
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x154]
call fcn.0040170b
push ecx
mov ecx, esp
mov dword [ebp - 0x15c], esp
push 0x4ba338
call fcn.00402008
mov edi, dword [ebp - 0x154]
lea eax, [esi + 0x10]
push eax
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x14c], esp
mov ebx, esp
push edi
mov byte [ebp - 4], 0xc
call fcn.004014d8
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov byte [ebp - 4], 0xb
call fcn.0045c9d0
add esp, 0xc
cmp dword [ebp - 0x6c], 8
mov dword [ebp - method.CResponseDecoder.virtual_0], vtable.CResponseDecoder.0
jb 0x46016f
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.0046d5e2
add esp, 4
mov eax, dword [ebp - 0x174]
xor edx, edx
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], dx
test eax, eax
je 0x460196
push eax
call fcn.0046d5e2
add esp, 4
mov byte [ebp - 4], 7
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4601b3
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ebx, dword [ebp - 0x144]
cmp dword [ebp - 0x88], 8
mov dword [esi + 0xc], 1
jb 0x4601d8
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.0046d5e2
add esp, 4
test ebx, ebx
je 0x4601f7
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
mov dword [ebp - 0x144], 0
mov ebx, dword [ebp - 0x144]
jmp 0x4601fd
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x158]
add eax, 0xfffffff0
cmp dword [esi + 0xc], 0
mov byte [ebp - 4], 2
jne 0x46021f
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x46022c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x460238
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x46023f
push ebx
call edi
mov eax, esi
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.0046e452
mov esp, ebp
pop ebp
ret