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

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x20]
xor eax, eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov ebp, dword [edi + 4]
mov esi, dword [edi]
mov ebx, dword [edi + 8]
cmp byte [ebp + 0x10], 0x4c
setne al
dec dword [esi + 0x38]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
cmp edx, 2
jne 0x572df3
cmp byte [ebp + 0x11], 0x5a
jne 0x572df3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x572e67
cmp byte [ebp + 0x10], 0x59
jne 0x572e54
mov edi, dword [ebx + 0x74]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x2c]
push ecx
cmp edx, 2
jne 0x572e40
cmp byte [ebp + 0x11], 0x56
jne 0x572e2c
push dword [edi + 0x20]
push eax
push dword [edi + 0x28]
push 0x37
push edi
call fcn.005731e0
add esp, 0x18
jmp 0x572e7d
push dword [edi + 0x28]
push eax
push dword [edi + 0x20]
push 0x39
push edi
call fcn.005731e0
add esp, 0x18
jmp 0x572e7d
push dword [edi + 0x28]
push eax
push dword [edi + 0x30]
push 0x36
push edi
call fcn.005731e0
add esp, 0x18
jmp 0x572e63
push 1
push ecx
push eax
push 0x31
push ebx
call fcn.0054b450
add esp, 0x14
mov edx, dword [esp + 0x30]
cmp edx, 1
jne 0x572e81
cmp dword [ebp + 0x58], 0
jne 0x572e81
push 0
push edi
call fcn.00571f80
add esp, 8
mov edx, dword [esp + 0x30]
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x24], eax
mov al, byte [ebp + 0x11]
cmp al, byte [ebp + 0x12]
jne 0x572f93
cmp dword [esp + 0x34], 0
je 0x572f93
cmp byte [ebp + 0x10], 0x59
jne 0x572f93
mov al, byte [esi + 0x13]
test al, al
jne 0x572eb8
inc dword [esi + 0x2c]
mov ecx, dword [esi + 0x2c]
jmp 0x572ec7
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov ecx, dword [esi + eax*4 + 0x98]
mov al, byte [esi + 0x13]
mov dword [esp + 0x2c], ecx
test al, al
jne 0x572eda
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
jmp 0x572ee9
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x98]
mov dword [esp + 0x10], eax
cmp edx, 2
jne 0x572f2c
push ecx
push dword [edi + 0x20]
push 0x86
push ebx
call fcn.0054b3f0
push dword [esp + 0x20]
push dword [edi + 0x30]
push 0x86
push ebx
call fcn.0054b3f0
push dword [esp + 0x4c]
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0x39
push ebx
call fcn.0054b450
add esp, 0x34
jmp 0x572f57
cmp dword [edi + 0x1c], 0
je 0x572f5b
push ecx
push dword [edi + 0x30]
push 0x86
push ebx
call fcn.0054b3f0
push dword [esp + 0x3c]
push dword [esp + 0x28]
push dword [edi + 0x1c]
push 0x39
push ebx
call fcn.0054b450
add esp, 0x24
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x572f77
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x572f77
movzx eax, al
mov dword [esi + eax*4 + 0x98], ecx
inc byte [esi + 0x13]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x572f93
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x572f93
movzx eax, al
mov dword [esi + eax*4 + 0x98], ecx
inc byte [esi + 0x13]
mov eax, edx
dec eax
je 0x57300a
dec eax
je 0x572fd3
cmp dword [ebp + 0x58], 0
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], ecx
je 0x572fc1
push 1
push dword [ebp + 0x5c]
push 0x55
push ebx
call fcn.0054b3f0
add esp, 0x10
jmp 0x573021
push dword [edi + 0x14]
push 0
push eax
push ebp
push edi
call fcn.005722c0
add esp, 0x14
jmp 0x573021
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x58]
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x572ff8
push 1
push ecx
push 0x55
push ebx
call fcn.0054b3f0
add esp, 0x10
jmp 0x573021
push dword [edi + 0x14]
push 1
push eax
push ebp
push edi
call fcn.005722c0
add esp, 0x14
jmp 0x573021
mov eax, dword [edi + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x2c]
push edi
mov dword [esp + 0x14], eax
call fcn.005742d0
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, dword [edi + 0x18]
jne 0x573053
push dword [esp + 0x2c]
push 0x81
push ebx
call fcn.0054b390
mov eax, dword [ebx + 0x74]
add esp, 0xc
test eax, eax
jle 0x573053
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [ebx + 0x70]
mov word [eax + ecx*4 - 0x12], dx
cmp dword [esp + 0x38], 0
mov eax, dword [ebx + 0x74]
je 0x5730c8
add eax, 2
push eax
push dword [esp + 0x30]
push 5
push ebx
call fcn.0054b3f0
mov edx, dword [ebx + 0x74]
add esp, 0x10
mov dword [esp + 0x1c], edx
cmp dword [ebx + 0x78], edx
jg 0x573093
push 0
push 0
push 0
push 0xb
push ebx
call fcn.004ffef0
add esp, 0x14
mov dword [esp + 0x1c], eax
jmp 0x5730fb
lea eax, [edx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x5730fb
mov ecx, dword [esp + 0x18]
inc ecx
add eax, ecx
push eax
push dword [esp + 0x30]
push 5
push ebx
call fcn.0054b3f0
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x57317f
push dword [esp + 0x14]
push 0
push 0xb
push ebx
call fcn.0054b3f0
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x57317f
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x57311f
mov ecx, dword [ecx]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x573127
push ecx
push esi
call fcn.00533dd0
add esp, 8
jmp 0x573129
mov dword [esp + 0x18], 0
xor eax, eax
push eax
push dword [esp + 0x30]
mov dword [esp + 0x38], eax
push edi
call fcn.005741c0
push dword [esp + 0x30]
mov edi, dword [esp + 0x40]
push dword [esp + 0x20]
push edi
push dword [ebp + 0xc]
push esi
call fcn.00573dc0
mov eax, dword [esp + 0x38]
add esp, 0x20
cmp eax, 1
jne 0x573174
test edi, edi
je 0x57317f
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x57317f
movzx eax, al
mov dword [esi + eax*4 + 0x98], edi
inc byte [esi + 0x13]
jmp 0x57317f
cmp eax, dword [esi + 0x1c]
jle 0x57317f
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x573195
push eax
push 0
push 0xb
push ebx
call fcn.0054b3f0
add esp, 0x10
mov edx, dword [ebx + 0xc]
mov ebp, dword [esp + 0x14]
not ebp
mov eax, dword [edx + 0x3c]
add eax, dword [edx + 0x38]
jns 0x5731bd
push ebp
push ebx
push edx
call fcn.00511f90
mov eax, dword [esp + 0x28]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov edx, dword [edx + 0x40]
mov ecx, dword [ebx + 0x74]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov dword [edx + ebp*4], ecx
pop ebp
pop ebx
add esp, 0x18
ret