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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a9a5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x49e2f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], ecx
mov ecx, dword [eax + 4]
mov eax, 0x88888889
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x41542b
mov ecx, dword [ebp - 0x34]
add ecx, 0x2c
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.0040ab20
mov eax, dword [ebp - 0x3c]
jmp 0x4155b8
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
cmp ecx, edx
jge 0x415442
test byte [eax + 0x44], 2
jne 0x4155d5
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 1
mov ecx, dword [eax + 0x3c]
test edi, edi
je 0x41548e
nop dword [eax]
mov eax, dword [esi + 0x14]
add eax, ecx
cmp dword [esi], 0xfffffffe
jne 0x415481
cmp eax, dword [esi + 0x38]
cmovb eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x2c]
add esi, 0x78
add ecx, eax
sub edi, 1
jne 0x415470
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040a670
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
lea eax, [esi + 0x2c]
push eax
call fcn.0040a890
mov edi, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov eax, 0x88888889
mov ecx, dword [esi + 4]
sub ecx, edi
mov dword [ebp - 0x30], edi
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41558c
xor eax, eax
mov dword [ebp - 0x2c], eax
add eax, 4
lea ecx, [ebp - 0x28]
add eax, edi
push eax
call fcn.0040a890
mov edx, dword [ebp - 0x2c]
cmp dword [edx + edi], 0xfffffffe
jne 0x41554e
mov edi, dword [edx + edi + 0x38]
mov ecx, dword [ebp - 0x18]
cmp edi, ecx
jbe 0x41554b
mov eax, dword [ebp - 0x30]
sub edi, ecx
mov dl, byte [edx + eax + 0x48]
mov eax, dword [ebp - 0x14]
sub eax, ecx
mov byte [ebp - 0x44], dl
cmp edi, eax
ja 0x415534
cmp dword [ebp - 0x14], 0x10
lea eax, [edi + ecx]
mov dword [ebp - 0x18], eax
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push edi
movsx eax, dl
add esi, ecx
push eax
push esi
call fcn.00451990
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x34]
jmp 0x415548
push dword [ebp - 0x44]
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0x28]
push edi
push dword [ebp - 0x40]
push edi
call fcn.00412f20
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
lea eax, [edi + 0x1c]
add eax, edx
lea ecx, [ebp - 0x28]
push eax
call fcn.0040a890
mov edi, dword [esi]
mov eax, 0x88888889
mov ecx, dword [esi + 4]
inc dword [ebp - 0x38]
sub ecx, edi
add dword [ebp - 0x2c], 0x78
imul ecx
mov dword [ebp - 0x30], edi
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
jb 0x4154d3
mov eax, dword [ebp - 0x3c]
xorps xmm0, xmm0
mov byte [esi + 0x28], 1
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
movups xmm0, xmmword [ebp - 0x28]
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044fadf
mov esp, ebp
pop ebp
ret 4
push edx
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00403e00
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00419990
int3