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

Disassembly:
push 0xffffffffffffffff
push 0x568c0a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 0xdc]
mov eax, dword [esp + 0x58]
xor ecx, ecx
inc edi
cmp eax, ecx
mov dword [esp + 0x3c], ecx
mov dword [esi + 0xdc], edi
mov ebp, edi
je 0x4108e0
lea ebx, [eax + 0x1c]
jmp 0x4108e2
xor ebx, ebx
push ebx
mov ebx, dword [esp + 0x58]
push ebx
mov edx, dword [esp + 0x4c]
sub esp, 0x10
xor eax, eax
mov ebx, esp
mov edi, dword [esp + 0x60]
push ebp
mov dword [ebx], eax
mov dword [ebx + 4], ecx
lea ecx, [esi + 0x44c]
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
call fcn.00438b80
mov edi, eax
mov eax, dword [0x5bc6c4]
mov dword [esp + 0x54], edi
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x50]
push ebp
lea edx, [esp + 0x48]
push ecx
push edx
mov byte [esp + 0x48], 1
call fcn.00545283
mov eax, dword [esp + 0x50]
add esp, 0xc
mov ecx, edi
push eax
call fcn.0043fdd0
mov eax, ebp
mov ecx, 6
cdq
idiv ecx
push 0xbc
inc edx
mov dword [edi + 0x78], edx
call fcn.00547b9a
add esp, 4
mov dword [esp + 0x58], eax
xor edi, edi
mov byte [esp + 0x3c], 2
cmp eax, edi
je 0x41097a
mov ecx, eax
call fcn.0055a377
mov ebx, eax
mov dword [esp + 0x58], ebx
jmp 0x410980
mov dword [esp + 0x58], edi
mov ebx, edi
xor edx, edx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], edx
mov ecx, esi
mov dword [esp + 0x24], edx
mov byte [esp + 0x3c], 1
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
call fcn.0055b63c
mov eax, dword [eax + 0x3c]
lea ecx, [esp + 0x20]
push ecx
push edi
push edi
lea edx, [esp + 0x1c]
push esi
push edx
push 0x56000000
push edi
push edi
mov ecx, ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.0055ab88
push edi
push edi
push 0x200
mov ecx, ebx
call fcn.0054bb8b
mov ecx, dword [esi + 0xc8]
mov eax, ebp
shr eax, 4
xor edx, edx
mov dword [esp + 0x48], ecx
div ecx
mov ecx, dword [esi + 0xc4]
cmp ecx, edi
mov ebx, edx
je 0x410a29
mov eax, dword [ecx + ebx*4]
cmp eax, edi
je 0x410a25
cmp dword [eax + 8], ebp
je 0x410a1d
mov eax, dword [eax]
cmp eax, edi
jne 0x410a10
jmp 0x410a25
cmp eax, edi
jne 0x410ae6
cmp ecx, edi
jne 0x410a65
mov eax, dword [esp + 0x48]
lea edi, [eax*4]
push edi
call fcn.00547b9a
mov edx, eax
mov ecx, edi
mov dword [esi + 0xc4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x48]
xor edi, edi
mov dword [esi + 0xc8], eax
cmp dword [esi + 0xd0], edi
jne 0x410aab
mov ecx, dword [esi + 0xd8]
push 0x10
lea edx, [esi + 0xd4]
push ecx
push edx
call fcn.00546fd7
mov ecx, dword [esi + 0xd8]
mov edx, ecx
shl edx, 4
dec ecx
cmp ecx, edi
lea eax, [edx + eax - 0xc]
jl 0x410aab
inc ecx
mov edx, dword [esi + 0xd0]
mov dword [eax], edx
mov dword [esi + 0xd0], eax
sub eax, 0x10
dec ecx
jne 0x410a97
mov eax, dword [esi + 0xd0]
mov ecx, dword [eax]
mov dword [esi + 0xd0], ecx
mov ecx, dword [esi + 0xcc]
inc ecx
mov dword [esi + 0xcc], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], ebp
mov edx, dword [esi + 0xc4]
mov ecx, dword [edx + ebx*4]
mov dword [eax], ecx
mov edx, dword [esi + 0xc4]
mov dword [edx + ebx*4], eax
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x3c], 0
mov dword [eax + 0xc], ecx
lea ecx, [esp + 0x44]
call fcn.0054c5f8
lea ecx, [esp + 0x50]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0054c5f8
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret 0x18