Function at 0x43fc10
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Check for peb ntglobalflag flag
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x530286
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov eax, dword [esp + 0x9c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x34], esi
call fcn.0043d090
lea ebp, [esi + 0x1e4]
mov eax, 1
xor edi, edi
mov word [ebp + 0x20], ax
mov word [ebp + 0x22], ax
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x28], edi
mov word [ebp + 0x30], ax
mov word [ebp + 0x32], ax
mov dword [ebp + 0x34], eax
lea ecx, [ebp + 0x40]
mov dword [esp + 0xa4], edi
mov dword [ebp + 0x38], edi
call fcn.0043ffe0
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x48], edi
call fcn.0043ffe0
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov dword [ebp + 0x58], edi
lea ebx, [esi + 0x280]
mov dword [esi + 0x278], ecx
mov ecx, ebx
mov dword [esi + 0x27c], edx
call fcn.004a81e0
lea eax, [esi + 0x298]
mov byte [esp + 0xa4], 1
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x2a0], edi
mov dword [esi], 0x5353cc
mov eax, dword [0x659a18]
push eax
push 1
push 0x70
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
lea edi, [esi + 0x254]
mov ecx, 9
xor eax, eax
add esp, 0x10
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
and eax, 7
cmp eax, 3
ja case.default.0x43fcfc
jmp dword [eax*4 + 0x43ffd0]
mov dword [esi + 0x25c], 2
jmp case.default.0x43fcfc
mov ecx, esi
call fcn.004419d0
mov dword [esi + 0x25c], eax
jmp case.default.0x43fcfc
mov ecx, esi
call fcn.004419f0
mov dword [esi + 0x25c], eax
jmp case.default.0x43fcfc
mov ecx, esi
call fcn.004419f0
mov dword [esi + 0x25c], eax
mov ecx, dword [ebp]
and ecx, 7
xor eax, eax
cmp cl, 3
jne 0x43fd66
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x43fd64
lea edx, [ebp + 0x60]
push 1
push edx
mov ecx, eax
call fcn.00489020
jmp 0x43fd66
xor eax, eax
mov dword [esi + 0x2a0], eax
mov ecx, esi
call fcn.00441970
mov edx, dword [esi + 0x1f8]
lea ecx, [edx*8]
sub ecx, edx
lea ecx, [ecx + ecx*2]
mov edx, dword [eax + ecx*4 + 4]
lea eax, [eax + ecx*4]
mov dword [esi + 0x264], edx
mov eax, dword [eax + 8]
mov dword [esi + 0x254], 0xffffffff
mov dword [esi + 0x268], eax
mov al, byte [ebp]
test al, 0x40
je 0x43fdc0
mov ecx, dword [esi + 0x1fc]
push ecx
mov ecx, esi
call fcn.00441750
mov dword [esi + 0x254], eax
mov al, byte [ebp]
mov dword [esi + 0x258], 0xffffffff
test al, 0x80
je 0x43fde5
mov edx, dword [esi + 0x200]
mov ecx, esi
push edx
call fcn.00441750
mov dword [esi + 0x258], eax
mov edi, dword [esi + 0x25c]
lea eax, [esp + 0x8c]
sub edi, 2
push eax
imul edi, dword [esi + 0x1ec]
mov ecx, esi
call fcn.004412a0
movsx ecx, word [eax + 6]
movsx edx, word [eax + 2]
sub ecx, edx
movsx edx, word [eax]
inc ecx
push ecx
movsx ecx, word [eax + 4]
sub ecx, edx
inc ecx
push ecx
push 0
push 0
lea ecx, [esp + 0x7c]
call fcn.004b4a60
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov ecx, esi
mov edx, dword [eax + 4]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x20], edx
call fcn.00441660
movsx ecx, word [eax + 6]
movsx edx, word [eax + 2]
sub ecx, edx
movsx edx, word [eax]
inc ecx
push ecx
movsx ecx, word [eax + 4]
sub ecx, edx
inc ecx
push ecx
push 0
push 0
lea ecx, [esp + 0x44]
call fcn.004b4a60
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov ecx, esi
mov edx, dword [eax + 4]
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x18], edx
call fcn.004415d0
movsx ecx, word [eax + 6]
movsx edx, word [eax + 2]
sub ecx, edx
movsx edx, word [eax]
inc ecx
push ecx
movsx ecx, word [eax + 4]
sub ecx, edx
inc ecx
push ecx
push 0
push 0
lea ecx, [esp + 0x8c]
call fcn.004b4a60
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov ecx, esi
mov edx, dword [eax + 4]
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x30], edx
call fcn.00441520
movsx ecx, word [eax + 6]
movsx edx, word [eax + 2]
sub ecx, edx
movsx edx, word [eax]
inc ecx
push ecx
movsx ecx, word [eax + 4]
sub ecx, edx
inc ecx
push ecx
push 0
push 0
lea ecx, [esp + 0x54]
call fcn.004b4a60
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x1ec]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x1e8]
push eax
push ecx
push 0
push 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x34], edx
call fcn.004b4a60
push eax
lea edx, [esp + 0x68]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x7c]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x94]
push edx
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0xac]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.004b4c20
mov ecx, eax
call fcn.004b4c20
mov ecx, eax
call fcn.004b4c20
mov ecx, eax
call fcn.004b4c20
mov edx, dword [0x659a28]
mov ecx, eax
push 0
push edx
mov eax, dword [ecx]
mov edx, dword [esi + 0x1e8]
push edx
mov ecx, dword [ecx + 4]
movsx ecx, cx
movsx edx, ax
sub ecx, edx
lea eax, [ecx + edi + 1]
mov ecx, ebx
push eax
call fcn.004a8300
mov eax, dword [ebx + 0xc]
xor ecx, ecx
imul eax, dword [ebx + 4]
test eax, eax
setle cl
dec ecx
push 0
and ecx, eax
push 0
mov ebp, ecx
mov ecx, ebx
call fcn.004a8d30
mov ecx, ebp
mov edi, eax
mov edx, ecx
or eax, 0xffffffff
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, esi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x90]
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret 0xc