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

Disassembly:
mov ecx, dword [0x817cc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x572ef8
sub esp, 0xb8
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov ecx, dword [esp + 0xc0]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x2f
call fcn.004030c0
mov ecx, dword [esp + 0xc]
test ecx, ecx
jl 0x572b30
mov edx, dword [esp + 0xc0]
cmp edx, ecx
jb 0x572ef2
lea eax, [ecx + 1]
cmp edx, eax
jb 0x572eeb
mov dword [esp + 0x34], ecx
sub edx, ecx
dec edx
mov dword [esp + 0x28], edx
neg edx
sar edx, 0x1f
and eax, edx
mov dword [esp + 0x40], eax
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.00466f5b
mov ecx, dword [esp + 0xbc]
mov dword [esp], ecx
mov esi, dword [esp + 0x34]
mov dword [esp + 4], esi
call fcn.0055bbc0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0xa4]
lea esi, [esp + 8]
call fcn.0046743e
lea edi, [esp + 0x54]
lea esi, [esp + 0xa4]
call fcn.0046743e
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0xbc]
add ecx, edx
mov ebx, dword [esp + 0x38]
test ebx, ebx
jne 0x572a9a
mov dword [esp + 0x48], ecx
lea edi, [esp + 0x90]
lea esi, [esp + 0xa4]
call fcn.0046743e
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x572a83
lea ecx, [0x5b0d00]
cmp dword [eax], ecx
jne 0x572a7f
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
jmp 0x572a85
xor eax, eax
jmp 0x572a85
xor eax, eax
test eax, eax
jne 0x572a9a
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
xor ebx, ebx
xor ebp, ebp
jmp 0x572bc7
lea eax, [0x5bb460]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x5d9379]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc0]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x817f20]
test ecx, ecx
jne 0x572ad8
mov ecx, dword [esp + 0xbc]
jmp 0x572ae6
call fcn.00466d10
mov ecx, dword [esp + 0xbc]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
lea ecx, [0x6df808]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], eax
add esp, 0xb8
ret
lea eax, [0x5bb460]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x5d9379]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc0]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x817f20]
test ecx, ecx
jne 0x572b6e
mov ecx, dword [esp + 0xbc]
jmp 0x572b7c
call fcn.00466d10
mov ecx, dword [esp + 0xbc]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
lea ecx, [0x6df808]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], eax
add esp, 0xb8
ret
inc ebx
cmp ebx, eax
jge 0x572bfd
movzx esi, byte [ecx + ebx]
xchg esi, eax
cmp al, 0x30
xchg esi, eax
jb 0x572bfd
xchg esi, eax
cmp al, 0x39
xchg esi, eax
ja 0x572bfd
lea ebp, [ebp + ebp*4]
add esi, 0xffffffd0
xchg esi, eax
movzx eax, al
xchg esi, eax
lea ebp, [esi + ebp*2]
cmp ebp, 0xffffff
jl 0x572bc6
xor ecx, ecx
mov ebp, 0xffffff
jmp 0x572c0e
test ebx, ebx
jne 0x572c09
xor ecx, ecx
xor ebp, ebp
xor ebx, ebx
jmp 0x572c0e
mov ecx, 1
test cl, cl
je 0x572ce9
cmp ebx, eax
jne 0x572ce9
test ebp, ebp
jl 0x572ce9
lea edi, [esp + 0x7c]
lea esi, [esp + 0x54]
call fcn.0046743e
mov eax, dword [esp + 0x8c]
cmp dword [0x7f1b4c], eax
jne 0x572c46
xor eax, eax
jmp 0x572c5a
cmp dword [0x7f1b50], eax
jne 0x572c55
mov eax, 0x20
jmp 0x572c5a
mov eax, pe_nt_image_headers32
cmp eax, ebp
jl 0x572ce9
lea edi, [esp + 0x68]
lea esi, [esp + 0x54]
call fcn.0046743e
mov eax, dword [esp + 0x78]
cmp dword [0x7f1b4c], eax
jne 0x572c7f
xor eax, eax
jmp 0x572c93
cmp dword [0x7f1b50], eax
jne 0x572c8e
mov eax, 0x20
jmp 0x572c93
mov eax, pe_nt_image_headers32
cmp eax, 0x20
je 0x572ca8
cmp eax, 0x80
je 0x572ca8
xor eax, eax
xor ecx, ecx
jmp 0x572d7f
cmp eax, ebp
jl 0x572ce0
mov dword [esp + 0x24], ebp
lea ecx, [0x5b1040]
mov dword [esp], ecx
sar eax, 3
mov dword [esp + 0x30], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044d2d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
xor ebx, ebx
jmp 0x572eae
xor eax, eax
xor ecx, ecx
jmp 0x572d7f
lea eax, [0x5bb460]
mov dword [esp], eax
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x5d9379]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc0]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x817f20]
test ecx, ecx
jne 0x572d27
mov ecx, dword [esp + 0xbc]
jmp 0x572d35
call fcn.00466d10
mov ecx, dword [esp + 0xbc]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
lea ecx, [0x6df808]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], eax
add esp, 0xb8
ret
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], eax
lea edx, [0x5ae080]
mov dword [esp], edx
call fcn.0040bd60
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
lea edi, [esp]
lea esi, [esp + 0x54]
call fcn.0046743e
call fcn.0055d560
mov edi, dword [esp + 0x50]
lea esi, [esp + 0x14]
call fcn.00467448
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0x10
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
call fcn.00571840
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x4c], edx
lea ebx, [0x5bb3a0]
mov dword [esp], ebx
call fcn.0040bd60
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [0x817f20]
test ecx, ecx
jne 0x572e33
mov ecx, dword [esp + 0x4c]
jmp 0x572e3e
call fcn.00466d10
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov ecx, dword [0x817f20]
test ecx, ecx
jne 0x572e5a
mov ecx, dword [esp + 0x44]
jmp 0x572e65
call fcn.00466d10
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], 0x10
mov dword [esp + 0xcc], 0x10
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
add esp, 0xb8
ret
inc ebx
cmp ebx, ecx
jge 0x572ee0
cmp edx, 8
jb 0x572ec0
mov byte [eax + ebx], 0xff
add edx, 0xfffffff8
jmp 0x572ead
mov ebp, ecx
mov ecx, edx
mov esi, 0xffffffff
xchg esi, eax
shr al, cl
xchg esi, eax
xchg esi, ebx
not ebx
xchg esi, ebx
xchg esi, ecx
mov byte [eax + ebx], cl
xchg esi, ecx
mov ecx, ebp
xor edx, edx
jmp 0x572ead
mov ecx, eax
mov eax, dword [esp + 0x30]
jmp 0x572d7f
mov ecx, edx
call fcn.00466dd0
call fcn.00466d90
nop
call fcn.00465910
jmp fcn.00572970