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

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
mov al, byte [edi + 0xa]
mov cl, byte [edi + 0x11]
lea ebx, [edi + 0xa]
cmp al, cl
jne 0x41cefa
mov cl, byte [edi + 0xb]
mov al, byte [edi + 0x10]
cmp cl, al
jne 0x41cefa
mov dl, byte [edi + 0xc]
mov al, byte [edi + 0xf]
cmp dl, al
jne 0x41cefa
mov al, byte [edi + 0xd]
mov cl, byte [edi + 0xe]
cmp al, cl
jne 0x41cefa
push ebx
call fcn.00424700
mov esi, eax
add esp, 4
add esi, 0x7ff
and esi, 0xfffff800
jle 0x41cea9
cmp esi, 0x20000000
jge 0x41cea9
add edi, 2
push edi
call fcn.00424700
mov ebp, eax
add esp, 4
test ebp, ebp
jge 0x41cebd
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
xor eax, eax
pop ebx
add esp, 0x10
ret
push esi
call fcn.00425ec0
mov edi, eax
mov eax, esi
cdq
and edx, 0x7ff
mov dword [esp + 0x1c], edi
add eax, edx
mov esi, eax
mov eax, ebp
mov ebp, dword [esp + 0x28]
sar esi, 0xb
cdq
push esi
push edi
push edx
push eax
push ebp
call fcn.0041e400
add esp, 0x18
cmp eax, esi
je 0x41cf0e
push edi
call fcn.004df7a0
add esp, 4
mov edx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword [edx], 0
xor eax, eax
pop ebx
add esp, 0x10
ret
push ebx
call fcn.00424700
push eax
push edi
call fcn.0047a1c0
add esp, 0xc
cmp eax, 1
jne 0x41cf49
mov edx, dword [ebp + 0x2c]
mov eax, dword [esp + 0x2c]
or edx, 2
push edi
mov dword [ebp + 0x2c], edx
mov dword [eax], 0
call fcn.004df7a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push ebx
call fcn.00424700
push ebx
call fcn.00424700
mov ebp, dword [esp + 0x34]
add esp, 8
xor ebx, ebx
mov dword [esp + 0x10], eax
test eax, eax
mov dword [ebp], ebx
jle 0x41cfdf
mov al, byte [ebx + edi]
lea esi, [ebx + edi]
test al, al
jne 0x41cf86
lea eax, [ebx + 0x7ff]
and eax, 0xfffff800
cmp ebx, eax
je 0x41cfdf
mov ebx, eax
jmp 0x41cfd9
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x298]
test eax, eax
je 0x41cf9e
mov dl, byte [esi + 0x18]
mov byte [esi + 0x18], 0
mov byte [esi + 0x19], dl
mov al, byte [esi + 0x19]
and al, 6
cmp al, 6
jne 0x41cfcc
lea ecx, [esi + 0xa]
push ecx
call fcn.00424700
mov edx, dword [esp + 0x28]
push eax
push esi
push edx
call fcn.0041f3b0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x41cfcc
xor eax, eax
mov al, byte [esi]
add ebx, eax
jmp 0x41cfd9
mov ecx, dword [ebp]
inc ecx
mov dword [ebp], ecx
xor ecx, ecx
mov cl, byte [esi]
add ebx, ecx
cmp ebx, dword [esp + 0x10]
jl 0x41cf69
mov eax, dword [ebp]
test eax, eax
jne 0x41cff9
push edi
call fcn.004df7a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
lea edx, [eax*4]
push edx
call fcn.00425ec0
mov ebp, eax
mov eax, dword [esp + 0x14]
add esp, 4
xor esi, esi
test eax, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x2c], esi
jle 0x41d29e
mov al, byte [esi + edi]
lea ebx, [esi + edi]
test al, al
mov dword [esp + 0x28], ebx
jne 0x41d04d
lea eax, [esi + 0x7ff]
and eax, 0xfffff800
cmp esi, eax
je 0x41d29a
mov dword [esp + 0x2c], eax
mov esi, eax
jmp 0x41d290
mov al, byte [ebx + 0x19]
and al, 6
cmp al, 6
jne 0x41d082
lea ecx, [ebx + 0xa]
push ecx
call fcn.00424700
mov edx, dword [esp + 0x28]
push eax
push ebx
push edx
call fcn.0041f3b0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x41d082
xor eax, eax
mov al, byte [ebx]
add esi, eax
mov dword [esp + 0x2c], esi
jmp 0x41d290
call fcn.00419920
lea edi, [eax + 0xc4]
mov ecx, 8
mov esi, ebx
mov dword [ebp], eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [ebp]
add ecx, 0xc6
push ecx
call fcn.00424700
mov ecx, dword [ebp]
lea esi, [ebx + 0xa]
cdq
mov dword [ecx + 0x78], eax
push esi
mov dword [ecx + 0x7c], edx
call fcn.00424700
mov edx, dword [ebp]
add esp, 8
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], 0
mov al, byte [ebx + 0x19]
and al, 6
cmp al, 6
jne 0x41d0fb
push esi
call fcn.00424700
mov esi, dword [esp + 0x28]
push eax
push ebx
push esi
call fcn.0041f3b0
add esp, 0x10
test eax, eax
jne 0x41d0ff
mov eax, dword [ebp]
and byte [eax + 0xdd], 0xfd
jmp 0x41d0ff
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x3b3c]
test eax, eax
jne 0x41d113
mov eax, dword [esi + 0x3be8]
test eax, eax
je 0x41d120
mov ecx, dword [ebp]
mov dword [ecx + 0x9c], 1
mov edx, dword [ebp]
push 0
push ebx
push edx
push esi
call fcn.004260c0
mov cl, byte [ebx + 0x20]
mov edi, dword [esp + 0x38]
xor edx, edx
mov eax, ecx
mov dl, byte [ebx]
and eax, 0xff
mov ebx, edx
add esp, 0x10
sub ebx, eax
lea esi, [eax + edi + 0x21]
sub ebx, 0x21
test cl, 1
jne 0x41d154
inc esi
dec ebx
test ebx, ebx
jle 0x41d204
mov eax, dword [ebp]
mov dword [esp + 0x14], 0
push ebx
mov dword [eax + 0xbc], ebx
mov ecx, dword [ebp]
mov dword [ecx + 0xc0], ebx
call fcn.00425ec0
mov edx, dword [ebp]
mov ecx, ebx
push 0x2000
mov dword [edx + 0xb8], eax
mov eax, dword [ebp]
mov edx, ecx
mov edi, dword [eax + 0xb8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004df770
mov esi, eax
add esp, 8
test esi, esi
je 0x41d200
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push 0x1000
push ecx
mov edx, dword [eax + 0xb8]
push esi
push eax
mov eax, dword [esp + 0x34]
push ebx
push edx
push eax
call fcn.00428130
add esp, 0x1c
cmp eax, 1
jne 0x41d1f7
cmp word [esi], 0
je 0x41d1f7
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x40]
push edx
call fcn.004df7a0
mov eax, dword [ebp]
add esp, 4
mov dword [eax + 0x40], esi
jmp 0x41d200
push esi
call fcn.004df7a0
add esp, 4
mov edi, dword [esp + 0x28]
cmp byte [edi + 0x20], 1
jne 0x41d279
mov al, byte [edi + 0x21]
test al, al
je 0x41d215
cmp al, 1
jne 0x41d279
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x3c]
push edx
call fcn.004df7a0
mov eax, dword [ebp]
xor esi, esi
mov dword [eax + 0x3c], esi
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x40]
push edx
call fcn.004df7a0
mov eax, dword [ebp]
mov ecx, dword [eax + 0x54]
push ecx
call fcn.004df7a0
mov edx, dword [ebp]
add esp, 0xc
mov dword [edx + 0x54], esi
mov al, byte [edi + 0x21]
test al, al
jne 0x41d266
push 0x687ac0
call fcn.00526b7f
mov ecx, dword [ebp]
add esp, 4
mov dword [ecx + 0x40], eax
jmp 0x41d279
push 0x687ab8
call fcn.00526b7f
mov edx, dword [ebp]
add esp, 4
mov dword [edx + 0x40], eax
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov al, byte [edi]
mov edi, dword [esp + 0x18]
add ebp, 4
add ecx, eax
mov dword [esp + 0x2c], ecx
mov esi, ecx
cmp esi, dword [esp + 0x10]
jl 0x41d021
mov ebp, dword [esp + 0x1c]
push edi
call fcn.004df7a0
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret