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

Disassembly:
sub esp, 0x54
mov ecx, dword [esp + 0x58]
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x10], edi
cmp dword [edi + 8], 1
jne 0x4b0376
mov ebp, dword [edi + 0x20]
mov dword [esp + 0x18], ebp
cmp ebp, 2
je 0x4b0376
mov ebx, dword [ecx + 0x34]
lea eax, [ecx + 0x3c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
cmp ebx, eax
je 0x4b0376
cmp dword [ebx], eax
jne 0x4b0376
lea eax, [ebx + 0x18]
cmp dword [ebx + 0x10], eax
jne 0x4b0376
lea eax, [ecx + 0x2c]
mov ecx, dword [ecx + 0x24]
cmp ecx, eax
je 0x4b0020
cmp dword [ecx], eax
jne 0x4b0020
lea eax, [ecx + 0x18]
cmp dword [ecx + 0x10], eax
je 0x4b0376
mov eax, dword [edi + 0x24]
xor ecx, ecx
mov edx, dword [eax]
test edx, edx
je 0x4b0376
nop
mov eax, dword [edx]
inc ecx
mov edx, eax
test eax, eax
jne 0x4b0030
cmp ecx, 3
jne 0x4b0376
lea eax, [edi + 0x34]
push eax
call fcn.004aff70
add esp, 4
test al, al
je 0x4b0376
mov edx, edi
lea eax, [edx + 0x2c]
cmp dword [edx + 0x24], eax
je 0x4b0065
mov esi, dword [edx + 0x30]
jmp 0x4b0067
xor esi, esi
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x18]
mov dword [esp + 0x14], esi
cmp ecx, eax
je 0x4b0086
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4b0086
cmp dword [eax + 0xc], 8
jne 0x4b0376
cmp dword [ecx], 0
je 0x4b012c
cmp ebp, 1
je 0x4b012c
mov esi, dword [ecx + 0x18]
mov ebp, ecx
cmp dword [esi], 0
je 0x4b00b6
test esi, esi
je 0x4b00b6
cmp dword [esi + 8], ebx
je 0x4b00b8
mov esi, dword [esi]
cmp dword [esi], 0
je 0x4b00b6
test esi, esi
jne 0x4b00a6
xor esi, esi
mov eax, dword [ebp + 0x30]
lea ebx, [ebp + 0x2c]
lea edi, [eax - 4]
cmp eax, ebx
je 0x4b0114
test byte [edi], 1
jne 0x4b010a
mov ecx, dword [edx + 0x34]
lea eax, [edx + 0x34]
add eax, 8
xor edx, edx
cmp ecx, eax
mov eax, dword [edi]
cmovne edx, ecx
mov eax, dword [eax + 0x18]
cmp dword [eax], 0
je 0x4b00f8
test eax, eax
je 0x4b00f8
cmp dword [eax + 8], edx
je 0x4b00fa
mov eax, dword [eax]
cmp dword [eax], 0
je 0x4b00f8
test eax, eax
jne 0x4b00e8
xor eax, eax
mov eax, dword [eax + 0x18]
cmp eax, dword [esi + 0x18]
jne 0x4b0376
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 8]
lea edi, [eax - 4]
cmp eax, ebx
jne 0x4b00c5
mov ecx, dword [ebp]
cmp dword [ecx], 0
je 0x4b0128
mov ebx, dword [esp + 0x1c]
test ecx, ecx
jne 0x4b0098
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov edx, 1
movzx eax, byte [esp + 0x74]
cmp ebp, edx
mov ecx, edx
mov dword [esp + 0x18], 0
cmovne ecx, eax
movzx eax, byte [esp + 0x78]
cmovne edx, eax
lea esi, [edi + 0x2c]
xor ebx, ebx
mov al, dl
cmp dword [edi + 0x24], esi
mov esi, dword [esp + 0x70]
cmovne ebx, dword [edi + 0x24]
push eax
xor eax, eax
mov dword [esp + 0x28], ebx
push ecx
test esi, esi
setne al
push eax
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.004af9a0
add esp, 0x14
test al, al
je 0x4b0376
mov edx, edi
cmp dword [esp + 0x18], esi
jbe 0x4b0199
cmp dword [edx + 0x20], 1
jne 0x4b0376
mov edi, dword [esp + 0x14]
xor eax, eax
mov edi, dword [edi + 0x10]
cmp dword [edi], eax
cmove edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x4b02ac
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, dword [edi + 0x18]
mov eax, dword [eax + 0x34]
cmp eax, dword [esp + 0x20]
cmovne ecx, eax
cmp dword [ebx], 0
je 0x4b01e0
test ebx, ebx
je 0x4b01e0
nop
cmp dword [ebx + 8], ecx
je 0x4b01e2
mov ebx, dword [ebx]
cmp dword [ebx], 0
je 0x4b01e0
test ebx, ebx
jne 0x4b01d0
xor ebx, ebx
mov eax, dword [edi + 0x30]
lea ecx, [edi + 0x2c]
mov ebp, dword [eax + 4]
lea esi, [eax - 4]
sub ebp, 4
mov dword [esp + 0x1c], ecx
cmp eax, ecx
je 0x4b0291
nop dword [eax]
test byte [esi], 1
jne 0x4b027a
mov ecx, dword [edx + 0x34]
lea eax, [edx + 0x34]
add eax, 8
xor edx, edx
cmp ecx, eax
mov eax, dword [esi]
cmovne edx, ecx
mov eax, dword [eax + 0x18]
cmp dword [eax], 0
je 0x4b0233
test eax, eax
je 0x4b0233
cmp dword [eax + 8], edx
je 0x4b0235
mov eax, dword [eax]
cmp dword [eax], 0
je 0x4b0233
test eax, eax
jne 0x4b0223
xor eax, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebx + 0x18]
jne 0x4b0277
mov edx, dword [eax + 0x10]
lea esi, [edi + 0x28]
mov ecx, dword [eax + 0x14]
lea edi, [eax + 0x10]
mov dword [edx + 4], ecx
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov dword [edx], ecx
lea ecx, [esi + 4]
mov dword [edi], 0
mov dword [edi + 4], ecx
mov dword [eax + 0x18], esi
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx]
mov dword [eax + 4], edi
mov dword [ecx], edi
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
jmp 0x4b027a
lea ecx, [edi + 0x2c]
mov edx, dword [esp + 0x10]
mov esi, ebp
mov ebp, dword [ebp + 8]
sub ebp, 4
lea eax, [esi + 4]
cmp eax, ecx
jne 0x4b0200
mov edi, dword [edi]
mov dword [esp + 0x18], edi
cmp dword [edi], 0
je 0x4b02a8
mov edx, dword [esp + 0x10]
test edi, edi
jne 0x4b01b3
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x68]
cmp dword [ebp + 8], 0
jne 0x4b02bc
xor edx, edx
mov ecx, ebp
jmp 0x4b02cc
mov eax, dword [ebp + 4]
xor ecx, ecx
mov edx, 1
cmp dword [eax + 4], ecx
cmovne ecx, eax
push ecx
push edx
lea eax, [esp + 0x58]
push eax
call fcn.004aff00
mov edi, dword [esp + 0x1c]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x34], xmm0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x34]
push dword [edi + 0x1c]
push dword [ebp + 0x1c]
push 0x10d
push eax
call fcn.0041cdb0
mov edx, dword [ebp + 0x14]
lea esi, [ebp + 0x14]
mov ecx, dword [esi + 4]
push dword [esp + 0x30]
mov dword [edx + 4], ecx
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push 1
push ebx
mov dword [edx], ecx
lea ecx, [eax + 4]
mov dword [esi], 0
mov dword [ebp + 0x1c], eax
mov dword [esi + 4], ecx
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx]
push 0
mov dword [eax + 4], esi
lea eax, [esp + 0x68]
push eax
mov dword [ecx], esi
call fcn.00412540
add esp, 0x30
cmp dword [edi + 8], 0
jne 0x4b034d
xor ecx, ecx
jmp 0x4b035d
mov eax, dword [edi + 4]
mov ecx, 1
xor edi, edi
cmp dword [eax + 4], edi
cmovne edi, eax
push edi
push ecx
lea eax, [esp + 0x44]
push eax
call fcn.00412800
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x54
ret