Function at 0x5dbb22
Capabilities:
Parse pe header

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xac
mov eax, dword [0x6a10c0]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [esi + 0x64]
push ebx
mov ebx, dword [esi + 0x68]
push edi
xor edi, edi
push edi
push ebx
mov dword [ebp + 0x28], eax
mov dword [esi + 0x84], edi
call fcn.005c4e83
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
lea eax, [ebp + 0x48]
push eax
push 0x629a10
push ebx
call fcn.005c5f6d
add esp, 0xc
cmp eax, edi
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
cmp word [ebp + 0x48], 0x5a4d
mov dword [ebp + 0x58], 2
jne 0x5dc0d9
movzx eax, word [ebp + 0x4a]
push eax
push ebx
call fcn.005c4e83
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
lea eax, [ebp + 0x40]
push eax
push 0x629a24
push ebx
call fcn.005c5f6d
add esp, 0xc
cmp eax, edi
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
cmp word [ebp + 0x40], 0x454e
mov dword [ebp + 0x58], 2
jne 0x5dbd62
movzx eax, word [ebp + 0x42]
movzx ecx, word [ebp + 0x4a]
add eax, ecx
push eax
push ebx
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x50], edi
call fcn.005c4e83
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
movzx eax, word [ebp + 0x44]
movzx ecx, word [ebp + 0x42]
sub eax, ecx
push eax
push ebx
call fcn.005c5ea6
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
push ebx
call fcn.005c4fd4
movzx eax, ax
push ebx
mov dword [ebp + 0x4c], eax
call fcn.005c4fd4
pop ecx
jmp 0x5dbc50
push ebx
call fcn.005c4fd4
cmp di, 0x8008
movzx eax, ax
pop ecx
movzx eax, ax
push ebx
je 0x5dbc5b
imul eax, eax, 0xc
add eax, 4
add dword [ebx + 0x20], eax
call fcn.005c4fd4
movzx edi, ax
test di, di
pop ecx
jne 0x5dbc2d
jmp 0x5dbc71
mov dword [ebp + 0x54], eax
call fcn.005c4ed7
pop ecx
mov ecx, dword [ebx + 0x20]
sub ecx, dword [ebx + 0x24]
lea eax, [eax + ecx + 4]
mov dword [ebp + 0x50], eax
push ebx
call fcn.005c5f49
xor edi, edi
cmp word [ebp + 0x54], di
pop ecx
je 0x5dbdf9
cmp dword [ebp + 0x50], edi
je 0x5dbdf9
movzx eax, word [ebp + 0x54]
mov ecx, eax
imul ecx, ecx, 0x76
cmp ecx, dword [ebx + 4]
ja 0x5dbdf9
cmp dword [ebp + 0x7c], eax
mov dword [esi], eax
jl 0x5dbcb2
mov dword [ebp + 0x58], 6
jmp 0x5dc0e0
cmp dword [ebp + 0x7c], edi
jl 0x5dc0e0
lea eax, [ebp + 0x58]
push eax
push 0xac
push dword [ebp + 0x28]
call fcn.005c6123
add esp, 0xc
cmp dword [ebp + 0x58], edi
mov dword [esi + 0x84], eax
jne 0x5dc0e0
mov eax, dword [ebp + 0x7c]
imul eax, eax, 0xc
add eax, dword [ebp + 0x50]
push eax
push ebx
call fcn.005c4e83
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
jne 0x5dc0d9
push 0xc
push ebx
call fcn.005c5ea6
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
jne 0x5dc0d9
movzx edi, word [ebp + 0x4c]
push ebx
call fcn.005c4fd4
movzx eax, ax
mov ecx, edi
shl eax, cl
mov ecx, dword [esi + 0x84]
push ebx
mov dword [ecx], eax
call fcn.005c4fd4
movzx eax, ax
mov ecx, edi
shl eax, cl
mov ecx, dword [esi + 0x84]
push ebx
mov dword [ecx + 0xa4], eax
add dword [ebx + 0x20], 8
call fcn.005c5f49
mov eax, dword [esi + 0x84]
add esp, 0xc
call fcn.005dba78
mov dword [ebp + 0x58], eax
jmp 0x5dc0c0
mov edi, 0x4550
cmp word [ebp + 0x40], di
jne 0x5dc0c0
movzx eax, word [ebp + 0x4a]
push eax
push ebx
call fcn.005c4e83
test eax, eax
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
lea eax, [ebp + 0x10]
push eax
push 0x629a3c
push ebx
call fcn.005c5f6d
add esp, 0xc
test eax, eax
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
cmp dword [ebp + 0x10], edi
jne 0x5dbdf9
cmp word [ebp + 0x14], 0x14c
jne 0x5dbdf9
cmp word [ebp + 0x18], 0xe0
jne 0x5dbdf9
cmp word [ebp + 0x1a], 0x10b
jne 0x5dbdf9
and dword [esi], eax
xor edi, edi
cmp word [ebp + 0x16], di
jbe 0x5dbdf9
lea eax, [ebp + 0x5c]
push eax
push 0x629a70
push ebx
call fcn.005c5f6d
add esp, 0xc
test eax, eax
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
mov eax, dword [ebp + 0x1c]
cmp eax, dword [ebp + 0x64]
je 0x5dbe05
inc edi
cmp di, word [ebp + 0x16]
jb 0x5dbdcd
mov dword [ebp + 0x58], 3
jmp 0x5dc0e0
push dword [ebp + 0x6c]
push ebx
call fcn.005c4e83
test eax, eax
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
lea eax, [ebp - 0x10]
push eax
push 0x629a90
push ebx
call fcn.005c5f6d
add esp, 0xc
test eax, eax
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
mov eax, dword [ebp + 0x6c]
movzx ecx, word [ebp - 4]
and dword [ebp + 0x3c], 0
mov dword [ebp + 0x4c], eax
movzx eax, word [ebp - 2]
add eax, ecx
test eax, eax
jle 0x5dc0c0
xor eax, eax
mov ecx, dword [ebp + 0x4c]
lea eax, [ecx + eax*8 + 0x10]
push eax
push ebx
call fcn.005c4e83
test eax, eax
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
lea eax, [ebp + 0x2c]
push eax
push 0x629ab0
push ebx
call fcn.005c5f6d
add esp, 0xc
test eax, eax
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
test dword [ebp + 0x30], 0x80000000
je 0x5dbdf9
and dword [ebp + 0x30], 0x7fffffff
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x30]
lea edi, [ecx + eax]
push edi
push ebx
mov dword [ebp + 0x24], edi
call fcn.005c4e83
test eax, eax
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
lea eax, [ebp - 0x20]
push eax
push 0x629a90
push ebx
call fcn.005c5f6d
mov dword [ebp + 0x58], eax
xor eax, eax
add esp, 0xc
cmp dword [ebp + 0x58], eax
jne 0x5dc0e0
movzx ecx, word [ebp - 0x12]
movzx edx, word [ebp - 0x14]
add ecx, edx
test ecx, ecx
mov dword [ebp + 0x54], eax
jle 0x5dc0a7
jmp 0x5dbefc
mov edi, dword [ebp + 0x24]
lea eax, [edi + eax*8 + 0x10]
push eax
push ebx
call fcn.005c4e83
test eax, eax
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
lea eax, [ebp + 0x34]
push eax
push 0x629ab0
push ebx
call fcn.005c5f6d
add esp, 0xc
test eax, eax
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
test dword [ebp + 0x38], 0x80000000
je 0x5dbdf9
and dword [ebp + 0x38], 0x7fffffff
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x38]
lea edi, [ecx + eax]
push edi
push ebx
call fcn.005c4e83
test eax, eax
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
lea eax, [ebp]
push eax
push 0x629a90
push ebx
call fcn.005c5f6d
mov dword [ebp + 0x58], eax
xor eax, eax
add esp, 0xc
cmp dword [ebp + 0x58], eax
jne 0x5dc0e0
movzx ecx, word [ebp + 0xe]
movzx edx, word [ebp + 0xc]
add ecx, edx
test ecx, ecx
mov dword [ebp + 0x50], eax
jle 0x5dc08e
lea eax, [edi + eax*8 + 0x10]
push eax
push ebx
call fcn.005c4e83
test eax, eax
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
lea eax, [ebp - 0x28]
push eax
push 0x629ab0
push ebx
call fcn.005c5f6d
add esp, 0xc
test eax, eax
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
test dword [ebp + 0x38], 0x80000000
jne 0x5dbdf9
cmp dword [ebp + 0x2c], 8
jne 0x5dc075
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x4c]
add eax, ecx
push eax
push ebx
call fcn.005c4e83
test eax, eax
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
lea eax, [ebp - 0x38]
push eax
push 0x629ac0
push ebx
call fcn.005c5f6d
add esp, 0xc
test eax, eax
mov dword [ebp + 0x58], eax
jne 0x5dc0e0
mov eax, dword [ebp + 0x7c]
cmp eax, dword [esi]
jne 0x5dc073
lea eax, [ebp + 0x58]
push eax
push 0xac
push dword [ebp + 0x28]
call fcn.005c6123
add esp, 0xc
cmp dword [ebp + 0x58], 0
mov dword [esi + 0x84], eax
jne 0x5dc0e0
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp + 0x64]
add ecx, dword [ebp + 0x6c]
mov dword [eax], ecx
mov eax, dword [esi + 0x84]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0xa4], ecx
mov eax, dword [esi + 0x84]
call fcn.005dba78
test eax, eax
mov dword [ebp + 0x58], eax
jne 0x5dc0d9
inc dword [esi]
inc dword [ebp + 0x50]
movzx ecx, word [ebp + 0xe]
movzx edx, word [ebp + 0xc]
movzx eax, word [ebp + 0x50]
add ecx, edx
cmp eax, ecx
jl 0x5dbf97
inc dword [ebp + 0x54]
movzx ecx, word [ebp - 0x12]
movzx edx, word [ebp - 0x14]
movzx eax, word [ebp + 0x54]
add ecx, edx
cmp eax, ecx
jl 0x5dbef9
inc dword [ebp + 0x3c]
movzx ecx, word [ebp - 2]
movzx edx, word [ebp - 4]
movzx eax, word [ebp + 0x3c]
add ecx, edx
cmp eax, ecx
jl 0x5dbe56
mov eax, dword [esi]
test eax, eax
je 0x5dbdf9
cmp dword [ebp + 0x7c], eax
jge 0x5dbca6
cmp dword [ebp + 0x58], 0
je 0x5dc0e0
mov ebx, esi
call fcn.005dba22
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp + 0x58]
pop edi
xor ecx, ebp
pop ebx
call fcn.005fc14a
add ebp, 0x74
leave
ret