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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x48300c]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0xc]
push esi
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], ecx
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
je 0x41aebe
cmp byte [eax], cl
je 0x41aebe
xor esi, esi
jmp 0x41aec7
mov esi, 1
test eax, eax
je 0x41aefd
mov ecx, str.:memory:
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41aef0
test dl, dl
je 0x41aeec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41aef0
add eax, 2
add ecx, 2
test dl, dl
jne 0x41aed0
xor eax, eax
jmp 0x41aef5
sbb eax, eax
or eax, 1
test eax, eax
je 0x41af03
test esi, esi
je 0x41af0a
cmp byte [ebx + 0x1d], 2
jne 0x41af0a
mov edx, 1
jmp 0x41af0c
xor edx, edx
mov eax, dword [ebx + 0xc]
mov ecx, edi
or ecx, 2
mov dword [esp + 0x30], edx
and eax, 0x20000
cmove ecx, edi
mov edi, dword [ebp + 0x14]
mov eax, ecx
or eax, 4
test edx, edx
cmove eax, ecx
mov dword [esp + 0x24], eax
test edi, 0x100
je 0x41af50
test edx, edx
jne 0x41af41
test esi, esi
je 0x41af50
and edi, 0xfffffeff
or edi, 0x200
mov dword [ebp + 0x14], edi
push 0x2c
call fcn.0040aa40
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41afc4
push 0x2c
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp dword [esp + 0x30], 0
mov dword [ebx], eax
mov dword [ebx + 0x1c], ebx
mov dword [ebx + 0x20], 1
jne 0x41b107
test esi, esi
jne 0x41b107
test edi, 0x20000
je 0x41b107
mov esi, dword [esp + 0x1c]
mov esi, dword [esi + 8]
inc esi
push esi
call fcn.0040aa40
mov edi, eax
mov byte [ebx + 9], 1
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne 0x41afde
push ebx
call fcn.0040ad30
add esp, 4
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00475bd4
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
push edi
push esi
push dword [esp + 0x34]
mov byte [edi], 0
push eax
mov eax, dword [eax + 0x24]
call eax
add esp, 0x10
cmp dword [0x483174], 0
jne 0x41b009
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ecx
jmp 0x41b056
push 4
call dword [0x4831b4]
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x41b026
push eax
call dword [0x4831bc]
add esp, 4
cmp dword [0x483174], 0
jne 0x41b039
mov dword [esp + 0x28], 0
jmp 0x41b056
push 2
call dword [0x4831b4]
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x41b056
push eax
call dword [0x4831bc]
add esp, 4
mov esi, dword [0x4842f8]
test esi, esi
je 0x41b0e4
mov edi, dword [esi]
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x90]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41b090
test dl, dl
je 0x41b08c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41b090
add eax, 2
add ecx, 2
test dl, dl
jne 0x41b070
xor eax, eax
jmp 0x41b095
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41b0a1
mov eax, dword [esp + 0x1c]
cmp dword [edi], eax
je 0x41b0aa
mov esi, dword [esi + 0x48]
test esi, esi
jne 0x41b064
jmp 0x41b0e0
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 4]
sub edx, 1
js 0x41b0da
mov eax, dword [eax + 8]
mov ecx, edx
shl ecx, 4
add eax, 4
add ecx, eax
mov eax, dword [ecx]
test eax, eax
je 0x41b0d2
cmp dword [eax + 4], esi
je 0x41b195
sub ecx, 0x10
sub edx, 1
jns 0x41b0c3
mov dword [ebx + 4], esi
inc dword [esi + 0x44]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41b0f6
push eax
call dword [0x4831c4]
add esp, 4
push edi
call fcn.0040ad30
add esp, 4
test esi, esi
jne 0x41b383
push 0x5c
call fcn.0040aa40
mov edi, eax
add esp, 4
test edi, edi
je 0x41b4a8
push 0x5c
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 8
mov edx, edi
push dword [ebp + 0x14]
push dword [esp + 0x2c]
push ecx
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
call fcn.004156e0
mov edx, eax
add esp, 0x14
mov dword [esp + 0x10], edx
test edx, edx
jne 0x41b497
mov esi, dword [edi]
lea eax, [esp + 0x38]
xor ecx, ecx
push 0x64
push ecx
push eax
mov dword [esp + 0x1c], ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x3c]
add esp, 0xc
mov ecx, dword [eax]
test ecx, ecx
je 0x41b1e8
push 0
push 0
push 0x64
lea edx, [esp + 0x44]
push edx
push eax
mov eax, dword [ecx + 8]
call eax
mov edx, eax
add esp, 0x14
mov dword [esp + 0x10], edx
cmp edx, 0x20a
je 0x41b1f2
jmp 0x41b1ea
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41b1a7
push eax
call dword [0x4831c4]
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41b1b9
push eax
call dword [0x4831c4]
add esp, 4
push dword [esp + 0x18]
call fcn.0040ad30
add esp, 4
push ebx
call fcn.0040ad30
add esp, 4
mov eax, 0x13
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00475bd4
mov esp, ebp
pop ebp
ret
xor edx, edx
test edx, edx
jne 0x41b497
mov eax, dword [esp + 0x24]
mov byte [edi + 0x14], al
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
mov eax, dword [edi]
mov dword [eax + 0x98], 0x41ae20
mov dword [eax + 0x9c], edi
mov dword [ebx + 4], edi
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov al, byte [eax + 0xd]
mov byte [edi + 0x10], al
movzx ecx, byte [esp + 0x49]
movzx eax, byte [esp + 0x48]
shl ecx, 8
or ecx, eax
shl ecx, 8
mov dword [edi + 0x24], ecx
cmp ecx, 0x200
jb 0x41b2b3
cmp ecx, 0x10000
ja 0x41b2b3
lea eax, [ecx - 1]
test ecx, eax
jne 0x41b2b3
mov dl, byte [esp + 0x4c]
mov byte [edi + 0x11], 1
movzx ecx, byte [esp + 0x6c]
movzx eax, byte [esp + 0x6d]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x6e]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x6f]
shl ecx, 8
or ecx, eax
setne al
mov byte [edi + 0x15], al
movzx ecx, byte [esp + 0x78]
movzx eax, byte [esp + 0x79]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x7a]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x7b]
shl ecx, 8
or ecx, eax
setne al
mov byte [edi + 0x16], al
jmp 0x41b2d0
cmp dword [esp + 0x2c], 0
mov dword [edi + 0x24], 0
je 0x41b2ce
cmp dword [esp + 0x30], 0
jne 0x41b2ce
mov word [edi + 0x15], 0
xor dl, dl
mov ecx, dword [edi]
movzx eax, dl
lea edx, [edi + 0x24]
push eax
mov dword [esp + 0x28], eax
call fcn.00414d40
mov edx, eax
add esp, 4
mov dword [esp + 0x10], edx
test edx, edx
jne 0x41b497
mov eax, dword [edi + 0x24]
sub eax, dword [esp + 0x24]
mov dword [edi + 0x28], eax
cmp byte [ebx + 9], dl
je 0x41b408
mov dword [edi + 0x44], 1
cmp dword [0x483174], edx
je 0x41b375
push 2
call dword [0x4831b4]
add esp, 4
mov esi, eax
cmp dword [0x483174], 0
je 0x41b34d
push 0
call dword [0x4831b4]
add esp, 4
mov dword [edi + 0x3c], eax
test eax, eax
jne 0x41b34d
lea esi, [eax + 7]
mov eax, dword [esp + 0x14]
mov byte [eax + 0x1e], 0
jmp 0x41b49b
test esi, esi
je 0x41b375
push esi
call dword [0x4831bc]
mov eax, dword [0x4842f8]
add esp, 4
mov dword [edi + 0x48], eax
mov dword [0x4842f8], edi
push esi
call dword [0x4831c4]
add esp, 4
jmp 0x41b383
mov eax, dword [0x4842f8]
mov dword [0x4842f8], edi
mov dword [edi + 0x48], eax
cmp byte [ebx + 9], 0
je 0x41b408
mov eax, dword [esp + 0x14]
xor edx, edx
mov esi, dword [eax + 4]
test esi, esi
jle 0x41b408
mov ecx, dword [eax + 8]
add ecx, 4
mov eax, dword [ecx]
test eax, eax
je 0x41b3ac
cmp byte [eax + 9], 0
jne 0x41b3b6
inc edx
add ecx, 0x10
cmp edx, esi
jl 0x41b3a0
jmp 0x41b408
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x41b3c9
nop dword [eax]
mov eax, ecx
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x41b3c0
mov edx, dword [ebx + 4]
cmp edx, dword [eax + 4]
jae 0x41b3e0
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], 0
mov dword [eax + 0x18], ebx
jmp 0x41b408
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x41b3f5
cmp dword [ecx + 4], edx
jae 0x41b3f5
mov eax, ecx
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x41b3e7
mov ecx, dword [eax + 0x14]
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], eax
test ecx, ecx
je 0x41b405
mov dword [ecx + 0x18], ebx
mov dword [eax + 0x14], ebx
mov eax, dword [esp + 0x34]
mov ecx, ebx
mov dword [eax], ebx
mov esi, dword [ebx + 4]
call fcn.00419ba0
cmp byte [ebx + 9], 0
je 0x41b43c
add dword [ebx + 0xc], 0xffffffff
jne 0x41b43c
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x41b438
push eax
call dword [0x4831c4]
add esp, 4
mov byte [ebx + 0xa], 0
cmp dword [esi + 0x34], 0
jne 0x41b46a
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov eax, dword [eax + 0xb0]
mov dword [eax + 0x10], 0x7d0
mov eax, dword [eax + 0x28]
test eax, eax
je 0x41b46a
push 0x7d0
push eax
call dword [0x4831e0]
add esp, 8
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41b480
push eax
call dword [0x4831c4]
add esp, 4
mov ecx, dword [esp + 0xa4]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00475bd4
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x10]
mov ecx, dword [edi]
test ecx, ecx
je 0x41b4ad
call fcn.00414ef0
jmp 0x41b4ad
mov esi, 7
push edi
call fcn.0040ad30
add esp, 4
push ebx
call fcn.0040ad30
mov eax, dword [esp + 0x38]
add esp, 4
mov dword [eax], 0
jmp 0x41b46e