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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
movzx eax, byte [esp + 0x7c]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call sym._nospstartProcess_32
sub esp, 0x20
mov ebx, eax
mov dword [esp], 0x4331ac
call sym.___emutls_get_address
cmp byte [eax], 0
jne 0x41ec98
mov esi, eax
mov ecx, ebx
call sym._nospoutputStream_4
cmp byte [esi], 0
mov ebp, eax
jne 0x41eb58
mov ecx, 0x78
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x4353b0
call sym._rawNewString_4
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x38]
mov ecx, ebp
call sym._readLine__pureZstreams_u644_8
cmp byte [esi], 0
jne 0x41eb58
test al, al
jne 0x41ebb0
cmp byte [ebx + 0x2c], 0
je 0x41eb18
mov ecx, ebx
call sym._nospclose_4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x41eac9
test dword [eax], 0x40000000
je 0x41ec40
mov ecx, ebp
call sym._eqdestroy___pureZstreams_u762_4
mov eax, dword [ebx - 8]
lea edx, [ebx - 8]
test eax, 0xfffffff0
je 0x41eb88
sub eax, 0x10
jo 0x41eca9
mov dword [ebx - 8], eax
mov eax, dword [ebx]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], 0
call sym._rememberCycle__system_u3453
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret 0x20
mov dword [esp + 4], 0
mov eax, dword [ebx + 4]
mov dword [esp], eax
call dword [0x4420b8]
sub esp, 8
cmp byte [esi], 0
jne 0x41eab5
cmp eax, 0x102
jne 0x41eaae
lea edx, [esp + 0x38]
mov ecx, ebp
call sym._readLine__pureZstreams_u644_8
cmp byte [esi], 0
je 0x41eaa0
lea esi, [esi]
nop
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x41eb6c
test dword [eax], 0x40000000
je 0x41ec40
mov ecx, ebp
call sym._eqdestroy___pureZstreams_u762_4
test ebx, ebx
je 0x41eb03
mov eax, dword [ebx - 8]
lea edx, [ebx - 8]
test eax, 0xfffffff0
jne 0x41eae1
mov eax, dword [ebx]
mov dword [esp + 4], edx
mov dword [esp], 1
mov dword [esp + 8], eax
call sym._rememberCycle__system_u3453
mov ecx, ebx
call sym._nimDestroyAndDispose_4
jmp 0x41eb03
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x30]
call sym._prepareAdd_8
mov edi, dword [esp + 0x38]
test edi, edi
jle 0x41ec09
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, edi
add eax, 1
jo 0x41ec4d
test eax, eax
js 0x41ec58
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esp + 8], eax
lea edx, [ecx + edx + 4]
mov ecx, dword [esp + 0x2c]
mov dword [esp], edx
add ecx, 4
mov dword [esp + 4], ecx
call sym._memcpy
add edi, dword [esp + 0x30]
jo 0x41ec4d
mov dword [esp + 0x30], edi
mov edx, 1
lea ecx, [esp + 0x30]
call sym._prepareAdd_8
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, 0xa
mov word [edx + eax + 4], cx
mov eax, dword [esp + 0x30]
add eax, 1
jo 0x41ec9f
mov dword [esp + 0x30], eax
jmp 0x41ea8c
mov dword [esp], eax
call sym._deallocShared
jmp 0x41eb6c
call sym._raiseOverflow
jmp 0x41ec09
mov dword [esp + 0x10], 0x7fffffff
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp], 0x80000000
mov dword [esp + 4], 0xffffffff
call sym._raiseRangeErrorI
jmp 0x41ec09
xor ebp, ebp
jmp 0x41eb58
call sym._raiseOverflow
jmp 0x41ea8c
call sym._raiseOverflow
jmp 0x41eb03