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

Disassembly:
push 0xffffffffffffffff
push 0x74c4e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x93fa62]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x10], eax
jne 0x56ac57
push 1
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0xffffffff
call fcn.00404760
jmp 0x56b207
mov ebx, dword [esp + 0x74]
mov ebp, dword [fcn.0076528c]
mov esi, 0x93927c
mov eax, dword [esi]
test eax, eax
jne 0x56ac71
mov eax, 0x765608
push eax
push ebx
call ebp
test eax, eax
je 0x56acb6
add esi, 0x10
inc edi
cmp esi, 0x9392dc
jl 0x56ac66
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x5c], 0xffffffff
test ecx, ecx
je 0x56b207
mov al, byte [ecx - 1]
test al, al
je 0x56b1fd
cmp al, 0xff
je 0x56b1fd
dec al
mov byte [ecx - 1], al
jmp 0x56b207
cmp edi, 5
ja case.default.0x56acbf
jmp dword [edi*4 + 0x56b21c]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x56b1a9
mov eax, dword [eax + 0xcc]
test eax, eax
je 0x56b1a9
mov ecx, dword [0x93c97c]
cmp dword [ecx + 0x4f0], 1
jne 0x56b1a9
mov ecx, eax
call fcn.005232d0
jmp 0x56b1a9
mov edx, dword [0x93c97c]
mov esi, dword [0x93c978]
lea ecx, [esp + 0x74]
mov eax, dword [edx + 0x454]
lea edx, [esp + 0x78]
push ecx
push edx
lea ecx, [esi + 0x38]
mov dword [esp + 0x7c], eax
call fcn.0047a320
mov esi, dword [esi + 0x3c]
mov eax, dword [esp + 0x78]
cmp eax, esi
je 0x56ad49
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + 0x2fc]
sub eax, 5
neg eax
sbb eax, eax
and eax, ecx
jmp 0x56ad4b
xor eax, eax
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x40]
test ecx, ecx
je 0x56b1a9
test eax, eax
je 0x56b1a9
cmp dword [eax + 0x4f0], 1
jne 0x56b1a9
mov ecx, dword [ecx + 0xcc]
test ecx, ecx
je 0x56b1a9
mov edx, dword [eax + 0x4c0]
push edx
call fcn.00523340
jmp 0x56b1a9
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x56b1a9
mov eax, dword [eax + 0xd0]
test eax, eax
je 0x56b1a9
mov ecx, dword [0x93c97c]
cmp dword [ecx + 0x4f0], 1
jne 0x56b1a9
mov ecx, eax
call fcn.00524c60
jmp 0x56b1a9
mov edx, dword [0x93c97c]
cmp dword [edx + 0x4f0], 1
jne 0x56b1a9
mov ecx, dword [0x93fa46]
lea eax, [esp + 0x24]
push 3
push eax
mov byte [esp + 0x2c], 0x6d
mov byte [esp + 0x2d], 1
mov byte [esp + 0x2e], 1
call fcn.0045cad0
jmp 0x56b1a9
mov ecx, dword [0x93c97c]
cmp dword [ecx + 0x4f0], 1
jne 0x56b1a9
mov ecx, dword [0x93fa46]
lea edx, [esp + 0x24]
push 3
push edx
mov byte [esp + 0x2c], 0x6d
mov byte [esp + 0x2d], 1
mov byte [esp + 0x2e], 2
call fcn.0045cad0
jmp 0x56b1a9
mov eax, dword [0x93c97c]
mov ecx, dword [eax + 0x4a4]
test ecx, ecx
je 0x56af27
mov al, byte [esp + 0x74]
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], al
call fcn.00404760
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 1
push ecx
push 0x2cf8
call fcn.006a8c20
mov dl, byte [esp + 0x7c]
add esp, 8
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], dl
push 0
call fcn.00404760
mov edi, 0x7c4d78
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x38]
push ebp
call fcn.00401450
test al, al
je 0x56aed0
mov edi, dword [esp + 0x38]
mov ecx, ebp
mov eax, ecx
mov esi, 0x7c4d78
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38]
call fcn.00404970
push 0
push 0
lea ecx, [esp + 0x3c]
push 0
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x54]
mov bl, 2
push edx
push eax
mov byte [esp + 0x74], bl
call fcn.006f9ae0
add esp, 0x18
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x60], bl
call fcn.00404760
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 1
call fcn.00404760
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 0
call fcn.00404760
jmp 0x56b1a9
cmp dword [eax + 0x4e4], 1
je 0x56af3a
mov ecx, dword [eax + 0x4f0]
mov dword [esp + 0x74], ecx
mov dl, byte [esp + 0x74]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call fcn.00404760
mov esi, dword [esp + 0x78]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.00401450
test al, al
je 0x56af8d
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov eax, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00404970
mov eax, dword [esp + 0x1c]
xor ebp, ebp
mov bl, 4
cmp eax, ebp
mov byte [esp + 0x5c], bl
jne 0x56b082
mov ecx, dword [0x93c97c]
mov esi, dword [0x93c978]
lea eax, [esp + 0x74]
mov edx, dword [ecx + 0x454]
lea ecx, [esp + 0x78]
push eax
push ecx
lea ecx, [esi + 0x38]
mov dword [esp + 0x7c], edx
call fcn.0047a320
mov esi, dword [esi + 0x3c]
mov eax, dword [esp + 0x78]
cmp eax, esi
je 0x56b07a
mov esi, dword [eax + 0x10]
cmp esi, ebp
je 0x56b07a
mov edx, dword [0x76560c]
lea eax, [esi + 0x478]
push edx
push ebp
push eax
lea ecx, [esp + 0x20]
call fcn.00404560
mov eax, dword [0x93c97c]
mov edx, dword [esi + 0x490]
mov ecx, dword [eax + 0x490]
cmp ecx, edx
je 0x56b07a
cmp dword [eax + 0x4a4], ebp
je 0x56b07a
mov dl, byte [esp + 0x74]
push ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], dl
call fcn.00404760
lea eax, [esp + 0x24]
mov byte [esp + 0x5c], 5
push eax
push 0x2cee
call fcn.006a8c20
add esp, 8
lea ecx, [esp + 0x24]
push 0xffffff00
push ecx
mov ecx, dword [0x93fa62]
call fcn.00663960
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], bl
call fcn.00404760
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 0
call fcn.00404760
jmp 0x56b1a9
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x56b0ff
cmp eax, 0x14
ja 0x56b0ff
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x204], ebp
je 0x56b0cf
mov dl, byte [esp + 0x14]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x84], esp
push ebp
mov ecx, esi
mov byte [esi], dl
call fcn.00404760
mov eax, dword [0x76560c]
lea ecx, [esp + 0x24]
push eax
push ebp
push ecx
mov ecx, esi
call fcn.00404560
mov ecx, dword [edi + 0x204]
mov byte [esp + 0x6c], bl
call fcn.006fe5e0
mov eax, dword [esp + 0x18]
mov byte [esp + 0x5c], 0
cmp eax, ebp
je 0x56b1a9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x56b195
cmp al, 0xff
je 0x56b195
dec al
mov byte [ecx], al
jmp 0x56b1a9
mov dl, byte [esp + 0x74]
mov dword [esp + 0x28], ebp
mov byte [esp + 0x24], dl
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
lea eax, [esp + 0x24]
mov byte [esp + 0x5c], 6
push eax
push 0x2cef
call fcn.006a8c20
add esp, 8
lea ecx, [esp + 0x24]
push 0xffffff00
push ecx
mov ecx, dword [0x93fa62]
call fcn.00663960
mov eax, dword [esp + 0x28]
mov byte [esp + 0x5c], bl
cmp eax, ebp
je 0x56b168
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x56b15f
cmp al, 0xff
je 0x56b15f
dec al
mov byte [ecx], al
jmp 0x56b168
push ecx
call fcn.00726ea6
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
cmp eax, ebp
mov byte [esp + 0x5c], 0
je 0x56b1a9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x56b195
cmp al, 0xff
je 0x56b195
dec al
mov byte [ecx], al
jmp 0x56b1a9
push ecx
call fcn.00726ea6
add esp, 4
jmp 0x56b1a9
cmp edi, 0xffffffff
je 0x56ac85
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x5c], 0xffffffff
test ecx, ecx
je 0x56b1e8
mov al, byte [ecx - 1]
test al, al
je 0x56b1de
cmp al, 0xff
je 0x56b1de
dec al
mov byte [ecx - 1], al
mov al, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret