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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov ecx, dword [ebp + 8]
push edi
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0
mov edi, dword [ecx]
mov eax, dword [ecx + 0x1b8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], edi
test byte [edi + 0x44], 1
je 0x421ca3
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
shl ecx, 4
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x10], eax
add eax, 8
add eax, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x1c]
test eax, eax
je 0x421cda
cmp dword [esi + 0x38], 0
jne 0x421cf2
cmp dword [ecx + 0x3c], 0
jne 0x421cf2
test dword [esi + 8], 0x100
je 0x421ced
test eax, eax
jne 0x421cf2
cmp dword [edx], 0
jne 0x421cfa
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ecx + 8]
test bl, 1
jne 0x421eb4
mov edx, dword [ebp + 0x14]
test eax, eax
je 0x421d25
mov edi, dword [ebp - 0x10]
cmp dword [edi], 1
mov edi, dword [ebp - 8]
jg 0x421eb4
test edx, edx
jne 0x421eb4
cmp dword [esi + 0x2c], 0
je 0x421d35
cmp dword [ecx + 0x2c], 0
jne 0x421eb4
test edx, edx
je 0x421d43
cmp dword [ecx + 0x2c], 0
jne 0x421eb4
test eax, eax
je 0x421d5b
cmp dword [esi + 0x20], 0
jne 0x421eb4
test byte [esi + 8], 1
jne 0x421eb4
test ebx, 0x2000
jne 0x421eb4
mov eax, dword [ebp - 0xc]
test byte [eax + 0x24], 0x20
je 0x421d97
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x18], 1
cmp dword [eax], 1
jg 0x421eb4
test edx, edx
jne 0x421eb4
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x38], edx
jne 0x421eb4
cmp dword [ecx + 0x30], 0
lea ebx, [ecx + 0x30]
je 0x421e12
test edx, edx
jne 0x421eb4
test byte [esi + 8], 1
jne 0x421eb4
mov eax, dword [ebp - 0x10]
cmp dword [eax], 1
jne 0x421eb4
nop
test byte [ecx + 8], 9
jne 0x421eb4
mov edx, dword [ecx + 0x30]
test edx, edx
je 0x421ddb
cmp byte [ecx + 4], 0x74
jne 0x421eb4
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 1
jl 0x421eb4
mov ecx, edx
test ecx, ecx
jne 0x421dc0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x421e12
mov edx, dword [eax]
test edx, edx
jle 0x421e12
add eax, 0x18
nop dword [eax]
cmp word [eax], 0
je 0x421eb4
inc ecx
add eax, 0x18
cmp ecx, edx
jl 0x421e00
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
push 0
push 0
push 0
mov eax, dword [eax + 8]
push 0x15
push ecx
mov dword [ecx + 0x1b8], eax
call fcn.00434690
mov ecx, dword [ebp + 8]
add esp, 0x14
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x1b8], eax
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x421eee
nop dword [eax + eax]
mov eax, dword [ebp + 0xc]
mov ebx, dword [esi + 0x2c]
mov edi, dword [esi + 0x38]
mov esi, dword [esi + 0x3c]
mov ecx, dword [eax + 0x30]
push 0
push eax
push dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
mov dword [eax + 0x2c], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
call fcn.004545e0
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov dword [ecx + 0x3c], esi
mov esi, ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x38], edi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x1c], ecx
mov byte [esi + 4], 0x74
test eax, eax
jne 0x421ebd
mov eax, dword [ebp - 0x1c]
jmp 0x421ecd
pop ebx
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x30], ecx
test ecx, ecx
je 0x421eca
mov dword [ecx + 0x34], eax
mov dword [eax + 0x34], esi
mov edi, dword [ebp - 8]
mov dword [esi + 0x30], eax
cmp byte [edi + 0x49], 0
jne 0x422144
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x421e50
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x14]
mov ebx, eax
push dword [ecx + 4]
mov dword [ebp - 0x30], eax
push edi
mov dword [ebp - 0x20], ebx
call fcn.0043ae20
mov eax, dword [ebp - 0xc]
push dword [eax + 8]
push edi
call fcn.0043ae20
mov eax, dword [ebp - 0xc]
push dword [eax + 0xc]
push edi
call fcn.0043ae20
mov edi, dword [ebp - 0xc]
add esp, 0x18
mov edx, dword [edi + 0x10]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
test edx, edx
je 0x421f75
mov eax, dword [edx + 0x20]
cmp eax, 1
jne 0x421f6a
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x78]
test eax, eax
cmovne ecx, eax
mov eax, dword [ecx + 0x1c8]
mov dword [edx + 0x4c], eax
mov dword [ecx + 0x1c8], edx
jmp 0x421f6e
dec eax
mov dword [edx + 0x20], eax
mov dword [edi + 0x10], 0
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esi + 0x1c]
mov byte [ebp - 1], 0
mov dword [ebp - 0x1c], eax
mov edi, dword [eax]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x421f99
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x24]
mov byte [ebp - 1], al
jmp 0x421fba
push 0
push 0
push 0
push dword [ebp - 8]
call fcn.00454d10
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [esi + 0x1c], ecx
test ecx, ecx
je 0x42212e
cmp edi, 1
jle 0x421feb
mov eax, dword [ebp + 0x10]
inc eax
push eax
lea eax, [edi - 1]
push eax
push ecx
push dword [ebp - 8]
call fcn.00455390
mov ecx, eax
add esp, 0x10
mov eax, dword [ebp - 8]
mov dword [esi + 0x1c], ecx
mov dword [ebp - 0x10], ecx
cmp byte [eax + 0x49], 0
jne 0x422131
jmp 0x421fee
mov eax, dword [ebp - 8]
test edi, edi
jle 0x42205c
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x1c]
add edi, 8
mov ebx, dword [ebp - 0x28]
add esi, 8
add edi, ecx
push dword [edi + 0x38]
push eax
call fcn.004466e0
movups xmm0, xmmword [esi]
push 0x50
push 0
movups xmmword [edi], xmm0
push esi
movups xmm0, xmmword [esi + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [edi + 0x30], xmm0
movups xmm0, xmmword [esi + 0x40]
movups xmmword [edi + 0x40], xmm0
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x14], eax
call fcn.00520ff0
mov eax, dword [ebp - 8]
lea edi, [edi + 0x50]
add esp, 0x14
add esi, 0x50
sub ebx, 1
jne 0x422003
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
mov al, byte [ebp - 1]
mov byte [edx + ecx + 0x2c], al
mov edx, dword [ebx + 0x2c]
test edx, edx
je 0x42208e
xor ecx, ecx
cmp dword [edx], ecx
jle 0x422084
lea eax, [edx + 0x18]
xor edi, edi
lea eax, [eax + 0x18]
mov word [eax - 0x18], di
inc ecx
cmp ecx, dword [edx]
jl 0x422076
mov dword [esi + 0x2c], edx
mov dword [ebx + 0x2c], 0
mov eax, dword [ebx + 0x20]
mov edi, dword [ebp - 8]
test eax, eax
je 0x4220aa
push 0
push 0
push eax
push edi
call fcn.0041ee90
add esp, 0x10
mov edx, eax
jmp 0x4220ac
xor edx, edx
cmp dword [ebp - 0x18], 0
jbe 0x4220be
push dword [ebp - 0x14]
push edx
call fcn.00432710
add esp, 8
push dword [esi + 0x20]
push edx
push edi
call fcn.0043ce40
add esp, 0xc
mov dword [esi + 0x20], eax
cmp byte [edi + 0x49], 0
jne 0x422100
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx]
push 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.0046b0b0
add esp, 0xc
mov eax, dword [ebx + 8]
and eax, 1
or dword [esi + 8], eax
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x42211a
mov dword [esi + 0x38], eax
mov dword [ebx + 0x38], 0
mov esi, dword [esi + 0x30]
mov ebx, dword [ebx + 0x30]
mov dword [ebp + 0xc], esi
mov dword [ebp - 0x20], ebx
test esi, esi
jne 0x421f75
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x422144
push 1
push ecx
push eax
call fcn.00417e70
add esp, 0xc
pop ebx
pop esi
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret