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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [edx + 4]
push ebx
push esi
mov esi, dword [edx + 0xc]
xor ebx, ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
push edi
mov edi, dword [edx + 8]
test esi, esi
je 0x41aae3
mov ebx, dword [esi + 0x38c]
mov dword [esi + 0x38c], 0
test ebx, ebx
je 0x41aada
cmp dword [ebx + 0x1c], 0
jne 0x41aae3
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 0x18]
test ecx, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
jne 0x41aae3
mov eax, dword [eax + 0x14]
jmp 0x41aae0
mov eax, dword [esi + 0x88]
mov dword [ebp - 8], eax
test edi, edi
jne 0x41ab99
lea esi, [edi + 1]
lea edi, [ecx + 0x5340]
push esi
mov ecx, edi
call fcn.00404210
test eax, eax
je 0x41ab0d
inc esi
mov ecx, edi
push esi
call fcn.00404210
test eax, eax
jne 0x41ab00
mov eax, dword [0x4927a0]
test eax, eax
je 0x41ab1c
inc dword [eax + 0xb0]
push 0xa4
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
test eax, eax
je 0x41ab3a
push esi
mov ecx, eax
call fcn.0041b2b0
mov edi, eax
jmp 0x41ab3c
xor edi, edi
mov ecx, dword [ebp - 4]
push edi
push dword [edi]
lea ecx, [ecx + 0x5340]
call fcn.004042e0
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
cmp dword [esi + 0x38c], 0
jne 0x41ab93
push 1
mov edx, esi
mov ecx, edi
call fcn.0041b490
mov eax, dword [edi + 0x30]
add esp, 4
mov eax, dword [eax + 8]
and dword [eax + 4], 0xffbfffff
or byte [esi + 0x36d], 1
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
cmp eax, 0xffffffff
je 0x41abf5
test eax, eax
je 0x41abb1
cmp eax, 1
je 0x41abb1
mov ecx, 1
jmp 0x41abb7
xor ecx, ecx
test eax, eax
je 0x41abc0
cmp eax, 2
je 0x41abc0
xor eax, eax
jmp 0x41abc5
mov eax, 1
movss xmm0, dword [edx + 0x14]
mov edx, edi
push ebx
push ecx
movss dword [esp], xmm0
push eax
push ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], eax
call fcn.0041f580
mov eax, dword [ebp - 0x10]
add esp, 0x10
xor eax, 1
mov ecx, dword [edi + eax*4 + 0x1c]
mov eax, dword [edi + 0x70]
mov edi, ecx
mov dword [ecx + 0x70], eax
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
and ecx, 0xffffdfff
or eax, ecx
mov dword [edi + 8], ecx
or eax, dword [edi + 0xc]
mov dword [edi + 0x10], eax
cmp edi, ebx
je 0x41ae23
mov eax, dword [edi + 0x24]
test eax, eax
jle 0x41acec
cmp dword [edi + 0x30], 0
jne 0x41acec
mov ecx, edi
call fcn.0041e090
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x10], 0
test eax, eax
jle 0x41acec
xor edx, edx
or esi, 0xffffffff
mov dword [ebp - 0x14], edx
nop word [eax + eax]
mov eax, dword [edi + 0x2c]
xorps xmm0, xmm0
mov ecx, dword [edi + 0x30]
mov dword [ebp - 0x18], 0
movlpd qword [ebp - 0x30], xmm0
mov edx, dword [edx + eax]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x34], 0xffffffff
mov eax, dword [edx + 0x88]
cmp byte [edx + 0xcd], 0
mov dword [ebp - 0x44], eax
mov eax, 0x100000
cmovne eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x24], 0xffffffff
mov word [ebp - 0x1e], si
mov word [ebp - 0x20], si
mov dword [ebp - 0x38], eax
cmp eax, 0xffffffff
jne 0x41acc2
mov eax, dword [0x4927a0]
mov eax, dword [eax + 0x3ea0]
dec eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x3c], edx
push eax
call fcn.0043f860
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
inc ecx
mov eax, dword [edi + 0x24]
add edx, 4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
cmp ecx, eax
jl 0x41ac50
mov esi, dword [ebp - 0xc]
test ebx, ebx
je 0x41adf9
cmp dword [ebx + 0x1c], 0
je 0x41add4
test eax, eax
jle 0x41ad20
mov esi, dword [ebx + 0x7c]
mov ecx, edi
mov edx, esi
call fcn.0041b9d0
mov edx, edi
mov ecx, esi
call fcn.0041b9d0
mov edx, dword [esi]
mov ecx, dword [edi]
call fcn.00421720
mov eax, dword [edi + 0x10]
shr eax, 0xb
test al, 1
je 0x41ad86
mov ecx, dword [ebp - 4]
push dword [ebx + 0x90]
lea ecx, [ecx + 0x5340]
call fcn.00404210
mov esi, eax
mov edx, esi
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x41ad59
nop dword [eax]
mov edx, ecx
mov ecx, dword [edx + 0x18]
test ecx, ecx
jne 0x41ad50
or dword [esi + 8], 0x800
mov eax, dword [esi + 0xc]
or eax, dword [esi + 4]
or eax, dword [esi + 8]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
and ecx, 0xfffff7ff
or eax, ecx
mov dword [edi + 8], ecx
or eax, dword [edi + 4]
mov dword [edi + 0x10], eax
mov dword [edx + 0x78], esi
mov ecx, dword [ebx + 0x1c]
mov dword [edi + 0x1c], ecx
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x20], eax
test ecx, ecx
je 0x41ad99
mov dword [ecx + 0x18], edi
mov eax, dword [edi + 0x20]
test eax, eax
je 0x41ada3
mov dword [eax + 0x18], edi
mov eax, dword [ebx + 0x4c]
mov edx, ebx
mov dword [edi + 0x4c], eax
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x44]
mov dword [edi + 0x48], ecx
mov ecx, dword [ebp - 4]
mov dword [edi + 0x44], eax
push 1
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x1c], 0
call fcn.0041a380
add esp, 4
jmp 0x41ae2a
mov esi, dword [ebx]
mov edx, ebx
mov ecx, edi
call fcn.0041b9d0
mov edx, dword [edi]
mov ecx, esi
call fcn.00421720
mov ecx, dword [ebp - 4]
mov edx, ebx
push 1
call fcn.0041a380
add esp, 4
jmp 0x41ae2a
test esi, esi
je 0x41ae2a
mov ebx, dword [esi + 0x390]
mov edx, esi
push 1
mov ecx, edi
mov dword [edi + 0x74], esi
call fcn.0041b490
add esp, 4
test ebx, ebx
je 0x41ae2a
mov edx, dword [edi]
mov ecx, ebx
call fcn.00421720
jmp 0x41ae2a
or byte [edi + 0xa1], 2
mov eax, dword [edi + 0x30]
test eax, eax
je 0x41ae37
mov ecx, dword [ebp - 8]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x4927a0]
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x536c]
jb 0x41ae52
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x536c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret