Function at 0x41cd60
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.0x41cdd0.9
call fcn.00413e20
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.0041ad50
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.0x41cdd0.9
xor edx, edx
mov dl, byte [ecx + 0x41d150]
jmp dword [edx*4 + 0x41d140]
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0xd4]
test eax, eax
je case.0x41cdd0.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.0041cc10
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 0x41ce4c
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.0041cb00
xor ecx, ecx
cmp ebp, 0x23
sete cl
push ecx
lea edx, [esp + 0x88]
push ebx
push edx
call fcn.0041cc10
lea eax, [esp + 0x90]
push eax
call fcn.004257e0
add esp, 0x18
cmp ebp, 0x23
mov dword [esp + 0x28], edi
jne case.0x41cdd0.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.0042d730
add esp, 0xc
test eax, eax
jne 0x41d123
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 0x41cf0c
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x44]
push 0
push ecx
call fcn.0042d750
mov ecx, dword [esp + 0x58]
mov ebp, eax
lea eax, [esp + 0x4d4]
add esp, 8
cmp ecx, eax
lea edx, [esp + 0x4cc]
jbe 0x41cf68
xor ecx, ecx
xor eax, eax
mov cl, byte [edx]
mov al, byte [esi]
inc edx
cmp eax, ecx
jle 0x41cf42
mov byte [esi], cl
xor eax, eax
mov al, byte [esi + 1]
cmp eax, ecx
jle 0x41cf4e
mov byte [esi + 1], cl
xor eax, eax
mov al, byte [esi + 2]
cmp eax, ecx
jle 0x41cf5a
mov byte [esi + 2], cl
mov byte [esi + 3], cl
mov eax, dword [esp + 0x50]
add esi, 4
cmp eax, edx
ja 0x41cf33
test ebp, ebp
jne 0x41cf74
test edi, edi
jne 0x41ceed
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 0x41d003
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 0x41d005
xor ebp, ebp
push 0x38
lea edx, [esp + 0x48]
push str.1.0.4
push edx
call fcn.0042d730
add esp, 0xc
test eax, eax
jne 0x41d123
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 0x41d0b1
test ebp, ebp
mov byte [esp + 0x13], 0xff
mov dword [esp + 0x7c], ebp
je 0x41d0b1
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 0x41d08c
lea ecx, [esp + 0x44]
push 0
push ecx
call fcn.0042d750
mov eax, dword [esp + 0x5c]
add esp, 8
test eax, eax
ja 0x41d075
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 0x41d061
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.00413d70
mov eax, dword [edi]
mov dword [ebx + 0x3c], esi
test eax, eax
je 0x41d123
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.0042d750
add esp, 8
test eax, eax
je 0x41d0f9
mov edx, dword [ebx + 0x28]
mov eax, dword [edi]
push edx
push esi
push eax
call fcn.00413e50
mov eax, dword [edi + 0x18]
add esp, 0xc
dec eax
mov dword [edi + 0x18], eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0042d5d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcbc
ret 4