Function at 0x41cdf0
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
sub esp, 8
mov eax, dword [0x86ff3c]
mov edx, 0x20
sub edx, dword [eax + 0x820]
mov eax, dword [eax + 0x808]
mov ecx, dword [eax]
mov dword [esp], ecx
mov eax, dword [esp]
bswap eax
mov dword [esp], eax
mov ecx, dword [0x86ff3c]
mov ecx, dword [ecx + 0x820]
or eax, 0xffffffff
shr eax, cl
lea ecx, [edx - 0x1b]
and eax, dword [esp]
shr eax, cl
cmp eax, 8
jne 0x41d34b
push edi
lea edi, [eax + 0x13]
call fcn.0041be20
mov edi, 5
call fcn.0041be20
mov edi, 0x1c
call fcn.0041be20
cmp eax, 0x12
je 0x41ce62
push 0x65
call dword [sym.imp.MSVCR90.dll_exit]
push ebx
mov edi, 4
call fcn.0041be20
mov edx, dword [0x86fedc]
mov ebx, 1
mov edi, ebx
mov dword [edx + 4], eax
call fcn.0041be20
mov ecx, dword [0x86fedc]
lea edi, [ebx + 7]
mov dword [ecx + 8], eax
call fcn.0041be20
mov edx, dword [0x86fedc]
mov edi, ebx
mov dword [edx + 0xc], eax
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x10], eax
mov eax, dword [0x86fedc]
cmp dword [eax + 0x10], 0
je 0x41cedb
lea edi, [ebx + 3]
call fcn.0041be20
mov edx, dword [0x86fedc]
lea edi, [ebx + 2]
mov dword [edx + 0x14], eax
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x18], eax
jmp 0x41cee7
mov dword [eax + 0x14], ebx
mov edx, dword [0x86fedc]
mov dword [edx + 0x18], ebx
mov edi, 4
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov edi, ebx
mov dword [ecx + 0x1c], eax
call fcn.0041be20
mov edx, dword [0x86fedc]
mov dword [edx + 0x20], eax
mov eax, dword [0x86fedc]
cmp dword [eax + 0x20], 0
je 0x41cfdb
mov edi, 2
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov edi, ebx
mov dword [ecx + 0x24], eax
call fcn.0041be20
mov edx, dword [0x86fedc]
mov dword [edx + 0x28], eax
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x2c], eax
mov edx, dword [0x86fedc]
cmp dword [edx + 0x2c], 0
je 0x41cfdb
mov edi, 0xf
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x30], eax
call fcn.0041db50
call fcn.0041be20
mov edx, dword [0x86fedc]
mov dword [edx + 0x34], eax
call fcn.0041db50
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x38], eax
call fcn.0041db50
mov edi, 3
call fcn.0041be20
mov edx, dword [0x86fedc]
mov edi, 0xb
mov dword [edx + 0x3c], eax
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x40], eax
call fcn.0041db50
mov edi, 0xf
call fcn.0041be20
mov edx, dword [0x86fedc]
mov dword [edx + 0x44], eax
call fcn.0041db50
mov edi, 2
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x48], eax
call fcn.0041db50
mov edi, 0x10
call fcn.0041be20
mov edx, dword [0x86fedc]
mov dword [edx + 0x4c], eax
call fcn.0041db50
mov edi, ebx
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x50], eax
mov eax, dword [0x86fedc]
cmp dword [eax + 0x50], 0
je 0x41d070
fild dword [eax + 0x4c]
call sub.MSVCR90.dll__CIlog
fstp qword [esp + 8]
fld qword [0x43ba78]
call sub.MSVCR90.dll__CIlog
fdivr qword [esp + 8]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCR90.dll_ceil]
add esp, 8
call fcn.0042a270
cmp eax, ebx
jge 0x41d05b
mov eax, ebx
mov edi, eax
call fcn.0041be20
mov edx, dword [0x86fedc]
mov dword [edx + 0x54], eax
mov eax, dword [0x86fedc]
mov eax, dword [eax + 0x48]
cmp eax, 2
je 0x41d343
test eax, eax
jne 0x41d0b0
call fcn.0041db50
mov edi, 0xd
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x58], eax
call fcn.0041db50
call fcn.0041be20
mov edx, dword [0x86fedc]
mov dword [edx + 0x5c], eax
call fcn.0041db50
mov edi, ebx
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x60], eax
call fcn.0041be20
mov edx, dword [0x86fedc]
mov dword [edx + 0x64], eax
mov eax, dword [0x86fedc]
cmp dword [eax + 0x14], ebx
jne 0x41d0e8
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x68], eax
jmp 0x41d0fb
mov edi, 2
call fcn.0041be20
mov edx, dword [0x86fedc]
mov dword [edx + 0x68], eax
mov edi, ebx
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x6c], eax
mov eax, dword [0x86fedc]
cmp dword [eax + 0x6c], 0
je 0x41d139
mov edi, 4
call fcn.0041be20
mov edx, dword [0x86fedc]
mov dword [edx + 0x70], eax
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x74], eax
jmp 0x41d14d
mov dword [eax + 0x70], 5
mov edx, dword [0x86fedc]
mov dword [edx + 0x74], 8
mov eax, dword [0x86fedc]
cmp dword [eax + 0x48], 3
jne 0x41d160
push 0x66
call dword [sym.imp.MSVCR90.dll_exit]
mov edi, ebx
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x78], eax
mov edx, dword [0x86fedc]
cmp dword [edx + 0x78], 0
je 0x41d279
push esi
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x7c], eax
mov edx, dword [0x86fedc]
cmp dword [edx + 0x7c], 0
je 0x41d1f8
xor esi, esi
lea ecx, [ecx]
mov edi, 8
add esi, ebx
call fcn.0041be20
cmp esi, 0x40
mov ecx, dword [0x86fee0]
mov edx, dword [ecx + esi*4]
mov dword [ecx + edx*4 + 0x300], eax
jge 0x41d1f8
test eax, eax
jne 0x41d1a0
cmp esi, 0x40
jge 0x41d1f8
lea edx, [esi*4]
mov ecx, edx
mov eax, dword [0x86fee0]
mov esi, dword [edx + eax - 4]
mov edi, dword [ecx + eax]
mov esi, dword [eax + esi*4 + 0x300]
add ecx, 4
cmp ecx, 0x100
mov dword [eax + edi*4 + 0x300], esi
jl 0x41d1d3
mov edi, ebx
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x80], eax
mov edx, dword [0x86fedc]
cmp dword [edx + 0x80], 0
je 0x41d278
xor esi, esi
lea esp, [esp]
mov edi, 8
add esi, ebx
call fcn.0041be20
cmp esi, 0x40
mov ecx, dword [0x86fee0]
mov edx, dword [ecx + esi*4]
mov dword [ecx + edx*4 + 0x400], eax
jge 0x41d278
test eax, eax
jne 0x41d220
cmp esi, 0x40
jge 0x41d278
lea edx, [esi*4]
mov ecx, edx
mov eax, dword [0x86fee0]
mov esi, dword [edx + eax - 4]
mov edi, dword [ecx + eax]
mov esi, dword [eax + esi*4 + 0x400]
add ecx, 4
cmp ecx, 0x100
mov dword [eax + edi*4 + 0x400], esi
jl 0x41d253
pop esi
mov eax, dword [0x86fedc]
cmp dword [eax + 0x14], ebx
je 0x41d298
mov edi, ebx
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x84], eax
jmp 0x41d2a2
mov dword [eax + 0x84], 0
mov edi, ebx
call fcn.0041be20
mov edx, dword [0x86fedc]
mov dword [edx + 0x88], eax
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x8c], eax
call fcn.0041be20
mov edx, dword [0x86fedc]
mov dword [edx + 0x90], eax
mov eax, dword [0x86fedc]
cmp dword [eax + 0x90], 0
je 0x41d2ed
push 0x66
call dword [sym.imp.MSVCR90.dll_exit]
mov dword [eax + 0x8c], ebx
mov eax, dword [0x86fedc]
mov dword [eax + 0x94], 0
call fcn.0041be20
mov ecx, dword [0x86fedc]
mov dword [ecx + 0x98], eax
mov edx, dword [0x86fedc]
cmp dword [edx + 0x98], 0
je 0x41d32a
push 0x67
call dword [sym.imp.MSVCR90.dll_exit]
push 0x20
call fcn.0041cda0
add esp, 4
cmp eax, 0x1b2
jne 0x41d343
push 0x68
call dword [sym.imp.MSVCR90.dll_exit]
mov eax, ebx
pop ebx
pop edi
add esp, 8
ret
xor eax, eax
add esp, 8
ret