Function at 0x568850
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x568d19
sub esp, 0x6c
lea edi, [esp + 0x80]
xor eax, eax
call fcn.00465fe9
lea edi, [esp + 0x50]
call fcn.00465fe9
mov ecx, dword [esp + 0x74]
cmp ecx, 0x10
jl 0x568a51
mov edx, dword [esp + 0x70]
movzx ebx, byte [edx + 3]
movzx ebp, byte [edx + 2]
shl ebp, 8
or ebx, ebp
movzx ebp, byte [edx + 1]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [edx]
shl ebp, 0x18
or ebp, ebx
mov dword [esp + 0x50], ebp
lea ebx, [ecx - 4]
cmp ebx, 3
jbe 0x568d0c
movzx ebx, byte [edx + 7]
movzx esi, byte [edx + 6]
shl esi, 8
or ebx, esi
movzx esi, byte [edx + 5]
shl esi, 0x10
or ebx, esi
movzx esi, byte [edx + 4]
shl esi, 0x18
or esi, ebx
mov dword [esp + 0x54], esi
lea ebx, [ecx - 8]
cmp ebx, 3
jbe 0x568d00
movzx ebx, byte [edx + 0xb]
movzx esi, byte [edx + 0xa]
shl esi, 8
or ebx, esi
movzx esi, byte [edx + 9]
shl esi, 0x10
or ebx, esi
movzx esi, byte [edx + 8]
shl esi, 0x18
or esi, ebx
mov dword [esp + 0x58], esi
lea ebx, [ecx - 0xc]
cmp ebx, 3
jbe 0x568cf4
movzx eax, byte [edx + 0xf]
movzx ebx, byte [edx + 0xe]
shl ebx, 8
or eax, ebx
movzx ebx, byte [edx + 0xd]
shl ebx, 0x10
or eax, ebx
movzx ebx, byte [edx + 0xc]
shl ebx, 0x18
or ebx, eax
mov dword [esp + 0x5c], ebx
lea eax, [ebp + ebp*2]
shl eax, 1
add eax, 0x10
cmp ecx, eax
jl 0x56898e
mov dword [esp + 0x20], ebp
lea eax, [0x6bd9c0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
xor ebp, ebp
jmp 0x568b13
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
lea eax, [0x702e76]
mov dword [esp], eax
mov dword [esp + 4], 0x33
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x80]
lea esi, [esp + 0x50]
call fcn.004664ba
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa4], eax
add esp, 0x6c
ret
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea eax, [0x702ea9]
mov dword [esp], eax
mov dword [esp + 4], 0x33
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x80]
lea esi, [esp + 0x50]
call fcn.004664ba
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa4], eax
add esp, 0x6c
ret
mov esi, dword [esp + 0x70]
mov edx, esi
movzx esi, byte [esi + edi + 5]
movzx edi, byte [edx + edi + 4]
shl edi, 8
or esi, edi
mov word [ebx + ebp*2 + 4], si
mov esi, dword [esp + 0x24]
lea ebp, [esi + 1]
mov esi, dword [esp + 0x78]
mov edx, ecx
mov ebx, dword [esp + 0x70]
mov ecx, esi
cmp ebp, eax
jge 0x568bcb
lea esi, [ebp + ebp*2]
mov dword [esp + 0x2c], esi
shl esi, 1
lea edi, [esi + 0x10]
cmp edx, edi
jb 0x568ceb
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x28], ebx
sub ecx, esi
lea ebx, [ecx - 0x10]
neg ebx
sar ebx, 0x1f
and ebx, edi
mov ecx, edx
sub edx, esi
mov esi, dword [esp + 0x28]
cmp ebp, esi
jae 0x568ce2
lea esi, [edx - 0x10]
cmp esi, 5
jbe 0x568cd6
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebx
mov esi, dword [esp + 0x70]
movzx edi, byte [esi + ebx + 1]
movzx ebp, byte [esi + ebx]
shl ebp, 8
or edi, ebp
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov word [ebx + ebp*2], di
lea edi, [edx - 0x12]
cmp edi, 1
jbe 0x568cca
mov dword [esp + 0x2c], edx
mov edi, dword [esp + 0x28]
movzx edx, byte [esi + edi + 3]
movzx esi, byte [esi + edi + 2]
shl esi, 8
or edx, esi
mov word [ebx + ebp*2 + 2], dx
mov edx, dword [esp + 0x2c]
add edx, 0xffffffec
cmp edx, 1
ja 0x568ae6
jmp 0x568cbe
lea eax, [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x10], ecx
call fcn.0056abe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
je 0x568c8d
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
test edx, edx
je 0x568c1a
mov edx, dword [edx + 4]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebx
lea eax, [0x6f6d0e]
mov dword [esp], eax
mov dword [esp + 4], 0x15
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x80]
lea esi, [esp + 0x50]
call fcn.004664ba
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa4], eax
add esp, 0x6c
ret
lea edi, [esp + 0x80]
lea esi, [esp + 0x50]
call fcn.004664ba
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x6c
ret
mov eax, 1
mov ecx, edx
call fcn.00465e00
mov eax, 1
mov ecx, edi
call fcn.00465e00
mov eax, 5
mov ecx, esi
call fcn.00465e00
mov eax, ebp
mov ecx, esi
call fcn.00465e00
mov eax, edi
mov ecx, edx
call fcn.00465e60
mov eax, 3
mov ecx, ebx
call fcn.00465e00
mov eax, 3
mov ecx, ebx
call fcn.00465e00
mov eax, 3
mov ecx, ebx
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.00568850