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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x150
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x88], 0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x60], 0
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x5fdfb5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x20]
mov dword [eax], 0
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x2c]
test ebx, ebx
je 0x5fe068
mov eax, dword [eax + 0x30]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004a0230
mov dword [esp + 0x7c], eax
test eax, eax
je 0x5fe12f
mov edi, esi
shr edi, 3
test esi, esi
jne 0x5fe006
mov dword [esp], eax
call fcn.004aa2f0
and eax, 0x1fffffff
mov edi, eax
cmp dword [ebp + 0x18], 0x1ff
jbe 0x5fe0c8
mov eax, edi
and eax, 0xfffffff7
cmp eax, 0x14
je 0x5fe0a4
cmp edi, 0x20
je 0x5fe0a4
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x78], 0
xor ebx, ebx
xor esi, esi
mov dword [eax], 0x20
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00455b50
mov dword [esp], ebx
call fcn.0045db50
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.004a02b0
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
test esi, esi
jne 0x5fe0e8
cmp dword [ebp + 0x18], 0x7ff
jbe 0x5fe50d
mov eax, dword [eax + 0x30]
mov dword [esp + 4], str.SHA_256
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004a0230
mov dword [esp + 0x7c], eax
test eax, eax
je 0x5fe12f
mov edi, 0x20
mov eax, dword [esp + 0x74]
test eax, eax
je 0x5fe1a1
cmp dword [esp + 0x78], edi
jae 0x5fe148
mov eax, dword [ebp + 0x20]
mov dword [eax], 0x40000
jmp 0x5fe0d1
mov eax, dword [ebp + 0x20]
mov dword [eax], 0x20000
mov dword [esp + 0x78], 0
xor ebx, ebx
xor esi, esi
jmp 0x5fe03b
cmp esi, 0xa0
je 0x5fe50d
mov edi, 0x1c
mov eax, str.SHA_224
cmp esi, 0xe0
jne 0x5fe51c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004a0230
mov dword [esp + 0x7c], eax
test eax, eax
jne 0x5fe006
mov dword [esp + 0x78], 0
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x7c], 0
jmp 0x5fe03b
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
lea edx, [esp + 0x90]
cmp eax, edi
mov ebx, eax
cmova ebx, edi
xor eax, eax
mov dword [esp + 0x78], ebx
mov ecx, ebx
and ecx, 0xfffffffc
mov ebx, dword [esi + eax]
mov dword [edx + eax], ebx
add eax, 4
cmp eax, ecx
jb 0x5fe169
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
lea ecx, [edx + eax]
xor edx, edx
add eax, esi
test bl, 2
je 0x5fe195
movzx edx, word [eax]
mov word [ecx], dx
mov edx, 2
and ebx, 1
je 0x5fe1a1
movzx eax, byte [eax + edx]
mov byte [ecx + edx], al
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00455870
mov dword [esp + 0x78], eax
mov esi, eax
test eax, eax
je 0x5fe0d1
mov dword [esp], eax
call fcn.00455c00
mov dword [esp], esi
call fcn.00455e00
mov dword [esp], esi
mov dword [esp + 0x44], eax
call fcn.00455e00
mov dword [esp], esi
mov dword [esp + 0x40], eax
call fcn.00455e00
mov dword [esp], esi
mov dword [esp + 0x68], eax
call fcn.00455e00
mov dword [esp], esi
mov dword [esp + 0x54], eax
call fcn.00455e00
mov dword [esp], esi
mov dword [esp + 0x3c], eax
call fcn.00455e00
mov dword [esp + 0x38], eax
mov esi, eax
test eax, eax
je 0x5fe4f8
mov eax, dword [ebp + 0x18]
add eax, 0x3f
and eax, 0xffffffc0
mov dword [esp + 0x50], eax
sub eax, 1
mov ebx, eax
mov dword [esp + 0x6c], eax
call fcn.0045a590
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00462040
test eax, eax
je 0x5fe4f8
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x5fe548
test byte [esp + 0x60], 1
je 0x5fe775
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x5fe80a
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
test ecx, ecx
js 0x5fe80a
test byte [esp + 0x60], 2
je 0x5fe2a5
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
test edx, edx
je 0x5fe875
mov eax, dword [eax]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x5fe2a5
test byte [esp + 0x60], 1
je 0x5fe791
mov eax, dword [esp + 0x74]
xor ebx, ebx
mov edx, 0xcccccccd
mov dword [esp + 0x74], 0
test eax, eax
mov eax, dword [esp + 0x6c]
sete bl
mul edx
mov eax, dword [esp + 0x50]
lea eax, [eax*4 - 1]
mov dword [esp + 0x48], eax
mov eax, edi
shr edx, 7
shr eax, 4
mov dword [esp + 0x4c], edx
mov dword [esp + 0x64], eax
lea eax, [edi - 0x10]
mov dword [esp + 0x58], eax
shr eax, 2
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00456010
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], 0
mov eax, ecx
add ecx, 1
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x74], ecx
mov dword [esp], eax
call fcn.00588a60
test eax, eax
je 0x5fe4f8
test ebx, ebx
jne 0x5fe5f8
lea esi, [esp + 0x90]
mov edx, edi
lea ebx, [esp + 0xb0]
xor eax, eax
and edx, 0xfffffffc
mov ecx, dword [esi + eax]
mov dword [ebx + eax], ecx
add eax, 4
cmp eax, edx
jb 0x5fe349
lea ecx, [ebx + eax]
xor edx, edx
add eax, esi
test edi, 2
je 0x5fe370
movzx edx, word [eax]
mov word [ecx], dx
mov edx, 2
test edi, 1
je 0x5fe37f
movzx eax, byte [eax + edx]
mov byte [ecx + edx], al
mov edx, edi
xor eax, eax
mov ecx, edi
and edx, 0xfffffffc
mov edi, dword [esi + eax]
mov dword [esp + eax + 0xd0], edi
add eax, 4
cmp eax, edx
jb 0x5fe388
mov edi, ecx
lea ecx, [esp + 0xd0]
lea edx, [ecx + eax]
add eax, esi
mov ecx, edx
mov dword [esp + 0x6c], eax
xor edx, edx
test edi, 2
je 0x5fe3c2
movzx edx, word [eax]
mov word [ecx], dx
mov edx, 2
test edi, 1
je 0x5fe3d5
mov eax, dword [esp + 0x6c]
movzx eax, byte [eax + edx]
mov byte [ecx + edx], al
lea eax, [edi - 1]
mov dword [esp + 0x6c], eax
mov edx, eax
jmp 0x5fe3e5
sub edx, 1
jb 0x5fe3eb
add byte [ebx + edx], 1
je 0x5fe3e0
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x110]
mov dword [esp + 4], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
mov dword [esp], esi
call fcn.0049f7e0
test eax, eax
je 0x5fe4f8
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xd0]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.0049f7e0
test eax, eax
je 0x5fe4f8
movdqu xmm0, xmmword [esp + 0x110]
cmp dword [esp + 0x64], 2
pxor xmm0, xmmword [esp + 0xd0]
movups xmmword [esp + 0x110], xmm0
jne 0x5fe580
movdqu xmm0, xmmword [esp + 0x120]
pxor xmm0, xmmword [esp + 0xe0]
movups xmmword [esp + 0x120], xmm0
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
or byte [esp + 0x110], 0x80
or byte [esp + eax + 0x110], 1
lea eax, [esp + 0x110]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0045b060
test eax, eax
je 0x5fe4f8
mov eax, dword [ebp + 0x24]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.00589c60
test eax, eax
jg 0x5fe68d
mov ebx, 1
je 0x5fe300
lea esi, [esi]
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00455d70
jmp 0x5fe03b
mov edi, 0x14
mov eax, 0x6cf41c
jmp 0x5fe10a
cmp esi, 0x100
je 0x5fe766
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x78], 0
xor esi, esi
mov dword [esp + 0x7c], 0
mov dword [eax], 0x20
jmp 0x5fe03b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0xc]
setne dl
mov esi, dword [eax + 4]
test esi, esi
setne al
cmp dl, al
je 0x5fe292
mov eax, dword [ebp + 0x20]
xor ebx, ebx
mov dword [eax], 0x800
jmp 0x5fe4fa
movd xmm1, dword [esp + 0x120]
cmp dword [esp + 0x70], 1
movd xmm0, dword [esp + 0xe0]
pxor xmm1, xmm0
movd dword [esp + 0x120], xmm1
je 0x5fe630
movd xmm2, dword [esp + 0x124]
cmp dword [esp + 0x70], 3
movd xmm0, dword [esp + 0xe4]
pxor xmm2, xmm0
movd dword [esp + 0x124], xmm2
jne 0x5fe630
movd xmm3, dword [esp + 0x128]
movd xmm0, dword [esp + 0xe8]
pxor xmm3, xmm0
movd dword [esp + 0x128], xmm3
jmp 0x5fe498
mov eax, dword [esp + 0x5c]
lea esi, [esp + 0x90]
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0040e8c0
test eax, eax
jg 0x5fe33b
xor ebx, ebx
jmp 0x5fe4fa
mov ecx, dword [esp + 0x58]
mov eax, ecx
and eax, 0xfffffffc
and ecx, 3
lea edx, [eax + 0x10]
je 0x5fe498
movzx ecx, byte [esp + eax + 0xe0]
xor byte [esp + edx + 0x110], cl
lea edx, [eax + 0x11]
cmp edi, edx
jle 0x5fe498
movzx ecx, byte [esp + eax + 0xe1]
add eax, 0x12
xor byte [esp + edx + 0x110], cl
cmp edi, eax
jle 0x5fe498
movzx edx, byte [esp + eax + 0xd0]
xor byte [esp + eax + 0x110], dl
jmp 0x5fe498
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov eax, dword [ebp + 0x24]
mov dword [esp], eax
call fcn.00588a60
test eax, eax
je 0x5fe4f8
mov dword [esp + 8], 0
mov dword [esp + 4], 3
mov eax, dword [ebp + 0x24]
mov dword [esp], eax
call fcn.00588a60
test eax, eax
je 0x5fe4f8
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x5fe760
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x18]
mov eax, dword [esp + 0x48]
cmp esi, eax
jg 0x5fe865
mov eax, dword [ebp + 0x20]
mov edx, dword [esp + 0x7c]
mov ecx, esi
mov dword [esp + 0x20], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 8], edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
call fcn.005fca90
test eax, eax
jg 0x5fe81a
mov ebx, 1
cmp eax, 0xffffffff
jne 0x5fe2f0
xor ebx, ebx
jmp 0x5fe4fa
mov esi, dword [esp + 0x48]
jmp 0x5fe6f0
mov edi, 0x20
mov eax, str.SHA_256
jmp 0x5fe10a
test byte [esp + 0x60], 2
jne 0x5fe27e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x70], eax
test eax, eax
je 0x5fe2a5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x68], eax
call fcn.0045da40
mov ebx, eax
test eax, eax
je 0x5fe4f8
mov eax, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.0045dbb0
test eax, eax
je 0x5fe4fa
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x5fe8f1
test byte [esp + 0x60], 2
jne 0x5fe885
mov dword [esp + 8], 1
mov dword [esp + 4], 3
mov eax, dword [ebp + 0x24]
mov dword [esp], eax
call fcn.00588a60
test eax, eax
setne al
movzx eax, al
mov esi, eax
jmp 0x5fe4fc
mov eax, dword [ebp + 0x20]
xor ebx, ebx
mov dword [eax], 0x200
jmp 0x5fe4fa
mov dword [esp + 8], 1
mov dword [esp + 4], 2
mov eax, dword [ebp + 0x24]
mov dword [esp], eax
call fcn.00588a60
test eax, eax
je 0x5fe4f8
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x5fea88
cmp dword [esp + 0x88], esi
je 0x5feaa1
mov eax, dword [ebp + 0x20]
xor ebx, ebx
mov dword [eax], 0x10000
jmp 0x5fe4fa
mov eax, dword [ebp + 0x20]
xor ebx, ebx
mov dword [eax], 0x1000
jmp 0x5fe4fa
mov eax, dword [ebp + 0x20]
xor ebx, ebx
mov dword [eax], 0x400
jmp 0x5fe4fa
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.004c2ec0
test eax, eax
je 0x5fe4fa
mov dword [esp + 8], 1
mov dword [esp + 4], 3
mov eax, dword [ebp + 0x24]
mov dword [esp], eax
call fcn.00588a60
test eax, eax
setne al
movzx eax, al
lea esi, [eax + eax]
jmp 0x5fe4fc
call fcn.0045a590
mov esi, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00454ac0
test eax, eax
je 0x5fe4fa
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004565d0
test eax, eax
je 0x5fe4fa
lea eax, [esp + 0x8c]
mov ecx, dword [esp + 0x40]
mov edx, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
call fcn.005fcdf0
test eax, eax
je 0x5fe4fa
mov dword [esp + 8], 1
mov dword [esp + 4], 3
mov eax, dword [ebp + 0x24]
mov dword [esp], eax
call fcn.00588a60
mov esi, eax
test eax, eax
je 0x5fe4fc
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x70]
mov eax, dword [eax]
cmp eax, esi
je 0x5fe9cc
mov dword [esp], eax
call fcn.0045a830
mov dword [esp], esi
call fcn.0045abc0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x68]
mov eax, dword [eax + 4]
cmp eax, esi
je 0x5fe9f0
mov dword [esp], eax
call fcn.0045a830
mov dword [esp], esi
call fcn.0045abc0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x40]
mov eax, dword [eax + 8]
cmp eax, esi
je 0x5fea14
mov dword [esp], eax
call fcn.0045a830
mov dword [esp], esi
call fcn.0045abc0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
test edx, edx
je 0x5fe4fa
cmp dword [eax + 4], 0
je 0x5fe4fa
cmp dword [eax + 8], 0
je 0x5fe4fa
mov eax, dword [esp + 0x88]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004c26a0
test eax, eax
je 0x5fe4fa
mov eax, dword [esp + 0x8c]
mov edi, dword [ebp + 0xc]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x60]
and eax, 2
cmp eax, 1
sbb esi, esi
add esi, 2
jmp 0x5fe4fc
mov eax, dword [esp + 0x60]
and eax, 3
cmp eax, 1
je 0x5feaca
mov eax, dword [esp + 0x54]
mov dword [esp + 0x70], eax
jmp 0x5fe79b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.0045ba30
test eax, eax
je 0x5fea88
mov eax, dword [ebp + 0x20]
xor ebx, ebx
mov dword [eax], 0x2000
jmp 0x5fe4fa
xor ebx, ebx
jmp 0x5fea6f