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

Disassembly:
push 0xffffffffffffffff
push 0x74c450
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov ebp, dword [0x93fa62]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x10], ebp
jne 0x56a148
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 0xffffffff
call fcn.00404760
jmp 0x56a803
xor edi, edi
mov esi, 0x93932c
mov eax, dword [esi]
cmp eax, ebx
jne 0x56a15a
mov eax, 0x765608
push eax
mov eax, dword [esp + 0x88]
push eax
call dword [fcn.0076528c]
test eax, eax
je 0x56a1aa
add esi, 0x10
inc edi
cmp esi, 0x9393bc
jl 0x56a14f
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x6c], 0xffffffff
cmp ecx, ebx
je 0x56a803
mov al, byte [ecx - 1]
cmp al, bl
je 0x56a7f9
cmp al, 0xff
je 0x56a7f9
dec al
mov byte [ecx - 1], al
jmp 0x56a803
cmp edi, 8
ja case.default.0x56a1b3
jmp dword [edi*4 + 0x56a818]
mov ecx, dword [0x93c97c]
mov eax, dword [ecx + 0x4f0]
cmp eax, 1
je 0x56a1d4
cmp eax, 2
jne 0x56a7a5
mov ecx, dword [ecx + 0x454]
push ecx
mov ecx, ebp
call fcn.00652a50
jmp 0x56a7a5
mov dl, byte [esp + 0x88]
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call fcn.00404760
mov eax, dword [0x93c97c]
mov byte [esp + 0x6c], 1
mov eax, dword [eax + 0x4f0]
cmp eax, 1
jne 0x56a29e
lea ecx, [esp + 0x14]
push ecx
push 0x1e0f
call fcn.006a8c20
mov dl, byte [esp + 0x90]
add esp, 8
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], dl
push ebx
call fcn.00404760
mov edi, 0x7c4d78
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x7c4d78
lea ecx, [esp + 0x3c]
call fcn.004047b0
push ebx
push 0x24
lea eax, [esp + 0x1c]
push 4
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x54]
push ecx
push edx
mov byte [esp + 0x84], 2
call fcn.006f9ae0
add esp, 0x18
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 2
call fcn.00404760
mov byte [esp + 0x6c], 1
push 1
lea ecx, [esp + 0x38]
jmp 0x56a350
cmp eax, ebx
je 0x56a355
lea eax, [esp + 0x14]
push eax
push 0x1e0e
call fcn.006a8c20
mov cl, byte [esp + 0x90]
add esp, 8
mov byte [esp + 0x24], cl
lea ecx, [esp + 0x24]
push ebx
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 + 0x28]
push ebp
call fcn.00401450
test al, al
je 0x56a311
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov edx, ecx
mov esi, 0x7c4d78
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00404970
push ebx
push 0x24
lea eax, [esp + 0x1c]
push 4
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x64]
push ecx
push edx
mov byte [esp + 0x84], 4
call fcn.006f9ae0
add esp, 0x18
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 4
call fcn.00404760
mov byte [esp + 0x6c], 1
push 1
lea ecx, [esp + 0x28]
call fcn.00404760
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], bl
call fcn.00404760
jmp 0x56a7a5
mov eax, dword [0x93c97c]
cmp dword [eax + 0x4f0], 1
jne 0x56a7a5
mov cl, byte [esp + 0x88]
push ebx
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
call fcn.00404760
mov esi, dword [esp + 0x88]
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 0x56a3d3
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00404970
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x70], 6
call fcn.00652a80
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], bl
call fcn.00404760
jmp 0x56a7a5
mov ecx, dword [0x93c97c]
cmp dword [ecx + 0x4f0], 1
jne 0x56a7a5
mov dl, byte [esp + 0x88]
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call fcn.00404760
mov esi, dword [esp + 0x88]
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 0x56a465
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
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 7
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00652b10
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], bl
call fcn.00404760
jmp 0x56a7a5
mov edx, dword [0x93c97c]
cmp dword [edx + 0x4f0], 0x64
jne 0x56a7a5
cmp dword [esp + 0x7c], 7
jb 0x56a7a5
mov eax, dword [0x76560c]
lea ecx, [esp + 0x14]
push eax
push 6
push ecx
lea ecx, [esp + 0x80]
call fcn.0040aa70
lea edx, [esp + 0x14]
mov ecx, ebp
push edx
push 0xd
mov byte [esp + 0x74], 8
call fcn.00651c40
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], bl
call fcn.00404760
jmp 0x56a7a5
mov ecx, ebp
call fcn.00671ff0
jmp 0x56a7a5
mov ecx, ebp
call fcn.00672080
jmp 0x56a7a5
cmp dword [esp + 0x7c], 0xb
jb 0x56a7a5
mov eax, dword [0x76560c]
lea ecx, [esp + 0x14]
push eax
push 0xa
push ecx
lea ecx, [esp + 0x80]
call fcn.0040aa70
lea edx, [esp + 0x14]
mov ecx, ebp
push edx
push 6
mov byte [esp + 0x74], 9
call fcn.00651c40
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], bl
call fcn.00404760
jmp 0x56a7a5
mov edx, dword [0x93c97c]
mov eax, dword [edx + 0x7f0]
cmp eax, 1
je 0x56a724
cmp eax, 2
je 0x56a724
cmp dword [edx + 0x4f0], 1
je 0x56a62d
mov al, byte [esp + 0x88]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x14], al
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0xb
push ecx
push 0x2ace
call fcn.006a8c20
add esp, 8
lea edx, [esp + 0x14]
mov ecx, ebp
push 0xffffff00
push edx
call fcn.00663960
mov eax, dword [esp + 0x18]
mov byte [esp + 0x6c], bl
cmp eax, ebx
je 0x56a5e0
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x56a5d7
cmp al, 0xff
je 0x56a5d7
dec al
mov byte [ecx], al
jmp 0x56a5e0
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
mov dword [esp + 0x6c], 0xffffffff
je 0x56a7e4
mov al, byte [ecx - 1]
cmp al, bl
je 0x56a7da
cmp al, 0xff
je 0x56a7da
dec al
mov byte [ecx - 1], al
mov al, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov esi, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x56a6e1
mov esi, dword [0x93c978]
cmp esi, ebx
je 0x56a7a5
mov eax, dword [edx + 0x454]
lea ecx, [esp + 0x88]
lea edx, [esp + 0x84]
push ecx
push edx
lea ecx, [esi + 0x38]
mov dword [esp + 0x90], eax
call fcn.0047a320
mov esi, dword [esi + 0x3c]
mov eax, dword [esp + 0x84]
cmp eax, esi
je 0x56a7a5
mov ecx, dword [eax + 0x10]
cmp dword [ecx + 0x2fc], 5
je 0x56a7a5
cmp ecx, ebx
je 0x56a7a5
call fcn.0052c6f0
mov dl, byte [eax]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x98], esp
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov edx, dword [0x76560c]
push edx
push ebx
push eax
call fcn.00404560
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x7c], bl
call fcn.00678750
jmp 0x56a7a5
sub esp, 0x10
mov edi, esi
mov dword [esp + 0x98], esp
mov al, byte [esp + 0x98]
mov edx, esp
or ecx, 0xffffffff
mov byte [edx], al
xor eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
mov ecx, edx
call fcn.004047b0
mov ecx, ebp
mov byte [esp + 0x7c], bl
call fcn.00678750
jmp 0x56a7a5
mov cl, byte [esp + 0x88]
push ebx
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
call fcn.00404760
lea edx, [esp + 0x14]
mov byte [esp + 0x6c], 0xa
push edx
push 0x2acf
call fcn.006a8c20
mov ecx, dword [0x93fa62]
add esp, 8
lea eax, [esp + 0x14]
push 0xffffff00
push eax
call fcn.00663960
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], bl
call fcn.00404760
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 0xffffffff
call fcn.00404760
mov al, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
cmp edi, 0xffffffff
je 0x56a179
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x6c], 0xffffffff
cmp ecx, ebx
je 0x56a7e4
mov al, byte [ecx - 1]
cmp al, bl
je 0x56a7da
cmp al, 0xff
je 0x56a7da
dec al
mov byte [ecx - 1], al
mov al, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret