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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x4a00a0]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x28], 0xf
push eax
mov dword [esp + 0x28], 0
mov ecx, dword [edi]
mov byte [esp + 0x18], 0
call fcn.004065c0
test al, al
je 0x415978
push str.components
lea ecx, [esp + 0x18]
call fcn.00415bb0
test eax, eax
jne 0x415978
mov ecx, dword [edi]
call fcn.00406350
test eax, eax
je 0x415557
xor bl, bl
jmp 0x41597a
mov ecx, dword [edi]
lea eax, [esp + 0x14]
push eax
call fcn.004065c0
test al, al
je 0x415974
cmp dword [esp + 0x28], 0x10
lea ecx, [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov edx, 9
cmovae ecx, dword [esp + 0x14]
cmp ebx, edx
cmovb edx, ebx
test edx, edx
je 0x4155e9
mov esi, str.component
sub edx, 4
jb 0x4155a6
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x4155ab
add ecx, 4
add esi, 4
sub edx, 4
jae 0x415595
cmp edx, 0xfffffffc
je 0x4155df
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x4155d8
cmp edx, 0xfffffffd
je 0x4155df
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x4155d8
cmp edx, 0xfffffffe
je 0x4155df
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x4155d8
cmp edx, 0xffffffff
je 0x4155df
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x4155df
sbb eax, eax
or eax, 1
jmp 0x4155e1
xor eax, eax
test eax, eax
jne 0x415974
cmp ebx, 9
jb 0x415974
ja 0x415974
mov ecx, dword [edi]
call fcn.00406350
test eax, eax
jne 0x415974
mov ecx, dword [edi]
lea eax, [esp + 0x14]
push eax
call fcn.004065c0
test al, al
je 0x415974
cmp dword [esp + 0x28], 0x10
lea ecx, [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov edx, 4
cmovae ecx, dword [esp + 0x14]
cmp ebx, edx
cmovb edx, ebx
test edx, edx
je 0x415699
mov esi, str.name
sub edx, 4
jb 0x415656
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x41565b
add ecx, 4
add esi, 4
sub edx, 4
jae 0x415645
cmp edx, 0xfffffffc
je 0x41568f
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x415688
cmp edx, 0xfffffffd
je 0x41568f
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x415688
cmp edx, 0xfffffffe
je 0x41568f
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x415688
cmp edx, 0xffffffff
je 0x41568f
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x41568f
sbb eax, eax
or eax, 1
jmp 0x415691
xor eax, eax
test eax, eax
jne 0x415974
cmp ebx, 4
jb 0x415974
ja 0x415974
mov ecx, dword [edi]
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
call fcn.00406690
test al, al
je 0x41596b
mov ecx, dword [edi]
call fcn.00406430
test eax, eax
jne 0x41596b
mov ecx, dword [edi]
lea eax, [esp + 0x14]
push eax
call fcn.004065c0
test al, al
je 0x41596b
cmp dword [esp + 0x28], 0x10
lea eax, [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov edx, 4
cmovae eax, dword [esp + 0x14]
cmp ebx, edx
cmovb edx, ebx
test edx, edx
je 0x415774
mov esi, str.path
sub edx, 4
jb 0x415731
nop
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x415736
add eax, 4
add esi, 4
sub edx, 4
jae 0x415720
cmp edx, 0xfffffffc
je 0x41576a
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x415763
cmp edx, 0xfffffffd
je 0x41576a
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x415763
cmp edx, 0xfffffffe
je 0x41576a
mov cl, byte [eax + 2]
cmp cl, byte [esi + 2]
jne 0x415763
cmp edx, 0xffffffff
je 0x41576a
mov al, byte [eax + 3]
cmp al, byte [esi + 3]
je 0x41576a
sbb eax, eax
or eax, 1
jmp 0x41576c
xor eax, eax
test eax, eax
jne 0x41596b
cmp ebx, 4
jb 0x41596b
ja 0x41596b
mov ecx, dword [edi]
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
call fcn.00406690
test al, al
je 0x415962
push dword [esp + 0x54]
xor eax, eax
mov dword [esp + 0x44], 7
cmp dword [esp + 0x5c], 0x10
mov word [esp + 0x30], ax
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x44], 0
push eax
call fcn.0042ade0
mov ecx, 0x49a6e0
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4157f0
sub ecx, edx
lea eax, [esp + 0x2c]
sar ecx, 1
push ecx
push 0x49a6e0
push eax
lea ecx, [esp + 0x80]
call fcn.0041c480
mov eax, dword [esp + 0x94]
add esp, 0xc
cmp eax, 8
jb 0x415834
inc eax
lea ecx, [esp + 0x74]
push eax
push dword [esp + 0x78]
call fcn.004055d0
sub esp, 0x18
lea eax, [esp + 0x44]
mov edx, esp
sub esp, 8
cmp dword [esp + 0x60], 8
mov ecx, esp
cmovae eax, dword [esp + 0x4c]
mov dword [ecx], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 4], eax
mov ecx, edx
call fcn.0041e020
sub esp, 0x18
lea eax, [esp + 0x8c]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00404d20
lea ecx, [esp + 0xa4]
call fcn.00413160
mov ecx, dword [esp + 0x10]
push eax
lea ecx, [ecx + 0xc4]
call fcn.00415a20
lea ecx, [esp + 0x74]
call fcn.004159b0
mov ecx, dword [edi]
call fcn.00406510
test eax, eax
jne 0x415959
mov eax, dword [esp + 0x40]
cmp eax, 8
jb 0x4158cf
inc eax
lea ecx, [esp + 0x2c]
push eax
push dword [esp + 0x30]
call fcn.004055d0
xor eax, eax
mov dword [esp + 0x40], 7
mov word [esp + 0x2c], ax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x3c], 0
cmp eax, 0x10
jb 0x4158fe
inc eax
lea ecx, [esp + 0x44]
push eax
push dword [esp + 0x48]
call fcn.00405140
mov eax, dword [esp + 0x70]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
cmp eax, 0x10
jb 0x41592b
inc eax
lea ecx, [esp + 0x5c]
push eax
push dword [esp + 0x60]
call fcn.00405140
mov ecx, dword [edi]
call fcn.00406430
test eax, eax
je 0x415557
cmp eax, 2
je 0x415974
mov ecx, dword [edi]
call fcn.00406510
test eax, eax
jne 0x415974
mov ecx, dword [edi]
call fcn.00406430
cmp eax, 1
sete bl
jmp 0x41597a
lea ecx, [esp + 0x2c]
call fcn.00403da0
lea ecx, [esp + 0x44]
call fcn.00403f30
lea ecx, [esp + 0x5c]
call fcn.00403f30
xor bl, bl
jmp 0x41597a
mov bl, 1
mov ecx, dword [esp + 0x28]
cmp ecx, 0x10
jb 0x415992
inc ecx
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x1c]
call fcn.00405140
mov ecx, dword [esp + 0xa4]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00466c90
mov esp, ebp
pop ebp
ret 4