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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x18]
push esi
push edi
lea esi, [ebx + 0x88]
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x48]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x20], ecx
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov eax, dword [ebx + 0x78]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x7c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x70]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x74]
neg esi
sbb esi, esi
and dword [ebx + 0x7c], 0
mov dword [ebx + 0x78], eax
mov eax, dword [ecx + 0xc]
and esi, 0xa
mov dword [ecx + 0x14], eax
call fcn.00430173
mov edi, eax
test edi, edi
je 0x412b49
mov ecx, dword [edi + 0x18]
test ecx, ecx
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x10], eax
je 0x412ab7
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x412ab9
xor eax, eax
mov ecx, dword [ebp - 0x10]
add eax, ecx
mov ecx, dword [edi + 0x18]
test ecx, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0xc], eax
je 0x412ad8
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [ebp - 8], eax
jmp 0x412adc
and dword [ebp - 8], 0
mov eax, edi
call fcn.0041298c
test eax, eax
je 0x412b2f
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x28]
jge 0x412b2f
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x30], eax
jge 0x412b2f
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x2c]
jge 0x412b2f
mov ecx, dword [ebp - 8]
add ecx, eax
cmp dword [ebp - 0x34], ecx
jge 0x412b2f
test esi, esi
jne 0x412b1e
cmp dword [edi + 0x30], 0xff
jge 0x412b1e
mov eax, dword [edi + 0x34]
add eax, 5
jmp 0x412b23
mov eax, dword [edi + 0x34]
add eax, esi
mov dword [edi + 0x38], 1
mov dword [edi + 0x3c], eax
jmp 0x412b37
and dword [edi + 0x38], 0
and dword [edi + 0x3c], 0
mov ecx, dword [ebp - 0x14]
call fcn.00430173
mov edi, eax
test edi, edi
jne 0x412aa3
mov eax, dword [ebx + 0x6c]
mov edx, dword [ebp - 4]
lea edx, [eax + edx*8]
jmp 0x412c4b
mov eax, dword [edx]
cmp eax, dword [edx + 4]
jge 0x412c3c
mov eax, dword [ecx + 0xc]
mov dword [ecx + 0x14], eax
jmp 0x412c2d
xor eax, eax
cmp dword [edi + 0x38], eax
je 0x412c2d
cmp dword [edi + 0x18], eax
mov esi, dword [edi + 0x20]
mov dword [ebp - 0x10], esi
je 0x412b8b
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x14]
add eax, esi
mov esi, dword [edi + 0x1c]
mov dword [ebp - 0x18], eax
xor eax, eax
cmp dword [edi + 0x18], eax
mov dword [ebp - 0xc], esi
je 0x412ba5
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x10]
add esi, eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x10], eax
jg 0x412c27
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 4], eax
jge 0x412c27
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
cmp dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
jge 0x412c27
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
cmp ecx, esi
jge 0x412c27
sub esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
push dword [edi + 0x30]
sub eax, ecx
sub ecx, dword [ebp - 0xc]
mov ebx, esi
mov edx, ecx
sar ebx, 0x1f
and ebx, esi
sub ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
add ebx, dword [esi + 4]
neg edx
mov esi, edx
not esi
sar esi, 0x1f
push ebx
mov ebx, dword [edi + 0x18]
and esi, edx
add esi, ecx
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x10]
push esi
push ecx
push dword [ebp - 4]
mov ecx, eax
not ecx
sar ecx, 0x1f
and ecx, eax
mov eax, dword [ebp - 8]
add ecx, dword [eax]
push ecx
push dword [edi + 0x3c]
mov edi, dword [ebp - 0x20]
call fcn.00414083
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
call fcn.00430173
mov edi, eax
test edi, edi
jne 0x412b6d
mov eax, dword [ebp - 0x24]
and dword [edx + 4], 0
mov dword [edx], eax
add edx, 8
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x1c]
mov dword [ebp - 8], edx
jl 0x412b57
emms
and dword [ebx + 0x80], 0
pop edi
pop esi
pop ebx
leave
ret 4