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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
cmp eax, 0x7e000000
ja 0x56c240
mov ecx, edx
add ecx, eax
cmp eax, 0xc
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
jg 0x56c24a
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x34]
sub ebx, dword [esp + 0x24]
test ecx, ecx
je 0x56c1ff
mov eax, dword [esp + 0x1c]
mov edx, 0x80808081
sub eax, dword [esp + 0x28]
lea ecx, [ebx + eax + 1]
lea eax, [ebx + 0xf0]
mul edx
shr edx, 7
add edx, ecx
cmp dword [esp + 0x74], edx
jb 0x56c240
mov ecx, dword [esp + 0x1c]
cmp ebx, 0xe
mov eax, ecx
jle 0x56c3d5
lea edx, [ebx - 0xf]
add eax, 1
cmp edx, 0xfe
mov byte [ecx], 0xf0
jle 0x56c235
nop
sub edx, 0xff
add eax, 1
cmp edx, 0xfe
mov byte [eax - 1], 0xff
jg 0x56c220
lea esi, [eax + 1]
mov byte [eax], dl
jmp 0x56c3df
add esp, 0x5c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov eax, esi
sub eax, 0xc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
add eax, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
imul eax, dword [ecx], 0x9e3779b1
shr eax, 0x14
mov dword [edx + eax*4], ecx
mov edx, ecx
imul eax, dword [edx + 1], 0x9e3779b1
mov dword [esp + 0x2c], edx
mov edx, esi
lea esi, [esi - 8]
mov dword [esp + 0x20], esi
lea esi, [edx - 6]
sub edx, 5
lea ecx, [ecx + 1]
shr eax, 0x14
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edx
mov ebx, 0x40
mov edi, 1
jmp 0x56c2b4
mov ecx, edx
mov ebx, ebp
lea edx, [ecx + edi]
mov edi, ebx
shr edi, 6
cmp dword [esp + 0x18], edx
lea ebp, [ebx + 1]
jb 0x56c504
mov esi, dword [esp + 0x14]
lea esi, [esi + eax*4]
mov ebx, dword [esi]
imul eax, dword [edx], 0x9e3779b1
mov dword [esi], ecx
lea esi, [ebx + 0xffff]
shr eax, 0x14
cmp ecx, esi
ja 0x56c2b0
mov esi, dword [ecx]
cmp dword [ebx], esi
jne 0x56c2b0
cmp dword [esp + 0x2c], ecx
jae 0x56c306
cmp dword [esp + 0x24], ebx
jae 0x56c306
movzx eax, byte [ebx - 1]
cmp byte [ecx - 1], al
je 0x56c59c
mov edi, dword [esp + 0x78]
mov esi, ecx
mov eax, dword [esp + 0x1c]
sub esi, dword [esp + 0x2c]
test edi, edi
lea ebp, [eax + 1]
je 0x56c335
mov eax, 0x80808081
mul esi
shr edx, 7
lea eax, [esi + edx + 8]
add eax, ebp
cmp dword [esp + 0x30], eax
jb 0x56c240
cmp esi, 0xe
jbe 0x56c4e7
mov eax, dword [esp + 0x1c]
lea edx, [esi - 0xf]
cmp edx, 0xfe
mov byte [eax], 0xf0
mov eax, ebp
jle 0x56c367
sub edx, 0xff
add eax, 1
cmp edx, 0xfe
mov byte [eax - 1], 0xff
jg 0x56c352
lea ebp, [eax + 1]
mov byte [eax], dl
cmp esi, 8
lea edi, [ebp + esi]
jg 0x56c549
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov dword [ebp], eax
mov eax, dword [edx + 4]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x1c]
lea esi, [esi]
mov edx, ecx
sub edx, ebx
mov word [edi], dx
lea edx, [ecx + 4]
cmp dword [esp + 0x20], edx
lea esi, [ebx + 4]
mov dword [esp + 0x1c], edx
jbe 0x56c511
mov ebp, dword [ebx + 4]
xor ebp, dword [ecx + 4]
jne 0x56c402
mov edx, dword [esp + 0x1c]
mov ebx, edx
add ebx, 4
add esi, 4
cmp dword [esp + 0x20], ebx
jbe 0x56c543
mov ebp, dword [ebx]
xor ebp, dword [esi]
je 0x56c3b9
mov dword [esp + 0x1c], edx
jmp 0x56c406
mov eax, ebx
shl eax, 4
lea esi, [ecx + 1]
mov byte [ecx], al
mov eax, dword [esp + 0x24]
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0056b508
lea eax, [esi + ebx]
sub eax, dword [esp + 0x28]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0x1c]
tzcnt ebp, ebp
sar ebp, 3
add ebx, ebp
sub ebx, dword [esp + 0x1c]
add edi, 2
cmp ebx, 0xe
lea ecx, [ecx + ebx + 4]
jbe 0x56c4c7
mov esi, dword [esp + 0x78]
test esi, esi
je 0x56c43e
mov edx, ebx
shr edx, 8
lea edx, [edi + edx + 6]
cmp dword [esp + 0x30], edx
jb 0x56c240
sub ebx, 0xf
add byte [eax], 0xf
cmp ebx, 0x1fd
jbe 0x56c469
lea esi, [esi]
sub ebx, 0x1fe
add edi, 2
mov byte [edi - 2], 0xff
cmp ebx, 0x1fd
mov byte [edi - 1], 0xff
ja 0x56c450
cmp ebx, 0xfe
jbe 0x56c47d
mov byte [edi], 0xff
sub ebx, 0xff
add edi, 1
lea eax, [edi + 1]
mov byte [edi], bl
cmp dword [esp + 0x18], ecx
jb 0x56c4f7
imul edx, dword [ecx - 2], 0x9e3779b1
mov edi, dword [esp + 0x14]
lea ebx, [ecx - 2]
mov esi, dword [ecx]
shr edx, 0x14
mov dword [edi + edx*4], ebx
imul edx, esi, 0x9e3779b1
shr edx, 0x14
lea edx, [edi + edx*4]
mov ebx, dword [edx]
mov dword [edx], ecx
lea edx, [ebx + 0xffff]
cmp ecx, edx
ja 0x56c4cd
cmp dword [ebx], esi
jne 0x56c4cd
lea edi, [eax + 1]
mov byte [eax], 0
jmp 0x56c390
add byte [eax], bl
mov eax, edi
jmp 0x56c482
mov dword [esp + 0x1c], eax
imul eax, dword [ecx + 1], 0x9e3779b1
mov dword [esp + 0x2c], ecx
add ecx, 1
shr eax, 0x14
jmp 0x56c29f
mov edx, dword [esp + 0x1c]
mov eax, esi
shl eax, 4
mov byte [edx], al
jmp 0x56c36c
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
jmp 0x56c1cb
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
jmp 0x56c1cb
mov ebx, edx
cmp ebx, dword [esp + 0x38]
jae 0x56c527
movzx edx, word [ebx]
cmp word [esi], dx
jne 0x56c527
add ebx, 2
add esi, 2
cmp ebx, dword [esp + 0x3c]
jae 0x56c53a
movzx edx, byte [ebx]
cmp byte [esi], dl
sete dl
movzx edx, dl
add ebx, edx
sub ebx, dword [esp + 0x1c]
jmp 0x56c413
mov dword [esp + 0x1c], edx
jmp 0x56c513
mov eax, dword [esp + 0x2c]
mov edx, ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ecx
mov esi, eax
add eax, 4
mov dword [esp + 0x40], eax
lea eax, [ebp + 4]
mov dword [esp + 0x44], eax
mov ebx, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x40]
mov dword [edx], eax
mov eax, esi
add esi, 8
sub eax, dword [esp + 0x2c]
mov eax, dword [ecx + eax]
mov ecx, edx
add edx, 8
sub ecx, ebp
cmp edi, edx
mov dword [ebx + ecx], eax
ja 0x56c569
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x1c]
jmp 0x56c390
sub ecx, 1
sub ebx, 1
cmp ecx, dword [esp + 0x2c]
je 0x56c306
cmp ebx, dword [esp + 0x24]
jne 0x56c2f9
jmp 0x56c306