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

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x24], ecx
call fcn.0040522e
push eax
lea ecx, [esp + 0x24]
call fcn.004028b4
call fcn.0040522e
push eax
lea ecx, [esp + 0x14]
call fcn.004028b4
call fcn.0040522e
push eax
lea ecx, [esp + 0x18]
call fcn.004028b4
call fcn.0040522e
push eax
lea ecx, [esp + 0x1c]
call fcn.004028b4
call fcn.0040522e
push eax
lea ecx, [esp + 0x2c]
call fcn.004028b4
push dword [esp + 0x5c]
lea ecx, [esp + 0x34]
call fcn.00422df5
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x41ebc4
lea ecx, [esp + 0x30]
call fcn.0041d72e
mov ebp, dword [esp + 0x5c]
jmp 0x41ec20
movzx eax, word [esp + 0x3c]
lea ecx, [esp + 0x20]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x40]
push eax
call fcn.00409e7f
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x14]
call fcn.00409e7f
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x18]
call fcn.00409e7f
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
call fcn.00409e7f
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x2c]
call fcn.00409e7f
lea ecx, [esp + 0x30]
call fcn.0041d72e
mov esi, dword [esp + 0x14]
test ebx, ebx
je 0x41ec31
mov edi, dword [esp + 0x18]
jmp 0x41ed56
and dword [esp + 0x1c], 0
cmp dword [esi - 0xc], 0
je 0x41ec56
cmp dword [esi - 4], 1
jle 0x41ec52
push dword [esi - 0xc]
lea ecx, [esp + 0x18]
call fcn.00404d3d
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], esi
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp dword [edi - 0xc], ebx
je 0x41ec79
cmp dword [edi - 4], 1
jle 0x41ec77
push dword [edi - 0xc]
lea ecx, [esp + 0x1c]
call fcn.00404d3d
mov edi, dword [esp + 0x18]
mov ebx, edi
cmp ebp, 1
jne 0x41ecb6
push dword [esp + 0x68]
mov eax, dword [esp + 0x70]
push dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
push ebx
push dword [esp + 0x28]
and dword [eax], 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x44]
push dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.0041ef4d
jmp 0x41ed54
cmp ebp, 3
je 0x41ed04
cmp ebp, 4
je 0x41ed04
cmp ebp, 5
jne 0x41ecfd
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x10]
push eax
mov dword [ecx], 1
add ecx, 4
call fcn.00409e7f
push dword [esp + 0x68]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x14]
push dword [esp + 0x68]
push ebx
push dword [esp + 0x28]
push eax
push dword [esp + 0x70]
call fcn.0041ed96
jmp 0x41ed54
mov ebx, 0x2ee6
jmp 0x41ed56
push dword [esp + 0x68]
mov eax, dword [esp + 0x70]
push dword [esp + 0x68]
and dword [eax], 0
cmp ebp, 4
sete al
movzx eax, al
push eax
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x38]
push eax
push ebx
push dword [esp + 0x34]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x50]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
call fcn.0041f149
mov ebx, eax
mov ecx, dword [esp + 0x28]
lea ecx, [ecx - 0x10]
call fcn.004052ff
lea ecx, [edi - 0x10]
call fcn.004052ff
lea ecx, [esi - 0x10]
call fcn.004052ff
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004052ff
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004052ff
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x44
ret 0x18