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

Disassembly:
push 0xffffffffffffffff
push 0x4a8d18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
lea ecx, [esp + 0x18]
call fcn.004a6c5a
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], ebx
call fcn.004a6c5a
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], 1
call fcn.004a6c5a
lea ecx, [esp + 8]
mov byte [esp + 0x58], 2
call fcn.004a6c5a
push 0x100000
mov byte [esp + 0x5c], 3
call dword [0x4b2658]
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x41e41b
push edi
mov edi, dword [esp + 0x64]
push edi
lea ecx, [esp + 0x44]
call fcn.00440200
lea eax, [esp + 0x28]
lea ecx, [esp + 0x40]
push eax
push 0x20019
mov byte [esp + 0x64], 4
call fcn.004402a0
push eax
lea ecx, [esp + 0x4c]
call fcn.004402b0
push eax
call fcn.00430160
add esp, 0x10
cmp al, 1
jne 0x41e402
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x74]
push ebp
mov ecx, dword [esp + 0x70]
cmp dword [ecx], 1
je 0x41e3f6
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
push 0
push 0
push 1
push 0
push 0x100000
push esi
push 0
push edx
push eax
push 0x20
call fcn.004301e0
add esp, 0x28
cmp al, 1
jne 0x41e3f6
mov ecx, dword [esi + 0xc]
lea ebp, [esi + 0x10]
shr ecx, 1
push ecx
push ebp
lea ecx, [esp + 0x30]
call fcn.004a6e4c
push edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 5
call fcn.00440200
push 1
push 0x4cb224
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 6
call fcn.00440420
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x30]
shr edx, 1
push edx
push ebp
call fcn.00440420
lea eax, [esp + 0x24]
lea ecx, [esp + 0x30]
push eax
push 0x20019
call fcn.004402a0
push eax
lea ecx, [esp + 0x3c]
call fcn.004402b0
push eax
call fcn.00430160
add esp, 0x10
cmp al, 1
jne 0x41e3d1
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0x70]
cmp dword [ecx], 1
je 0x41e3c6
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x24]
push 0
push 0
push 1
push 0
push 0x100000
push esi
push 1
push edx
push eax
push 0x21
call fcn.004301e0
add esp, 0x28
cmp al, 1
jne 0x41e3c6
mov eax, dword [ebp]
test eax, eax
je 0x41e2c5
cmp eax, 2
jb 0x41e3bd
cmp dword [esi + 8], 0xffffffff
je 0x41e3bd
test eax, eax
je 0x41e30e
shr eax, 1
lea edx, [esi + 0x14]
mov di, word [esi + eax*2 + 0x14]
lea eax, [esi + eax*2 + 0x14]
mov word [eax], 0
mov ecx, dword [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0x20]
push 0x4d0ff0
push eax
call fcn.004a6dda
mov ecx, dword [ebp]
add esp, 0x10
shr ecx, 1
mov word [esi + ecx*2 + 0x14], di
mov edi, dword [esp + 0x68]
jmp 0x41e317
lea ecx, [esp + 0x18]
call fcn.004a6e82
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
add edx, esi
mov word [edx + eax], 0
mov ecx, dword [esi + 8]
add ecx, esi
lea edx, [esp + 0x14]
push ecx
push 0x4cb1f8
push edx
call fcn.004a6dda
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.0040b780
mov eax, dword [esp + 0x88]
add esp, 0x14
cmp eax, 1
jne 0x41e369
lea edx, [esp + 0x10]
push edx
call fcn.0040c0a0
add esp, 4
test eax, eax
jne 0x41e3bd
mov eax, dword [esp + 0x18]
mov ecx, dword [edi]
mov edx, dword [esp + 0x10]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push eax
push 0x4cd9cc
lea edx, [esp + 0x38]
push 0x4d0fbc
push edx
call fcn.004a6dda
mov eax, dword [ebx + 0x20]
add esp, 0x20
push 0
push 0
push 0x1004
push eax
call dword [0x4b279c]
mov ecx, dword [esp + 0x20]
push 0
push 0
push 0
push 0
push ecx
push eax
push 1
mov ecx, ebx
call fcn.004a6dc8
inc dword [esp + 0x78]
jmp 0x41e27c
mov edx, dword [esp + 0x24]
push edx
call dword [0x4b2034]
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 5
call fcn.00440270
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 4
call fcn.004a6c6c
inc dword [esp + 0x1c]
jmp 0x41e1c6
mov eax, dword [esp + 0x2c]
push eax
call dword [0x4b2034]
pop ebp
push esi
call dword [0x4b2654]
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 3
call fcn.00440270
pop edi
lea ecx, [esp + 8]
mov byte [esp + 0x58], 2
call fcn.004a6c6c
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], 1
call fcn.004a6c6c
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 0
call fcn.004a6c6c
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call fcn.004a6c6c
mov ecx, dword [esp + 0x50]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 0x14