Function at 0x41c100
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edi
call fcn.004076d0
mov eax, str.type
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], edi
mov byte [ebp - 0x3c], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c140
sub eax, edx
push eax
push str.type
lea ecx, [ebp - 0x3c]
call fcn.004076f0
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, esi
call fcn.004077f0
cmp dword [ebp - 0x28], 0x10
jb 0x41c178
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00406ca9
add esp, 4
mov eax, str.renderer
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c180
mov ebx, dword [ebp - 0x10]
sub eax, edx
mov esi, eax
mov ecx, ebx
cmp ebx, esi
jb 0x41c196
mov ecx, esi
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
cmp edi, 0x10
jae 0x41c1a4
lea eax, [ebp - 0x20]
push ecx
push str.renderer
push eax
call fcn.00407f60
add esp, 0xc
test eax, eax
jne 0x41c1c4
cmp ebx, esi
jb 0x41c1c4
cmp ebx, esi
setne al
test eax, eax
je 0x41c21a
mov eax, str.compute_only_renderer
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c1d0
sub eax, edx
mov esi, eax
mov ecx, ebx
cmp ebx, esi
jb 0x41c1e3
mov ecx, esi
mov eax, dword [ebp - 0x20]
cmp edi, 0x10
jae 0x41c1ee
lea eax, [ebp - 0x20]
push ecx
push str.compute_only_renderer
push eax
call fcn.00407f60
add esp, 0xc
test eax, eax
jne 0x41c433
cmp ebx, esi
jb 0x41c433
cmp ebx, esi
setne al
test eax, eax
jne 0x41c433
lea ecx, [ebp - 0x74]
call fcn.0041c460
mov ecx, dword [0x525144]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, eax
mov eax, str.compute_only_renderer
mov dword [ebp - 0x5c], edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c240
mov ebx, dword [ebp - 0x10]
sub eax, edx
mov esi, eax
mov eax, ebx
cmp ebx, esi
jb 0x41c256
mov eax, esi
cmp dword [ebp - 0xc], 0x10
mov ecx, dword [ebp - 0x20]
jae 0x41c262
lea ecx, [ebp - 0x20]
push eax
push str.compute_only_renderer
push ecx
call fcn.00407f60
add esp, 0xc
test eax, eax
jne 0x41c28a
cmp ebx, esi
jb 0x41c28a
cmp ebx, esi
setne al
test eax, eax
jne 0x41c28a
push edi
call fcn.00457880
jmp 0x41c290
push edi
call fcn.00424450
mov ebx, dword [ebp - 0x60]
add esp, 4
cmp dword [ebx + 0x10], 0
mov esi, 8
je 0x41c320
cmp dword [ebx + 0x14], esi
jb 0x41c2aa
mov eax, dword [ebx]
jmp 0x41c2ac
mov eax, ebx
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x2c]
push 0
push 0
mov ecx, edi
call eax
test eax, eax
jne 0x41c300
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, ebx
mov dword [ebp - 0x64], 0x4eaa68
mov dword [ebp - 0x60], 1
call fcn.004547e0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x28], esi
jae 0x41c2e6
lea eax, [ebp - 0x3c]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x2c]
push 0
push 0
mov ecx, edi
call eax
lea ecx, [ebp - 0x3c]
test eax, eax
je 0x41c31b
call fcn.00406ef0
lea ecx, [ebp - 0x74]
call fcn.00430480
cmp dword [ebp - 0xc], 0x10
jb 0x41c444
mov ecx, dword [ebp - 0x20]
push ecx
jmp 0x41c43c
call fcn.00406ef0
push edi
mov edi, dword [ebp - 0x78]
push edi
call fcn.00425cf0
add esp, 8
test al, al
jne 0x41c342
lea ecx, [ebp - 0x74]
call fcn.00430480
cmp dword [ebp - 0xc], 0x10
jmp 0x41c436
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.00417770
cmp dword [eax + 0x14], esi
jb 0x41c356
mov ebx, dword [eax]
jmp 0x41c358
mov ebx, eax
lea ecx, [ebp - 0x58]
push ecx
mov ecx, edi
call fcn.00419dd0
cmp dword [eax + 0x14], esi
jb 0x41c36c
mov edi, dword [eax]
jmp 0x41c36e
mov edi, eax
mov edx, dword [0x525144]
mov esi, dword [edx]
lea ecx, [ebp - 0x74]
call fcn.0042d380
mov ecx, dword [0x525144]
mov edx, dword [esi + 8]
push eax
mov eax, dword [ebp - 0x5c]
push eax
push ebx
push edi
call edx
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.00406ef0
cmp dword [ebp - 0x28], 8
jb 0x41c3ac
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00406ca9
add esp, 4
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x41c3dd
lea ecx, [ebp - 0x74]
call fcn.00430480
lea ecx, [ebp - 0x20]
call fcn.004355a0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov eax, dword [0x52513c]
test eax, eax
je 0x41c3fc
cmp byte [eax + 0x57], 0
je 0x41c3fc
call fcn.00435510
push 0x4e596c
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea ecx, [ebp - 0x74]
call fcn.00435590
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.00430480
lea ecx, [ebp - 0x20]
call fcn.004355a0
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
cmp edi, 0x10
jb 0x41c444
mov edx, dword [ebp - 0x20]
push edx
call fcn.00406ca9
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret