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

Disassembly:
push 0xffffffffffffffff
push 0x4791d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [esp + 0x78]
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp eax, 1
mov dword [esp + 0x10], edi
jne 0x572b0a
cmp dword [esp + 0x94], 4
jne 0x572b0a
call fcn.00571f54
test al, al
jne 0x572244
mov eax, 0x8007000e
jmp 0x572b0f
mov eax, dword [esp + 0x84]
xor ebp, ebp
cmp eax, ebp
mov byte [esp + 0x88], 0
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
je 0x57228a
mov eax, dword [eax]
cmp eax, ebp
je 0x57228a
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp eax, ebp
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
ja 0x57228a
jb 0x572282
cmp ecx, 0x1000000
ja 0x57228a
mov byte [esp + 0x88], 1
mov dword [esp + 0x34], edi
mov esi, dword [esp + 0x8c]
mov eax, dword [esp + 0x80]
lea ecx, [edi + 0x10]
mov dword [esp + 0x78], ebp
mov edx, dword [esi]
mov ebx, dword [eax]
push edx
mov dword [esp + 0x28], ebx
call fcn.0053cdd5
lea ecx, [edi + 0x10]
call fcn.0053cde4
mov eax, dword [esi + 4]
lea ecx, [edi + 0x38]
push eax
call fcn.0053cdd5
lea ecx, [edi + 0x38]
call fcn.0053cde4
mov edx, dword [esi + 8]
lea ecx, [edi + 0x60]
push edx
call fcn.0053cdd5
lea ecx, [edi + 0x60]
call fcn.0053cde4
mov esi, dword [esi + 0xc]
lea ecx, [edi + 0xa0]
push esi
call fcn.0053cdd5
lea esi, [edi + 0x88]
lea ecx, [esi + 0x18]
call fcn.0053cde4
mov dword [esi + 8], ebp
add edi, 0xc8
mov ecx, 0x102
mov eax, 0x400
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], 0xffffffff
mov dword [esi], 1
mov byte [esi + 4], 0
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], ebp
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push ecx
push 0x47a4e8
push ebx
mov byte [esp + 0x84], 1
call dword [eax]
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x80], bl
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov eax, 0x20000
xor edi, edi
sub eax, ebx
je 0x5723b5
lea ebp, [esp + 0x28]
mov ecx, dword [esp + 0x24]
push ebp
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [eax + 8]
add eax, edi
add eax, ebx
push eax
push ecx
call dword [edx + 0xc]
mov ebp, eax
test ebp, ebp
jne 0x5728db
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5723b5
add edi, eax
mov eax, 0x20000
sub eax, edi
sub eax, ebx
jne 0x57237a
add edi, ebx
cmp edi, 5
mov dword [esp + 0x20], edi
jb 0x572924
add edi, 0xfffffffb
mov dword [esp + 0x8c], 0
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x8c]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov bl, byte [ecx + ebp]
lea ecx, [edi + 0x10]
mov byte [edx + eax], bl
mov byte [esp + 0x94], bl
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
inc eax
cmp eax, edx
mov dword [ecx + 4], eax
jne 0x57240d
call fcn.0053ced1
mov cl, bl
and cl, 0xfe
cmp cl, 0xe8
je 0x572438
cmp byte [esp + 0x80], 0xf
jne 0x57242b
mov dl, bl
and dl, 0xf0
cmp dl, 0x80
je 0x572438
inc ebp
mov dword [esp + 0x8c], ebp
jmp 0x572859
mov eax, dword [edi + 8]
xor edx, edx
add eax, ebp
xor ebx, ebx
mov cl, byte [eax + 4]
mov dl, byte [eax + 3]
mov bl, byte [eax + 2]
mov dh, cl
shl edx, 8
or edx, ebx
xor ebx, ebx
mov bl, byte [eax + 1]
mov byte [esp + 0x84], cl
shl edx, 8
or edx, ebx
mov eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
add eax, ebp
lea edx, [eax + edx + 5]
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x1c], edx
je 0x5725eb
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
xor ebx, ebx
add ebp, edx
mov edx, dword [esp + 0x3c]
adc ebx, edi
cmp edx, ebx
ja 0x57255a
jb 0x5724a8
cmp dword [esp + 0x38], ebp
jae 0x57255a
mov ecx, dword [eax]
lea edx, [esp + 0x60]
push edx
mov edx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push edx
push eax
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
jne 0x572503
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x40], eax
add eax, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x54]
adc ecx, edi
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x50]
add ecx, 1
adc eax, 0
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
jmp 0x57253d
cmp edi, 1
je 0x572514
cmp edi, 0x80004001
jne 0x572a46
mov eax, dword [esp + 0x14]
test eax, eax
je 0x572528
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [esp + 0x14], eax
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
or ecx, 0xffffffff
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
cmp dword [esp + 0x3c], ebx
jb 0x5724a8
ja 0x572553
cmp dword [esp + 0x38], ebp
jb 0x5724a8
mov cl, byte [esp + 0x84]
test eax, eax
jne 0x572590
mov al, byte [esp + 0x88]
test al, al
je 0x5725af
mov ecx, dword [esp + 0x5c]
xor eax, eax
cmp eax, ecx
ja 0x572589
jb 0x572619
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x1c]
cmp eax, edx
jb 0x572619
xor cl, cl
jmp 0x57261b
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
sub eax, edi
sbb edx, dword [esp + 0x44]
mov dword [esp + 0x6c], edx
jne 0x5725af
cmp eax, 0x1000000
jbe 0x5725bc
test cl, cl
je 0x572619
cmp cl, 0xff
je 0x572619
xor cl, cl
jmp 0x57261b
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
cdq
add eax, ebp
adc edx, ebx
add eax, 5
adc edx, 0
cmp edx, ecx
jb 0x5725e7
ja 0x5725d9
cmp eax, edi
jb 0x5725e7
cmp edx, dword [esp + 0x3c]
ja 0x5725e7
jb 0x572619
cmp eax, dword [esp + 0x38]
jb 0x572619
xor cl, cl
jmp 0x57261b
mov al, byte [esp + 0x88]
test al, al
je 0x57260c
mov ecx, dword [esp + 0x5c]
xor eax, eax
cmp eax, ecx
ja 0x572608
jb 0x572619
cmp edx, dword [esp + 0x58]
jb 0x572619
xor cl, cl
jmp 0x57261b
test cl, cl
je 0x572619
cmp cl, 0xff
je 0x572619
xor cl, cl
jmp 0x57261b
mov cl, 1
mov bl, byte [esp + 0x94]
cmp bl, 0xe8
jne 0x572635
mov eax, dword [esp + 0x80]
and eax, 0xff
jmp 0x572642
xor eax, eax
cmp bl, 0xe9
setne al
add eax, 0x100
test cl, cl
je 0x57278c
mov edx, dword [esi + 0x10]
mov edi, dword [esp + 0x10]
mov ecx, edx
mov ebp, dword [esi + 8]
shr ecx, 0xb
imul ecx, dword [edi + eax*4 + 0xc8]
add ebp, ecx
mov dword [esi + 8], ebp
mov ebp, dword [esi + 0xc]
adc ebp, 0
sub edx, ecx
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], edx
mov ecx, dword [edi + eax*4 + 0xc8]
mov edx, ecx
shr edx, 5
sub ecx, edx
mov dword [edi + eax*4 + 0xc8], ecx
mov eax, dword [esi + 0x10]
cmp eax, 0x1000000
jae 0x572720
mov edi, dword [esi + 8]
shl eax, 8
cmp edi, 0xff000000
mov dword [esi + 0x10], eax
jb 0x5726bb
mov edx, dword [esi + 0xc]
mov ecx, 0x20
mov eax, edi
call fcn.005991f4
test eax, eax
je 0x572707
mov bl, byte [esi + 4]
lea edi, [esi + 0x18]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov ecx, 0x20
call fcn.005991f4
mov ecx, dword [edi]
mov edx, dword [edi + 4]
add al, bl
mov byte [ecx + edx], al
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
inc edx
mov eax, edx
mov dword [edi + 4], edx
cmp eax, ecx
jne 0x5726f2
mov ecx, edi
call fcn.0053ced1
mov eax, dword [esi]
or bl, 0xff
dec eax
mov dword [esi], eax
jne 0x5726c1
mov edi, dword [esi + 8]
mov eax, edi
shr eax, 0x18
mov byte [esi + 4], al
mov ecx, dword [esi]
mov bl, byte [esp + 0x94]
inc ecx
shl edi, 8
mov dword [esi + 8], edi
mov dword [esi], ecx
mov dword [esi + 0xc], 0
mov ecx, dword [esp + 0x8c]
add ecx, 5
cmp bl, 0xe8
mov dword [esp + 0x8c], ecx
jne 0x57273f
mov ecx, dword [esp + 0x10]
lea edi, [ecx + 0x38]
jmp 0x572746
mov edx, dword [esp + 0x10]
lea edi, [edx + 0x60]
mov ebp, dword [esp + 0x1c]
mov ebx, 0x18
mov edx, dword [edi]
mov eax, ebp
mov ecx, ebx
shr eax, cl
mov ecx, dword [edi + 4]
mov byte [ecx + edx], al
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
inc edx
mov eax, edx
mov dword [edi + 4], edx
cmp eax, ecx
jne 0x572774
mov ecx, edi
call fcn.0053ced1
sub ebx, 8
jns 0x57274f
mov al, byte [esp + 0x84]
mov byte [esp + 0x80], al
jmp 0x572860
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x10]
shr ecx, 0xb
imul ecx, dword [edx + eax*4 + 0xc8]
mov dword [esi + 0x10], ecx
mov ecx, dword [edx + eax*4 + 0xc8]
mov edi, 0x800
sub edi, ecx
shr edi, 5
add edi, ecx
mov dword [edx + eax*4 + 0xc8], edi
mov eax, dword [esi + 0x10]
cmp eax, 0x1000000
jae 0x572852
mov edi, dword [esi + 8]
shl eax, 8
cmp edi, 0xff000000
mov dword [esi + 0x10], eax
jb 0x5727ed
mov edx, dword [esi + 0xc]
mov ecx, 0x20
mov eax, edi
call fcn.005991f4
test eax, eax
je 0x572839
mov bl, byte [esi + 4]
lea edi, [esi + 0x18]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov ecx, 0x20
call fcn.005991f4
mov ecx, dword [edi]
mov edx, dword [edi + 4]
add al, bl
mov byte [ecx + edx], al
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
inc edx
mov eax, edx
mov dword [edi + 4], edx
cmp eax, ecx
jne 0x572824
mov ecx, edi
call fcn.0053ced1
mov eax, dword [esi]
or bl, 0xff
dec eax
mov dword [esi], eax
jne 0x5727f3
mov edi, dword [esi + 8]
mov eax, edi
shr eax, 0x18
mov byte [esi + 4], al
mov ecx, dword [esi]
mov bl, byte [esp + 0x94]
inc ecx
shl edi, 8
mov dword [esi + 8], edi
mov dword [esi], ecx
mov dword [esi + 0xc], 0
inc dword [esp + 0x8c]
mov byte [esp + 0x80], bl
mov ebp, dword [esp + 0x8c]
mov eax, dword [esp + 0x30]
cmp ebp, eax
jbe 0x5723d6
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x98]
add ebx, ebp
add edi, ebp
mov dword [esp + 0x18], ebx
mov ebx, 0
adc edx, ebx
cmp eax, ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edx
je 0x5728b7
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push ebx
push edx
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jne 0x572aa1
mov edi, dword [esp + 0x20]
cmp ebp, edi
jae 0x5728d4
mov eax, dword [esp + 0x10]
inc ebx
inc ebp
mov eax, dword [eax + 8]
cmp ebp, edi
mov cl, byte [eax + ebp - 1]
mov byte [eax + ebx - 1], cl
jb 0x5728bf
xor ebp, ebp
jmp 0x57236f
mov eax, dword [esp + 0x14]
mov byte [esp + 0x78], 0
test eax, eax
je 0x5728ee
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esi + 0x24]
call fcn.00565c80
lea ecx, [esi + 0x4c]
call fcn.00565c80
lea ecx, [esi + 0x74]
call fcn.00565c80
lea ecx, [esi + 0xb4]
call fcn.00565c80
mov eax, ebp
jmp 0x572b0f
xor ebp, ebp
test edi, edi
jbe 0x5729e5
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 8]
mov edx, dword [edi + 0x14]
lea ecx, [edi + 0x10]
mov bl, byte [eax + ebp]
mov eax, dword [ecx]
mov byte [edx + eax], bl
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
inc eax
cmp eax, edx
mov dword [ecx + 4], eax
jne 0x572956
call fcn.0053ced1
cmp bl, 0xe8
jne 0x57296a
mov ecx, dword [esp + 0x80]
and ecx, 0xff
jmp 0x57298f
cmp bl, 0xe9
jne 0x572976
mov ecx, pe_nt_image_headers32
jmp 0x57298f
cmp byte [esp + 0x80], 0xf
jne 0x5729d1
mov cl, bl
and cl, 0xf0
cmp cl, 0x80
jne 0x5729d1
mov ecx, 0x101
mov eax, dword [esi + 0x10]
mov edx, 0x800
shr eax, 0xb
imul eax, dword [edi + ecx*4 + 0xc8]
mov dword [esi + 0x10], eax
mov eax, dword [edi + ecx*4 + 0xc8]
sub edx, eax
shr edx, 5
add edx, eax
mov dword [edi + ecx*4 + 0xc8], edx
mov eax, dword [esi + 0x10]
cmp eax, 0x1000000
jae 0x5729d1
shl eax, 8
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.00572b24
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
mov byte [esp + 0x80], bl
jb 0x57292e
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.005720f4
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x78], 0
je 0x572a05
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0x24]
mov dword [esp + 0x78], 0xffffffff
call fcn.00565c80
lea ecx, [esi + 0x4c]
call fcn.00565c80
lea ecx, [esi + 0x74]
call fcn.00565c80
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x572a3f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0xb4], 0
mov eax, edi
jmp 0x572b0f
mov eax, dword [esp + 0x14]
mov byte [esp + 0x78], 0
test eax, eax
je 0x572a59
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esi + 0x24]
call fcn.00565c80
lea ecx, [esi + 0x4c]
call fcn.00565c80
mov eax, dword [esi + 0x74]
xor ebx, ebx
cmp eax, ebx
je 0x572a87
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x74], ebx
mov eax, dword [esi + 0xb4]
cmp eax, ebx
je 0x572a9d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0xb4], ebx
mov eax, edi
jmp 0x572b0f
mov eax, dword [esp + 0x14]
mov byte [esp + 0x78], 0
cmp eax, ebx
je 0x572ab4
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x572ad0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x24], ebx
mov eax, dword [esi + 0x4c]
cmp eax, ebx
je 0x572ae0
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x4c], ebx
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x572af0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x74], ebx
mov eax, dword [esi + 0xb4]
cmp eax, ebx
je 0x572a9d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0xb4], ebx
mov eax, edi
jmp 0x572b0f
mov eax, 0x80070057
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 0x1c