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

Disassembly:
sub esp, 0xcbc
push ebx
mov ebx, dword [esp + 0xcc4]
push ebp
push esi
mov eax, dword [ebx + 0x20]
mov esi, ecx
lea ecx, [ebx + 0x20]
push edi
test eax, eax
mov dword [esp + 0x30], ecx
jne case.0x41ceb0.9
call fcn.00413e40
mov eax, dword [ebx + 0xc]
push 0x1fffffff
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0x20000000
call fcn.0041ae40
mov ebp, eax
mov eax, dword [esp + 0x18]
add eax, 2
lea ecx, [ebp - 6]
mov dword [esp + 0x18], eax
cmp ecx, 0x1e
ja case.0x41ceb0.9
xor edx, edx
mov dl, byte [ecx + 0x41d230]
jmp dword [edx*4 + 0x41d220]
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0xd4]
test eax, eax
je case.0x41ceb0.9
lea ecx, [esp + 0x14]
push 0
mov dword [eax + 0x248], ecx
mov edx, dword [esi + 0x1c]
push ebx
mov eax, dword [edx + 0xd4]
push eax
call fcn.0041ccf0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcbc
ret 4
mov edi, dword [esp + 0x28]
cmp ebp, 0x23
jne 0x41cf2c
mov ecx, dword [esp + 0x14]
xor edx, edx
lea esi, [eax + ecx]
add eax, 4
mov dword [esp + 0x18], eax
xor ecx, ecx
mov dh, byte [esi + 3]
mov cl, byte [esi + 1]
mov dl, byte [esi + 2]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [esi]
shl edx, 8
or edx, ecx
add edx, eax
mov dword [esp + 0x28], edx
lea edx, [esp + 0x14]
lea eax, [esp + 0x7c]
push edx
push eax
call fcn.0041cbf0
xor ecx, ecx
cmp ebp, 0x23
sete cl
push ecx
lea edx, [esp + 0x88]
push ebx
push edx
call fcn.0041ccf0
lea eax, [esp + 0x90]
push eax
call fcn.00425920
add esp, 0x18
cmp ebp, 0x23
mov dword [esp + 0x28], edi
jne case.0x41ceb0.9
push 0x38
lea ecx, [esp + 0x48]
xor eax, eax
push str.1.0.4
push ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
call fcn.0042d870
add esp, 0xc
test eax, eax
jne 0x41d203
mov edi, dword [ebx + 0x30]
mov dword [ebx + 0x3c], 1
imul edi, dword [ebx + 0x2c]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 0x18]
inc edx
mov dword [ebx + 0x18], edx
mov edx, dword [esp + 0x14]
mov esi, dword [ebx]
lea ecx, [eax + edx]
mov edx, dword [esp + 0x28]
sub edx, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
lea eax, [esp + 0x4cc]
cmp edi, 0x800
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x800
jg 0x41cfec
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x44]
push 0
push ecx
call fcn.0042d890
mov ecx, dword [esp + 0x58]
mov ebp, eax
lea eax, [esp + 0x4d4]
add esp, 8
cmp ecx, eax
lea edx, [esp + 0x4cc]
jbe 0x41d048
xor ecx, ecx
xor eax, eax
mov cl, byte [edx]
mov al, byte [esi]
inc edx
cmp eax, ecx
jle 0x41d022
mov byte [esi], cl
xor eax, eax
mov al, byte [esi + 1]
cmp eax, ecx
jle 0x41d02e
mov byte [esi + 1], cl
xor eax, eax
mov al, byte [esi + 2]
cmp eax, ecx
jle 0x41d03a
mov byte [esi + 2], cl
mov byte [esi + 3], cl
mov eax, dword [esp + 0x50]
add esi, 4
cmp eax, edx
ja 0x41d013
test ebp, ebp
jne 0x41d054
test edi, edi
jne 0x41cfcd
mov eax, dword [ebx + 0x18]
pop edi
dec eax
pop esi
mov dword [ebx + 0x18], eax
pop ebp
pop ebx
add esp, 0xcbc
ret 4
xor ecx, ecx
inc eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x14]
mov dl, byte [eax + ecx - 1]
lea esi, [eax + ecx]
mov byte [esp + 0x10], dl
add eax, 2
xor edx, edx
mov dword [esp + 0x18], eax
mov dh, byte [esi + 1]
mov edi, dword [esp + 0x10]
mov dl, byte [esi]
lea esi, [eax + ecx]
mov dword [esp + 0x3c], edx
add eax, 2
xor edx, edx
mov dword [esp + 0x18], eax
mov dh, byte [esi + 1]
and edi, 0xff
mov dl, byte [esi]
mov dword [esp + 0x34], edx
xor edx, edx
cmp ebp, 0x24
sete dl
mov esi, edx
cmp edi, 3
mov dword [esp + 0x38], esi
jg 0x41d0e3
mov cl, byte [eax + ecx]
inc eax
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
mov dword [esp + 0x18], eax
inc ebp
jmp 0x41d0e5
xor ebp, ebp
push 0x38
lea edx, [esp + 0x48]
push str.1.0.4
push edx
call fcn.0042d870
add esp, 0xc
test eax, eax
jne 0x41d203
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x28]
sub ecx, eax
cmp edi, 3
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
jg 0x41d191
test ebp, ebp
mov byte [esp + 0x13], 0xff
mov dword [esp + 0x7c], ebp
je 0x41d191
xor edx, edx
test esi, esi
setne dl
add edx, 3
lea esi, [esp + 0x81]
mov dword [esp + 0x40], edx
lea eax, [esp + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x54], eax
jbe 0x41d16c
lea ecx, [esp + 0x44]
push 0
push ecx
call fcn.0042d890
mov eax, dword [esp + 0x5c]
add esp, 8
test eax, eax
ja 0x41d155
mov dl, byte [esp + 0x10]
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x12]
mov byte [esi + 1], dl
mov dl, byte [esp + 0x13]
mov byte [esi], al
mov byte [esi - 1], cl
mov byte [esi + 2], dl
add esi, 4
dec ebp
jne 0x41d141
mov esi, dword [esp + 0x38]
xor eax, eax
mov ebp, dword [esp + 0x34]
cmp edi, 3
mov edx, dword [esp + 0x3c]
setg al
dec eax
lea ecx, [esp + 0x7c]
and eax, ecx
push 1
push eax
push ebp
push edx
push edi
mov edi, dword [esp + 0x44]
mov ecx, edi
call fcn.00413d90
mov eax, dword [edi]
mov dword [ebx + 0x3c], esi
test eax, eax
je 0x41d203
mov eax, dword [edi + 0x18]
inc eax
mov dword [edi + 0x18], eax
mov esi, dword [ebx + 0x34]
imul esi, ebp
mov eax, dword [edi]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x44]
push 0
push ecx
call fcn.0042d890
add esp, 8
test eax, eax
je 0x41d1d9
mov edx, dword [ebx + 0x28]
mov eax, dword [edi]
push edx
push esi
push eax
call fcn.00413e70
mov eax, dword [edi + 0x18]
add esp, 0xc
dec eax
mov dword [edi + 0x18], eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0042d710
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcbc
ret 4