Function at 0x44d000
Capabilities:
Access peb ldr_data
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5306c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.0044b060
lea eax, [esi + 0x214]
xor ecx, ecx
mov edx, dword [esp + 0x30]
lea edi, [esi + 0x220]
mov dword [eax], ecx
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, 0x13
xor eax, eax
mov dword [edi + 0xc], ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x26c], ebx
mov dword [esi + 0x270], ebx
mov dword [esi + 0x274], edx
mov dword [esi + 0x278], ebx
mov dword [esi + 0x27c], ebx
mov dword [esi + 0x280], ebx
mov dword [esi + 0x284], ebx
mov dword [esi], 0x53640c
mov cx, word [eax]
cmp cx, word [eax + 4]
jg 0x44d0d8
mov dx, word [eax + 2]
cmp dx, word [eax + 6]
jg 0x44d0d8
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x14], edx
movsx eax, word [esi + 0x16]
movsx ecx, word [esi + 0x12]
movsx edx, word [esi + 0x14]
sub eax, ecx
lea ecx, [esp + 0x14]
inc eax
push eax
movsx eax, word [esi + 0x10]
sub edx, eax
inc edx
push edx
push ebx
push ebx
call fcn.004b4a60
mov ecx, dword [eax]
mov dword [esi + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x38], edx
mov ecx, dword [esi + 0x1dc]
mov dword [esi + 0x208], 0x10
cmp ecx, ebx
je 0x44d130
xor eax, eax
mov dword [esi + 0x208], 1
mov ax, word [esi + 0x1d0]
cmp eax, ebx
jle 0x44d130
mov edx, ecx
mov edi, eax
mov ecx, dword [edx]
cmp ecx, ebx
je 0x44d12a
movsx eax, word [ecx + 0xa]
movsx ecx, word [ecx + 6]
sub eax, ecx
mov ecx, dword [esi + 0x208]
inc eax
cmp ecx, eax
jle 0x44d124
mov eax, ecx
mov dword [esi + 0x208], eax
add edx, 4
dec edi
jne 0x44d107
mov edx, dword [0x659a18]
push 1
push 0xfffffffffffffff8
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
xor eax, eax
mov ax, word [esi + 0x1d0]
shl eax, 2
push eax
call fcn.00470b90
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi + 0x210], eax
mov ecx, dword [0x659a18]
xor edx, edx
mov dx, word [esi + 0x1d0]
push ecx
push edx
push 4
push eax
call ebx
mov eax, dword [esi + 0x210]
push 0x24
mov ecx, dword [eax]
mov dword [esi + 0xbc], ecx
call fcn.00470250
mov edi, dword [sym.imp.MSVCRT.dll_ftell]
mov ebp, eax
add esp, 0x24
test ebp, ebp
je 0x44d1b1
mov edx, dword [0x659a18]
push 0
push edx
call edi
add esp, 4
mov ecx, ebp
push eax
call fcn.00488fd0
jmp 0x44d1b3
xor eax, eax
mov dword [esi + 0xcc], eax
mov eax, dword [0x659a18]
push eax
call edi
add esp, 4
mov ecx, esi
push eax
call fcn.0043aef0
mov ecx, dword [0x659a18]
push ecx
call edi
mov edx, dword [0x659a18]
mov ebp, eax
push edx
call edi
add esp, 8
mov ecx, esi
push eax
call fcn.0043b340
mov eax, dword [0x659a18]
add ebp, 0x14
push 0
push ebp
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ecx, dword [0x659a18]
lea eax, [esi + 0x214]
push ecx
push 1
push 0xc
push eax
call ebx
mov eax, dword [0x659958]
add esp, 0x1c
cmp eax, 0x1a
jl 0x44d2eb
mov edx, dword [0x659a18]
lea eax, [esi + 0x20c]
push edx
push 1
push 4
push eax
call ebx
mov ecx, dword [0x659a18]
add esp, 0x10
lea ebp, [esi + 0x220]
push 0x4c
push ebp
push ecx
call edi
add esp, 4
push eax
call fcn.00472400
mov edx, dword [0x659aa4]
mov ecx, dword [ebp + 4]
add esp, 0xc
xor eax, eax
test edx, ecx
je 0x44d285
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x44d283
add ebp, 0x38
push 1
push ebp
mov ecx, eax
call fcn.00489020
jmp 0x44d285
xor eax, eax
mov dword [esi + 0x124], eax
mov al, byte [esi + 0x233]
cmp al, 2
jne 0x44d29c
mov byte [esi + 0x233], 3
mov eax, dword [0x659a18]
lea ecx, [esp + 0x2c]
push eax
push 1
push 4
push ecx
call ebx
lea eax, [esp + 0x3c]
mov edx, str.FLAG
add esp, 0x10
mov ecx, dword [eax]
mov eax, dword [edx]
cmp ecx, eax
jne 0x44d2eb
mov edx, dword [0x659a18]
lea eax, [esi + 0x278]
push edx
push 1
push 4
push eax
call ebx
mov eax, dword [0x659a18]
push eax
push 1
lea eax, [esi + 0x27c]
push 4
push eax
call ebx
add esp, 0x20
mov ecx, dword [0x659a34]
mov eax, dword [esi + 0x278]
test ecx, eax
jne 0x44d307
mov edx, dword [esi + 0x218]
mov dword [esi + 0x27c], edx
mov ecx, dword [esi + 0x220]
mov eax, str.mprm
lea edx, [esi + 0x220]
cmp ecx, dword [eax]
je 0x44d327
mov ecx, 0x13
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
xor eax, eax
xor ebx, ebx
mov ax, word [esi + 0x1d0]
mov dword [esi + 0x1f0], ebx
mov dword [esi + 0x1fc], 0xffffffff
mov dword [esi + 0x1ec], ebx
mov dword [esi + 0x1f4], eax
movsx ecx, word [esi + 0x14]
movsx eax, word [esi + 0x10]
sub ecx, eax
inc ecx
mov dword [esi + 0x1f8], ecx
mov eax, dword [edx]
mov ecx, str.mprm
cmp eax, dword [ecx]
jne 0x44d504
mov eax, dword [esi + 0x224]
and eax, 0xf
cmp eax, 1
jl 0x44d504
mov edi, dword [edx]
mov ebp, dword [ecx]
cmp edi, ebp
jne 0x44d3ef
cmp eax, 1
jne 0x44d3ef
lea edi, [edx + 0x14]
xor eax, eax
mov dl, byte [edi + 5]
cmp dl, 0xfe
jne 0x44d3bb
mov ecx, dword [edi + 8]
cmp ecx, 0x2710
jae 0x44d4c3
movsx ebp, word [edi + 0xc]
add ebp, ecx
cmp ebp, 0x2710
ja 0x44d4c3
cmp dl, 0xff
jne 0x44d3e1
mov ecx, dword [edi + 8]
cmp ecx, 0x2810
jae 0x44d4c3
movsx ebp, word [edi + 0xc]
add ebp, ecx
cmp ebp, 0x2810
ja 0x44d4c3
cmp dl, 0xf9
jne 0x44d4a1
jmp 0x44d488
mov edi, dword [edx]
mov ecx, str.mprm
cmp edi, dword [ecx]
jne 0x44d40d
cmp eax, 2
jne 0x44d40d
mov word [esi + 0x228], 0x10
jmp 0x44d4c9
mov edi, dword [edx]
mov ecx, str.mprm
cmp edi, dword [ecx]
jne 0x44d4c9
cmp eax, 3
jne 0x44d4c9
mov word [esi + 0x228], 8
mov eax, dword [0x659a4c]
test dword [esi + 0x224], eax
je 0x44d4c9
lea edi, [edx + 0x14]
xor eax, eax
mov dl, byte [edi + 5]
cmp dl, 0xfe
jne 0x44d465
mov ecx, dword [edi + 8]
cmp ecx, 0x2710
jae 0x44d4c3
movsx ebp, word [edi + 0xc]
add ebp, ecx
cmp ebp, 0x2710
ja 0x44d4c3
cmp dl, 0xff
jne 0x44d483
mov ecx, dword [edi + 8]
cmp ecx, 0x2810
jae 0x44d4c3
movsx ebp, word [edi + 0xc]
add ebp, ecx
cmp ebp, 0x2810
ja 0x44d4c3
cmp dl, 0xf9
jne 0x44d4a1
mov ecx, dword [edi + 8]
cmp ecx, 0x27100
jae 0x44d4c3
movsx edx, word [edi + 0xc]
add edx, ecx
cmp edx, 0x27100
ja 0x44d4c3
cmp word [edi + 0xc], bx
jle 0x44d4c3
push 0x24
call fcn.00470250
add esp, 4
cmp eax, ebx
je 0x44d4c1
push 1
push edi
mov ecx, eax
call fcn.00489020
jmp 0x44d4c3
xor eax, eax
mov dword [esi + 0x12c], eax
push 3
lea eax, [esp + 0x30]
push 0x30
push eax
lea ecx, [esi + 0x22c]
mov dword [esi + 0x1f4], ebx
call fcn.004b90b0
xor ecx, ecx
mov cx, word [eax + 2]
mov dword [esi + 0x208], ecx
mov edx, dword [0x659a84]
test dword [esi + 0x224], edx
je 0x44d504
mov ecx, esi
call fcn.0043d7c0
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc