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

Disassembly:
sub esp, 0x54
mov eax, dword [0x462080]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x28]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x64]
push edi
push 5
push ecx
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1f], 0
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x54], 0xffffffff
call fcn.0040fb60
mov edx, eax
add esp, 0xc
mov dword [esp + 0x24], edx
xor edi, edi
mov ecx, edi
mov ebx, 1
shl ebx, cl
lea ecx, [edi + 0x10]
mov eax, ebx
bts eax, ecx
test edx, eax
je 0x411310
mov ebp, dword [esp + edi*4 + 0x38]
lea edx, [esi + 0x60]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edx
cmp ebp, 0xffffffff
je 0x411187
push 4
lea eax, [esp + 0x30]
push eax
push edx
call fcn.00425050
mov edx, dword [esp + 0x34]
lea ecx, [edi + 0x10]
add esp, 0xc
mov esi, eax
jmp 0x411189
xor esi, esi
and ebx, dword [esp + 0x24]
mov eax, 1
neg ebx
sbb ebx, ebx
shl eax, cl
neg ebx
mov ecx, ebx
or ecx, 2
and eax, dword [esp + 0x24]
cmove ecx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + edi*4 + 0x4c], ecx
test esi, esi
je 0x4111df
mov ecx, dword [esp + 0x20]
xor edi, edi
mov edx, dword [ecx + 0x78]
test edx, edx
jle 0x411249
lea eax, [ecx + 0x50]
cmp ebp, dword [eax]
je 0x4111d4
inc edi
add eax, 4
cmp edi, edx
jl 0x4111c6
jmp 0x411249
mov ecx, dword [ecx + edi*4 + 0x64]
mov byte [esp + 0x13], 1
jmp 0x411254
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
cmp ebp, 0xffffffff
je 0x411202
push 4
lea eax, [esp + 0x34]
push eax
push edx
call fcn.00425050
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x411245
push 0x24
push 1
call dword [0x462010]
mov esi, eax
add esp, 8
test esi, esi
je 0x4112f8
push 0
push esi
call fcn.00424b50
push esi
push 4
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x3c]
call fcn.00424d10
add esp, 0x18
test eax, eax
je 0x4112ee
test esi, esi
je 0x4112f8
mov ecx, dword [esp + 0x20]
cmp byte [esp + 0x13], 0
je 0x41127c
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
cmp ecx, eax
je 0x4112a2
test cl, 1
je 0x411264
dec dword [esi + 0x1c]
test cl, 2
je 0x41126c
dec dword [esi + 0x20]
test al, 1
je 0x411273
inc dword [esi + 0x1c]
test al, 2
je 0x4112a2
inc dword [esi + 0x20]
jmp 0x4112a2
inc dword [esi + 0x18]
mov eax, dword [esp + 0x18]
test al, 1
je 0x41128a
inc dword [esi + 0x1c]
test al, 2
je 0x411291
inc dword [esi + 0x20]
lea eax, [ecx + 0x24]
push eax
push ecx
push dword [esi + 4]
push esi
call fcn.00424b70
add esp, 0x10
mov ebx, dword [esi + 0x20]
neg ebx
sbb ebx, ebx
xor eax, eax
and ebx, 2
cmp dword [esi + 0x1c], eax
setne al
or ebx, eax
cmp dword [esi + 0x10], ebx
je 0x4112db
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x4112d8
push dword [esi + 0x14]
push dword [eax + 0x38]
mov eax, dword [esp + 0x28]
push ebx
push ebp
push eax
call ecx
add esp, 0x14
mov dword [esi + 0x10], ebx
inc edi
cmp edi, 5
jge 0x411310
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
jmp 0x411137
push esi
call dword [0x462004]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0044fd45
add esp, 0x54
ret
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x18], 0
cmp dword [ebp + 0x78], 0
jle 0x4113ec
lea ebx, [ebp + 0x64]
nop dword [eax]
mov esi, dword [ebx - 0x14]
xor eax, eax
test edi, edi
jle 0x41134f
nop dword [eax]
cmp esi, dword [esp + eax*4 + 0x38]
je 0x4113d7
inc eax
cmp eax, edi
jl 0x411340
mov dword [esp + 0x1c], esi
cmp esi, 0xffffffff
je 0x4113d7
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push 4
add eax, 0x60
push ecx
push eax
call fcn.00425050
mov edx, eax
add esp, 0xc
test edx, edx
je 0x4113d7
mov ecx, dword [edx + 0x18]
mov eax, dword [ebx]
dec ecx
mov dword [edx + 0x18], ecx
test al, 2
je 0x411389
dec dword [edx + 0x20]
test al, 1
je 0x411390
dec dword [edx + 0x1c]
test ecx, ecx
jne 0x4113c8
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x4113b2
push dword [edx + 0x14]
push dword [ecx + 0x38]
push 4
push esi
push ebp
call eax
mov ecx, dword [esp + 0x28]
add esp, 0x14
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], esi
push eax
lea eax, [ecx + 0x60]
push eax
call fcn.00424ea0
jmp 0x4113d4
push 0
lea eax, [ebp + 0x24]
push eax
push edx
call fcn.00424c90
add esp, 0xc
mov eax, dword [esp + 0x18]
add ebx, 4
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [ebp + 0x78]
jl 0x411330
lea esi, [edi*4]
push esi
lea eax, [esp + 0x3c]
push eax
lea eax, [ebp + 0x50]
push eax
call sub.VCRUNTIME140.dll_memcpy
push esi
lea eax, [esp + 0x5c]
push eax
lea eax, [ebp + 0x64]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x78]
add esp, 0x18
mov dword [ebp + 0x78], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044fd45
add esp, 0x54
ret