Function at 0x467090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x15c
push ebx
mov ebx, dword [esp + 0x164]
push ebp
push esi
mov eax, dword [ebx + 0x3ce8]
xor ebp, ebp
xor esi, esi
cmp eax, ebp
push edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], ebp
je 0x4676af
push 0x800
call fcn.004df770
add esp, 4
cmp eax, ebp
mov dword [esp + 0x28], eax
je 0x4676b7
mov eax, dword [ebx + 0x3ce8]
mov edi, dword [esp + 0x28]
push eax
push edi
call fcn.00526ae2
push str.ldlinux.sys
push edi
call fcn.00526ab8
push 0x2f
push 0x5c
push edi
call fcn.004e2220
mov ecx, dword [ebx + 0x1428]
push edi
push ecx
push ebx
call fcn.004193b0
add esp, 0x28
test eax, eax
jne 0x4676af
push 0x200
call fcn.004df770
add esp, 4
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x4676b7
fld dword [ebx + 0x3cec]
fcomp dword [0x589154]
fnstsw ax
test ah, 0x41
jne 0x4671ea
fld dword [ebx + 0x3cec]
fcomp dword [0x589150]
fnstsw ax
test ah, 1
je 0x467180
mov edx, dword [0x720e88]
mov esi, dword [0x720e78]
mov dword [esp + 0x20], edx
jmp 0x4671ee
fld dword [ebx + 0x3cec]
fcomp dword [0x58914c]
fnstsw ax
test ah, 1
je 0x4671a9
mov eax, dword [0x720e8c]
mov esi, dword [0x720e7c]
mov dword [esp + 0x20], eax
mov ebp, 0x400
jmp 0x4671ee
fld dword [ebx + 0x3cec]
fcomp dword [0x589148]
fnstsw ax
test ah, 1
je 0x4671d3
mov ecx, dword [0x720e90]
mov esi, dword [0x720e80]
mov dword [esp + 0x20], ecx
mov ebp, 0x400
jmp 0x4671ee
mov edx, dword [0x720e94]
mov esi, dword [0x720e84]
mov dword [esp + 0x20], edx
mov ebp, 0x400
jmp 0x4671ee
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x20]
lea eax, [edi + ebp]
push eax
mov dword [esp + 0x34], eax
call fcn.004df770
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4676b7
mov ecx, edi
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test ebp, ebp
rep movsb byte es:[edi], byte [esi]
je 0x467231
mov ecx, edx
add ecx, eax
push ecx
call fcn.00466ac0
add esp, 4
mov edx, dword [ebx + 0x3ce8]
mov edi, dword [esp + 0x28]
push edx
push edi
call fcn.00526ae2
push str.ldlinux.sys
push edi
call fcn.00526ab8
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18c]
push 0
push eax
push ecx
push esi
push edi
call fcn.00468820
add esp, 0x24
test eax, eax
je 0x4676b7
mov edx, dword [ebx + 0x3ce8]
push edx
push edi
call fcn.00526ae2
push str.isolinux.cfg
push edi
call fcn.00526ab8
push 0x2f
push 0x5c
push edi
call fcn.004e2220
mov eax, dword [ebx + 0x1428]
push edi
push eax
push ebx
call fcn.004193b0
mov edi, eax
xor ebp, ebp
add esp, 0x28
cmp edi, ebp
je 0x4672ed
mov ecx, dword [ebx + 0x3ce8]
mov edx, esi
push str.syslinux.cfg
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x78]
push str._C:_s_s
push eax
call fcn.00526ec2
lea ecx, [esp + 0x80]
push ecx
push edi
push ebx
push ebp
call fcn.00474770
add esp, 0x24
cmp eax, 1
jne 0x4676b7
mov edx, dword [esp + 0x180]
mov eax, dword [esp + 0x178]
push 0x3c
push ebp
push edx
push eax
push 1
call fcn.004de790
add esp, 0x14
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x4676b7
mov ecx, dword [0x7f3020]
mov edx, dword [esp + 0x10]
push 0x200
push ebp
shl ecx, 9
push ecx
push edx
push eax
call fcn.004dfa70
add esp, 0x14
test eax, eax
je 0x4676b7
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x1fe], 0x55
jne 0x4676b7
mov edx, ecx
cmp byte [edx + 0x1ff], 0xaa
jne 0x4676b7
mov eax, dword [esp + 0x14]
push eax
call fcn.004dea50
mov ecx, dword [ebx + 0x3ce8]
push str.ldlinux.sys
and esi, 0xffff
push ecx
push esi
lea edx, [esp + 0x7c]
push str._C:_s_s
push edx
mov dword [esp + 0x2c], ebp
call fcn.00526ec2
add esp, 0x18
lea eax, [esp + 0x6c]
push ebp
push ebp
push 3
push ebp
push 3
push 0xc0000000
push eax
call dword [0x703240]
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x4676b7
mov edi, dword [esp + 0x10]
xor ecx, ecx
xor eax, eax
mov cl, byte [edi + 0xd]
mov edx, dword [edi + 0x24]
mov ax, word [edi + 0xe]
mov dword [esp + 0x48], ecx
lea ecx, [eax + edx*2]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x64], ecx
lea eax, [edx + 0x1ff]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
mov dword [esp + 0x3c], eax
shl eax, 3
push eax
call fcn.004df770
lea ecx, [esp + 0x50]
mov esi, eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x44]
push ecx
push edx
push eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
call fcn.00466ec0
add esp, 0x10
cmp eax, 1
jne 0x4674fd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
test eax, eax
jl 0x4676b7
jg 0x46743e
test ecx, ecx
jb 0x4676b7
push eax
xor edi, edi
push ecx
mov ecx, dword [esp + 0x50]
push edi
push ecx
call fcn.00526dd0
mov ecx, dword [esp + 0x50]
mov ebx, eax
mov eax, dword [esp + 0x4c]
mov ebp, edx
mov edx, dword [esp + 0x54]
push edi
sub edx, eax
mov eax, dword [esp + 0x5c]
sbb eax, ecx
mov ecx, dword [esp + 0x4c]
push ecx
push eax
push edx
call fcn.00526dd0
mov ecx, eax
add eax, 0xffffffff
mov edi, edx
adc edx, 0xffffffff
or ecx, edi
je 0x4674be
mov ecx, dword [esp + 0x64]
add ebx, ecx
mov ecx, 0
adc ebp, ecx
mov edi, ebx
mov ebx, ebp
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
cmp ecx, ebp
jge 0x4674be
mov dword [esi], edi
mov dword [esi + 4], ebx
add esi, 8
add edi, 1
adc ebx, 0
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, eax
add eax, 0xffffffff
mov ebp, edx
adc edx, 0xffffffff
or ecx, ebp
jne 0x467491
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x40]
push ecx
push edx
push eax
call fcn.00466ec0
add esp, 0xc
cmp eax, 1
je 0x467424
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x170]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004df7b0
mov edx, dword [ebx + 0x3ce8]
xor ebp, ebp
push 0x686cb0
push edx
mov dword [esp + 0x24], ebp
call fcn.00526bed
add esp, 0xc
test eax, eax
je 0x46756d
mov eax, dword [ebx + 0x3ce8]
mov ecx, dword [0x7150f4]
push eax
push ecx
call fcn.00526ae2
mov edx, dword [0x7150f4]
push 0x2f
push 0x5c
push edx
call fcn.004e2220
push 0x400
call fcn.004df770
push 0x40000
push ebp
mov dword [esp + 0x54], eax
push eax
mov eax, dword [0x7150f4]
push 0xffffffffffffffff
push eax
call fcn.0042d870
add esp, 0x2c
fld dword [ebx + 0x3cec]
fcomp dword [0x589154]
fnstsw ax
test ah, 0x41
jne 0x4675e0
fld dword [ebx + 0x3cec]
fcomp dword [0x589150]
push ebp
fnstsw ax
test ah, 1
je 0x4675b8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ebp
push ecx
push esi
push edx
push eax
push edi
call fcn.00466b30
add esp, 0x1c
test eax, eax
jl 0x4676b7
jmp 0x4675e0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x24]
push ebp
push ebp
push edx
push esi
push eax
push ecx
push edi
call fcn.00466c20
add esp, 0x24
test eax, eax
jl 0x4676b7
push ebp
push 0x80
push 3
push ebp
push 1
lea edx, [esp + 0x80]
push 0xc0000000
push edx
call dword [0x703240]
mov esi, eax
cmp esi, 0xffffffff
jne 0x467612
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x15c
ret
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
push eax
push ebp
push ebp
push ecx
push esi
call fcn.004dfbc0
push esi
call fcn.004df7b0
mov edx, dword [esp + 0x198]
mov eax, dword [esp + 0x190]
push 0x1e
push ebp
push edx
push eax
push 1
mov dword [esp + 0x44], ebp
call fcn.004de790
add esp, 0x2c
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x4676b7
mov ecx, dword [0x7f3020]
mov edx, dword [esp + 0x10]
push 0x200
push ebp
shl ecx, 9
push ecx
push edx
push eax
call fcn.004dfb90
add esp, 0x14
test eax, eax
je 0x4676b7
mov eax, dword [esp + 0x174]
cmp eax, ebp
je 0x4676af
mov eax, dword [eax + 0x18]
cmp eax, ebp
je 0x4676af
mov ecx, dword [0x7f3020]
mov edx, dword [esp + 0x10]
add eax, ecx
push 0x200
shl eax, 9
push ebp
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.004dfb90
add esp, 0x14
test eax, eax
je 0x4676b7
mov dword [esp + 0x2c], 1
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004df7a0
mov edx, dword [esp + 0x2c]
push edx
call fcn.004df7a0
mov eax, dword [esp + 0x24]
push eax
call fcn.004df7a0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004df7a0
mov edx, dword [esp + 0x48]
push edx
call fcn.004df7a0
mov eax, dword [esp + 0x2c]
push eax
call fcn.004df7b0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004dea50
mov eax, dword [esp + 0x48]
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15c
ret