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

Disassembly:
push 0xffffffffffffffff
push 0x4f8535
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xa4]
xor ebx, ebx
mov esi, ecx
mov dword [edi + 4], ebx
mov dword [esp + 0x9c], ebx
mov dword [edi], 0x51e6b8
call fcn.00466b10
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], ebx
lea ebp, [edi + 0x2c]
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
mov byte [ebp + 4], bl
cmp esi, ebx
mov byte [esp + 0x9c], 2
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov byte [edi + 0x1c], bl
mov byte [edi + 0x1d], bl
mov byte [edi + 0x1e], 1
je 0x406558
cmp dword [esi + 8], 2
mov dword [esp + 0x18], esi
je 0x405d10
mov dword [esp + 0x18], 0x54c9a0
mov esi, dword [str.name]
mov eax, esi
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
lea edi, [eax + 1]
jmp 0x405d30
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405d30
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x60]
call fcn.00401eb0
mov eax, dword [esp + 0x18]
mov byte [esp + 0x9c], 3
mov esi, dword [eax + 0x4c]
lea ecx, [esp + 0x58]
add eax, 0x44
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.0040cea0
cmp dword [esp + 0x38], esi
mov byte [esp + 0x9c], 2
mov eax, dword [esp + 0x70]
setne byte [esp + 0x13]
cmp eax, 0x10
jb 0x405d92
mov eax, dword [esp + 0x5c]
push eax
call fcn.004c2c15
add esp, 4
cmp byte [esp + 0x13], bl
mov eax, 0xf
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
je 0x405e7b
mov edx, dword [str.name]
mov dword [esp + 0x54], eax
mov eax, edx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405dc4
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.00401eb0
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push ecx
mov eax, edi
mov byte [esp + 0xa0], 4
call fcn.0040ee40
cmp eax, ebx
je 0x405dfa
cmp dword [eax + 8], 1
je 0x405dff
mov eax, 0x54ca70
mov edx, dword [eax]
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
call dword [edx + 0x18]
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0xa8], 5
call fcn.00401510
mov eax, dword [esp + 0x90]
mov esi, 0x10
cmp eax, esi
jb 0x405e3b
mov edx, dword [esp + 0x7c]
push edx
call fcn.004c2c15
add esp, 4
mov byte [esp + 0x9c], 2
cmp dword [esp + 0x54], esi
mov ebp, 0xf
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
jb 0x405e6d
mov eax, dword [esp + 0x40]
push eax
call fcn.004c2c15
add esp, 4
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
jmp 0x405e7f
mov edi, dword [esp + 0x18]
mov edx, dword [0x54b938]
mov eax, edx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405ea0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00401eb0
mov byte [esp + 0x9c], 6
mov ebp, dword [esp + 0x14]
mov esi, dword [edi + 0x4c]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
call fcn.0040cea0
cmp dword [esp + 0x14], esi
mov byte [esp + 0x9c], 2
mov eax, dword [esp + 0x34]
setne byte [esp + 0x13]
cmp eax, 0x10
jb 0x405efb
mov eax, dword [esp + 0x20]
push eax
call fcn.004c2c15
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
je 0x405fa4
mov edx, dword [0x54b938]
mov eax, edx
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405f30
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.00401eb0
lea ecx, [esp + 0x3c]
push ecx
mov eax, edi
mov byte [esp + 0xa0], 7
call fcn.0040ee40
cmp eax, ebx
je 0x405f62
cmp dword [eax + 8], 1
je 0x405f67
mov eax, 0x54ca70
mov ecx, eax
call fcn.0040ea20
mov edx, dword [esp + 0xa4]
mov dword [edx + 0x14], eax
mov byte [esp + 0x9c], 2
cmp dword [esp + 0x54], 0x10
jb 0x405f94
mov eax, dword [esp + 0x40]
push eax
call fcn.004c2c15
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
mov edx, dword [0x54b93c]
mov eax, edx
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405fc0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x60]
call fcn.00401eb0
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x18]
mov byte [esp + 0xa0], 8
mov esi, dword [edi + 0x4c]
push edx
mov ecx, ebp
call fcn.0040cea0
cmp dword [esp + 0x14], esi
mov byte [esp + 0x9c], 2
mov eax, dword [esp + 0x70]
setne byte [esp + 0x13]
cmp eax, 0x10
jb 0x406017
mov eax, dword [esp + 0x5c]
push eax
call fcn.004c2c15
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
je 0x4060c4
mov edx, dword [0x54b93c]
mov eax, edx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406050
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00401eb0
lea ecx, [esp + 0x1c]
push ecx
mov eax, edi
mov byte [esp + 0xa0], 9
call fcn.0040ee40
cmp eax, ebx
je 0x406082
cmp dword [eax + 8], 1
je 0x406087
mov eax, 0x54ca70
mov ecx, eax
call fcn.0040ea20
mov edx, dword [esp + 0xa4]
mov dword [edx + 0x18], eax
mov byte [esp + 0x9c], 2
cmp dword [esp + 0x34], 0x10
jb 0x4060b4
mov eax, dword [esp + 0x20]
push eax
call fcn.004c2c15
add esp, 4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov edx, dword [str.suspended]
mov eax, edx
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4060e0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.00401eb0
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x18]
mov byte [esp + 0xa0], 0xa
mov esi, dword [edi + 0x4c]
push edx
mov ecx, ebp
call fcn.0040cea0
cmp dword [esp + 0x14], esi
mov byte [esp + 0x9c], 2
mov eax, dword [esp + 0x54]
setne byte [esp + 0x13]
cmp eax, 0x10
jb 0x406137
mov eax, dword [esp + 0x40]
push eax
call fcn.004c2c15
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
je 0x406211
mov edx, dword [str.suspended]
mov eax, edx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406170
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00401eb0
lea ecx, [esp + 0x1c]
push ecx
mov eax, edi
mov byte [esp + 0xa0], 0xb
call fcn.0040ee40
cmp eax, ebx
je 0x4061a2
cmp dword [eax + 8], 1
je 0x4061a7
mov eax, 0x54ca70
cmp dword [eax + 0x58], ebx
je 0x4061d9
push str.false
lea esi, [eax + 0x44]
call fcn.004c2fd0
mov edx, dword [esi + 0x14]
add esp, 4
push eax
push str.false
push edx
push ebx
mov ecx, esi
call fcn.00410890
test eax, eax
je 0x4061d9
mov eax, 1
jmp 0x4061db
xor eax, eax
mov ecx, dword [esp + 0xa4]
mov byte [ecx + 0x1d], al
mov byte [esp + 0x9c], 2
cmp dword [esp + 0x34], 0x10
jb 0x406201
mov edx, dword [esp + 0x20]
push edx
call fcn.004c2c15
add esp, 4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov edx, dword [str.visible]
mov eax, edx
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406230
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x60]
call fcn.00401eb0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0xa4], 0xc
mov esi, dword [edi + 0x4c]
mov ecx, ebp
call fcn.0040cea0
cmp dword [esp + 0x14], esi
mov byte [esp + 0x9c], 2
mov eax, dword [esp + 0x70]
setne byte [esp + 0x13]
cmp eax, 0x10
jb 0x406287
mov edx, dword [esp + 0x5c]
push edx
call fcn.004c2c15
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
je 0x406361
mov edx, dword [str.visible]
mov eax, edx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4062c0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00401eb0
lea eax, [esp + 0x1c]
push eax
mov eax, edi
mov byte [esp + 0xa0], 0xd
call fcn.0040ee40
cmp eax, ebx
je 0x4062f2
cmp dword [eax + 8], 1
je 0x4062f7
mov eax, 0x54ca70
cmp dword [eax + 0x58], ebx
je 0x406329
push str.false
lea esi, [eax + 0x44]
call fcn.004c2fd0
mov ecx, dword [esi + 0x14]
add esp, 4
push eax
push str.false
push ecx
push ebx
mov ecx, esi
call fcn.00410890
test eax, eax
je 0x406329
mov eax, 1
jmp 0x40632b
xor eax, eax
mov edx, dword [esp + 0xa4]
mov byte [edx + 0x1e], al
mov byte [esp + 0x9c], 2
cmp dword [esp + 0x34], 0x10
jb 0x406351
mov eax, dword [esp + 0x20]
push eax
call fcn.004c2c15
add esp, 4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov edx, dword [str.children]
mov eax, edx
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406380
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.00401eb0
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x18]
mov byte [esp + 0xa0], 0xe
mov esi, dword [edi + 0x4c]
push edx
mov ecx, ebp
call fcn.0040cea0
cmp dword [esp + 0x14], esi
mov byte [esp + 0x9c], 2
mov eax, dword [esp + 0x54]
setne byte [esp + 0x13]
cmp eax, 0x10
jb 0x4063d7
mov eax, dword [esp + 0x40]
push eax
call fcn.004c2c15
add esp, 4
cmp byte [esp + 0x13], bl
mov ebp, 0xf
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
je 0x40654f
mov edx, dword [str.children]
mov eax, edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406410
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00401eb0
lea ecx, [esp + 0x1c]
push ecx
mov eax, edi
mov byte [esp + 0xa0], 0xf
call fcn.0040ee40
cmp eax, ebx
je 0x406444
cmp dword [eax + 8], 3
mov esi, eax
je 0x406449
mov esi, 0x54ca10
mov byte [esp + 0x9c], 2
cmp dword [esp + 0x34], 0x10
mov dword [esp + 0x18], esi
jb 0x406469
mov edx, dword [esp + 0x20]
push edx
call fcn.004c2c15
add esp, 4
xor edx, edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x38], edx
jmp 0x406480
mov ecx, dword [esi + 0x48]
cmp ecx, ebx
jne 0x40648b
xor eax, eax
jmp 0x406493
mov eax, dword [esi + 0x4c]
sub eax, ecx
sar eax, 3
cmp edx, eax
jge 0x40654f
mov eax, edx
mov edx, esi
call fcn.0040eec0
cmp eax, ebx
je 0x4064b0
cmp dword [eax + 8], 2
mov ebp, eax
je 0x4064b5
mov ebp, 0x54c9a0
mov eax, dword [0x54c944]
cmp eax, ebx
jne 0x4064c8
call fcn.00401250
mov eax, dword [0x54c944]
mov ecx, dword [eax + 0x10]
lea edi, [ebp + 0xc]
push edi
lea edx, [esp + 0x78]
lea esi, [eax + 8]
push edx
push esi
mov dword [esp + 0x20], ecx
call fcn.0040c960
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x74], eax
je 0x4064fc
mov ecx, esi
call fcn.0041d570
push ebp
call dword [eax]
add esp, 4
mov esi, eax
jmp 0x4064fe
xor esi, esi
call fcn.004122c0
mov ecx, dword [esp + 0xa4]
mov dword [esi + 8], ecx
mov eax, dword [ecx + 0x10]
cmp eax, ebx
jne 0x40652b
mov eax, dword [esp + 0x38]
inc eax
mov dword [ecx + 0x10], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov edx, eax
jmp 0x406480
cmp dword [eax + 0xc], ebx
je 0x406538
mov eax, dword [eax + 0xc]
cmp dword [eax + 0xc], ebx
jne 0x406530
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
inc eax
mov dword [esp + 0x38], eax
mov edx, eax
jmp 0x406480
mov eax, dword [esp + 0xa4]
jmp 0x40655a
mov eax, edi
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret 4