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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x2c], ecx
cmp eax, 0x7e000000
ja 0x56bdd0
cmp eax, 0x1000a
jg 0x56bdd0
lea edi, [edx + eax]
cmp eax, 0xc
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x2c]
mov ebp, edx
mov dword [esp + 0x28], edi
jg 0x56be03
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x78]
sub ebx, ebp
test eax, eax
je 0x56bd95
mov eax, dword [esp + 0x28]
mov edx, 0x80808081
sub eax, dword [esp + 0x2c]
lea ecx, [ebx + eax + 1]
lea eax, [ebx + 0xf0]
mul edx
shr edx, 7
add edx, ecx
cmp dword [esp + 0x74], edx
jb 0x56bdd0
mov edi, dword [esp + 0x28]
cmp ebx, 0xe
mov eax, edi
jle 0x56bdda
lea edx, [ebx - 0xf]
add eax, 1
cmp edx, 0xfe
mov byte [edi], 0xf0
jle 0x56bdc6
sub edx, 0xff
add eax, 1
cmp edx, 0xfe
mov byte [eax - 1], 0xff
jg 0x56bdb1
lea esi, [eax + 1]
mov byte [eax], dl
jmp 0x56bde4
add esp, 0x5c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebx
shl eax, 4
lea esi, [edi + 1]
mov byte [edi], al
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov dword [esp], esi
call fcn.0056b508
lea eax, [esi + ebx]
sub eax, dword [esp + 0x2c]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x38]
xor edx, edx
mov dword [esp + 0x30], ebp
mov eax, esi
sub eax, 0xc
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x74]
add eax, edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
imul eax, dword [ebp], 0x9e3779b1
shr eax, 0x13
mov word [edi + eax*2], dx
lea edx, [esi - 8]
imul eax, dword [ebp + 1], 0x9e3779b1
mov dword [esp + 0x24], edx
lea edx, [esi - 6]
sub esi, 5
lea edi, [ebp + 1]
mov dword [esp + 0x40], esi
mov esi, ebp
mov ebp, edi
shr eax, 0x13
mov edi, esi
mov dword [esp + 0x3c], edx
mov ecx, 0x40
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], edi
jmp 0x56be74
mov ebp, edx
mov ecx, edi
mov edx, dword [esp + 0x18]
lea edi, [ecx + 1]
shr ecx, 6
mov dword [esp + 0x18], ecx
add edx, ebp
cmp dword [esp + 0x20], edx
jb 0x56c0cd
mov esi, dword [esp + 0x1c]
lea ebx, [esi + eax*2]
mov esi, ebp
imul eax, dword [edx], 0x9e3779b1
sub esi, dword [esp + 0x14]
movzx ecx, word [ebx]
add ecx, dword [esp + 0x14]
mov word [ebx], si
mov esi, dword [ebp]
shr eax, 0x13
cmp dword [ecx], esi
jne 0x56be70
cmp dword [esp + 0x30], ebp
mov edi, dword [esp + 0x14]
jae 0x56bed0
cmp edi, ecx
jae 0x56bed0
movzx eax, byte [ecx - 1]
cmp byte [ebp - 1], al
je 0x56c171
mov eax, ebp
sub eax, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x28]
lea esi, [eax + 1]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x56bf01
mov eax, 0x80808081
mul ebx
shr edx, 7
lea eax, [ebx + edx + 8]
add eax, esi
cmp dword [esp + 0x34], eax
jb 0x56bdd0
cmp ebx, 0xe
jbe 0x56c0bd
mov eax, dword [esp + 0x28]
lea edx, [ebx - 0xf]
cmp edx, 0xfe
mov byte [eax], 0xf0
mov eax, esi
jle 0x56bf35
nop
sub edx, 0xff
add eax, 1
cmp edx, 0xfe
mov byte [eax - 1], 0xff
jg 0x56bf20
lea esi, [eax + 1]
mov byte [eax], dl
mov eax, ebx
cmp eax, 8
lea ebx, [esi + ebx]
jg 0x56c110
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], ebx
mov eax, dword [edx]
mov dword [esi], eax
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x28]
mov esi, ebx
mov edx, ebp
sub edx, ecx
mov word [esi], dx
lea edx, [ebp + 4]
cmp edx, dword [esp + 0x24]
lea esi, [ecx + 4]
jae 0x56c0d6
mov ebx, dword [ebp + 4]
xor ebx, dword [ecx + 4]
mov ecx, edx
mov dword [esp + 0x18], ebx
jne 0x56bfb0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
add ecx, 4
add esi, 4
cmp ecx, dword [esp + 0x24]
jae 0x56c106
mov eax, dword [ecx]
xor eax, dword [esi]
mov dword [esp + 0x18], eax
je 0x56bf8d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], ebx
nop
tzcnt esi, dword [esp + 0x18]
sar esi, 3
add ecx, esi
sub ecx, edx
mov ebx, dword [esp + 0x14]
lea ebp, [ebp + ecx + 4]
add ebx, 2
cmp ecx, 0xe
jbe 0x56c090
mov edx, dword [esp + 0x78]
test edx, edx
je 0x56bfec
mov edx, ecx
shr edx, 8
lea edx, [ebx + edx + 6]
cmp dword [esp + 0x34], edx
jb 0x56bdd0
sub ecx, 0xf
add byte [eax], 0xf
cmp ecx, 0x1fd
jbe 0x56c019
lea esi, [esi]
sub ecx, 0x1fe
add ebx, 2
mov byte [ebx - 2], 0xff
cmp ecx, 0x1fd
mov byte [ebx - 1], 0xff
ja 0x56c000
cmp ecx, 0xfe
jbe 0x56c02d
mov byte [ebx], 0xff
sub ecx, 0xff
add ebx, 1
cmp dword [esp + 0x20], ebp
lea eax, [ebx + 1]
mov byte [ebx], cl
jb 0x56c09a
imul edx, dword [ebp - 2], 0x9e3779b1
mov esi, dword [esp + 0x1c]
lea ecx, [ebp - 2]
mov ebx, dword [ebp]
sub ecx, edi
shr edx, 0x13
mov word [esi + edx*2], cx
imul edx, ebx, 0x9e3779b1
shr edx, 0x13
lea edx, [esi + edx*2]
mov esi, ebp
movzx ecx, word [edx]
sub esi, edi
mov word [edx], si
add ecx, edi
lea edx, [ecx + 0xffff]
cmp ebp, edx
ja 0x56c0a3
cmp dword [ecx], ebx
jne 0x56c0a3
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
mov esi, edx
mov byte [eax], 0
jmp 0x56bf60
add byte [eax], cl
mov eax, ebx
cmp dword [esp + 0x20], ebp
jae 0x56c038
mov dword [esp + 0x28], eax
jmp 0x56bd63
mov dword [esp + 0x28], eax
imul eax, dword [ebp + 1], 0x9e3779b1
mov dword [esp + 0x30], ebp
add ebp, 1
shr eax, 0x13
jmp 0x56be5a
mov edx, dword [esp + 0x28]
mov eax, ebx
shl eax, 4
mov byte [edx], al
jmp 0x56bf3a
mov ebp, dword [esp + 0x30]
jmp 0x56bd63
mov ecx, edx
cmp ecx, dword [esp + 0x3c]
jae 0x56c0ec
movzx ebx, word [ecx]
cmp word [esi], bx
jne 0x56c0ec
add ecx, 2
add esi, 2
cmp ecx, dword [esp + 0x40]
jae 0x56c0ff
movzx ebx, byte [ecx]
cmp byte [esi], bl
sete bl
movzx ebx, bl
add ecx, ebx
sub ecx, edx
jmp 0x56bfbd
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x28]
jmp 0x56c0d8
mov eax, dword [esp + 0x30]
mov dword [esp + 0x48], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x4c], edi
mov edx, eax
add eax, 4
mov dword [esp + 0x18], eax
lea eax, [esi + 4]
mov dword [esp + 0x44], eax
mov eax, esi
mov esi, dword [esp + 0x44]
mov ecx, dword [edx]
mov edi, dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, edx
add edx, 8
sub ecx, dword [esp + 0x30]
mov ecx, dword [edi + ecx]
mov edi, eax
add eax, 8
sub edi, dword [esp + 0x48]
cmp ebx, eax
mov dword [esi + edi], ecx
ja 0x56c136
mov ecx, dword [esp + 0x14]
mov esi, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x4c]
jmp 0x56bf60
sub ebp, 1
sub ecx, 1
cmp ebp, dword [esp + 0x30]
je 0x56bed0
cmp ecx, edi
jne 0x56bec3
jmp 0x56bed0