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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff10
mov ebx, eax
mov esi, edx
xor edx, edx
mov dword [esp], ecx
xor ecx, ecx
mov edi, dword [ebx + 8]
mov eax, dword [esp]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
test edi, edi
mov ecx, dword [ebx]
mov dword [esp + 0x1c], ecx
jne 0x57231c
xor eax, eax
jmp 0x572f98
test esi, esi
jne 0x572327
mov ebp, 0x62
jmp 0x57232a
movzx ebp, byte [esi]
mov eax, ebp
add eax, 0xffffffed
cmp eax, 0x8a
ja case.0x572340.19
mov al, byte [eax + 0x572347]
jmp dword [eax*4 + 0x5723d2]
movsx ecx, word [esi + 0x1e]
shl ecx, 3
mov eax, dword [esi + 0x24]
mov edx, dword [eax + 0x14]
lea ecx, [ecx + ecx*2]
add edx, ecx
mov dword [esp + 0x20], edx
cmp byte [eax], 0
jne 0x572467
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x10]
mov dword [esp + 4], edx
jmp 0x572f7e
cmp byte [eax + 1], 0
je case.0x572340.25
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0xc]
push ecx
mov edx, dword [esp + 4]
push edx
mov ecx, dword [eax + 8]
mov edx, 0x1d
mov eax, edi
call fcn.0057eae4
jmp 0x572f7e
cmp dword [esi + 0x18], 0
jge 0x5724a4
movsx ecx, word [esi + 0x1c]
add ecx, dword [ebx + 0x58]
mov dword [esp + 4], ecx
jmp 0x572f7e
mov ecx, dword [esi + 0x18]
push ecx
mov eax, dword [esp + 4]
push eax
mov eax, ebx
mov dl, byte [esi + 0x23]
push edx
movsx ecx, word [esi + 0x1c]
mov edx, dword [esi + 0x28]
call fcn.005721c4
mov dword [esp + 4], eax
jmp 0x572f7e
mov ecx, dword [esp]
mov edx, esi
push ecx
xor ecx, ecx
mov eax, ebx
call fcn.00571f28
jmp 0x572f7e
mov ecx, dword [esp]
mov eax, edi
push ecx
xor ecx, ecx
mov edx, dword [esi + 4]
call fcn.00571ec8
jmp 0x572f7e
mov ecx, dword [esp]
mov edx, 0x5e
push ecx
push 0
mov eax, dword [esi + 4]
xor ecx, ecx
push eax
mov eax, edi
push 0
call fcn.0057eb74
jmp 0x572f7e
mov ecx, dword [esp]
mov edx, 0xa
push ecx
xor ecx, ecx
mov eax, edi
call fcn.0057eb60
jmp 0x572f7e
mov ecx, dword [esi + 4]
add ecx, 2
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x28]
call fcn.00590cc4
dec eax
mov dword [esp + 0x24], eax
mov eax, edi
call fcn.005812c8
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
call fcn.00591a90
mov dword [esp + 0x2c], eax
mov ecx, dword [esp]
push ecx
push 0
mov eax, dword [esp + 0x34]
push eax
push 0xffffffffffffffff
mov ecx, dword [esp + 0x34]
sar ecx, 1
jns 0x57256f
adc ecx, 0
mov edx, 0xb
mov eax, edi
call fcn.0057eb74
jmp 0x572f7e
mov ecx, dword [esp]
mov edx, 0xc
push ecx
mov eax, edi
movsx ecx, word [esi + 0x1c]
call fcn.0057eb60
mov ecx, dword [esi + 4]
cmp byte [ecx + 1], 0
je 0x572f7e
push 0xfffffffffffffffe
movsx eax, word [esi + 0x1c]
mov edx, dword [ebx + 0x1ec]
mov ecx, dword [edx + eax*4 - 4]
or edx, 0xffffffff
mov eax, edi
call fcn.0057f030
jmp 0x572f7e
mov ecx, dword [esi + 0x18]
mov dword [esp + 4], ecx
jmp 0x572f7e
mov ecx, dword [esp]
mov edx, dword [esi + 8]
mov eax, ebx
call fcn.005722e4
mov dword [esp + 4], eax
jmp 0x572f7e
mov ecx, dword [esp]
mov edx, dword [esi + 8]
mov eax, ebx
call fcn.005722e4
mov dword [esp + 4], eax
mov eax, dword [esi + 4]
call fcn.0054fe2c
movsx edx, al
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x30]
add ecx, 0x2c
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 4]
cmp ecx, dword [esp]
je 0x572631
mov eax, dword [esp]
mov edx, 0xf
push eax
mov eax, edi
mov ecx, dword [esp + 8]
call fcn.0057eb60
mov ecx, dword [esp]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x34]
mov eax, edi
call fcn.0057eb54
mov ecx, 1
mov edx, dword [esp + 4]
mov eax, ebx
call fcn.00572288
jmp 0x572f7e
lea ecx, [esp + 8]
mov edx, dword [esi + 8]
mov eax, ebx
call fcn.00572fa4
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xc]
mov edx, dword [esi + 0xc]
mov eax, ebx
call fcn.00572fa4
mov dword [esp + 0x14], eax
push ebp
mov ecx, dword [esp + 0x14]
push ecx
mov eax, dword [esp + 0x1c]
push eax
mov edx, dword [esp + 0x10]
push edx
push 0x10
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, ebx
call fcn.00570318
jmp 0x572f7e
lea ecx, [esp + 8]
mov edx, dword [esi + 8]
mov eax, ebx
call fcn.00572fa4
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xc]
mov edx, dword [esi + 0xc]
mov eax, ebx
call fcn.00572fa4
mov dword [esp + 0x14], eax
cmp ebp, 0x46
jne 0x5726cd
mov ecx, 0x4c
jmp 0x5726d2
mov ecx, 0x4b
mov ebp, ecx
push ebp
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [esp + 0x1c]
push edx
mov ecx, dword [esp + 0x10]
push ecx
push 0x90
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, ebx
call fcn.00570318
jmp 0x572f7e
lea ecx, [esp + 8]
mov edx, dword [esi + 8]
mov eax, ebx
call fcn.00572fa4
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xc]
mov edx, dword [esi + 0xc]
mov eax, ebx
call fcn.00572fa4
mov dword [esp + 0x14], eax
mov edx, ebp
mov ecx, dword [esp + 0x10]
push ecx
mov eax, dword [esp + 4]
push eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
call fcn.0057eae4
jmp 0x572f7e
mov eax, dword [esi + 8]
xor edx, edx
mov dl, byte [eax]
cmp edx, 0x81
jne 0x57275e
mov ecx, dword [esp]
mov edx, eax
push ecx
mov ecx, 1
mov eax, ebx
call fcn.00571f28
jmp 0x5727cd
xor edx, edx
mov dl, byte [eax]
cmp edx, 0x82
jne 0x57277f
mov ecx, dword [esp]
push ecx
mov edx, dword [eax + 4]
mov ecx, 1
mov eax, edi
call fcn.00571ec8
jmp 0x5727cd
mov eax, ebx
call fcn.00573df8
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
mov edx, dword [esp + 0x10]
mov eax, edi
push edx
mov edx, 7
xor ecx, ecx
call fcn.0057eb60
lea ecx, [esp + 0xc]
mov edx, dword [esi + 8]
mov eax, ebx
call fcn.00572fa4
mov dword [esp + 0x14], eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov edx, 0x57
push ecx
mov ecx, dword [esp + 4]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0057eae4
mov ecx, dword [esp]
mov dword [esp + 4], ecx
jmp 0x572f7e
lea ecx, [esp + 8]
mov edx, dword [esi + 8]
mov eax, ebx
call fcn.00572fa4
mov dword [esp + 0x10], eax
mov edx, ebp
mov ecx, dword [esp]
mov dword [esp + 4], ecx
mov eax, dword [esp + 4]
push eax
mov eax, edi
mov ecx, dword [esp + 0x14]
call fcn.0057eb60
jmp 0x572f7e
mov ecx, dword [esp]
mov edx, 7
push ecx
mov ecx, 1
mov eax, edi
call fcn.0057eb60
lea ecx, [esp + 8]
mov edx, dword [esi + 8]
mov eax, ebx
call fcn.00572fa4
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov edx, ebp
mov eax, edi
call fcn.0057eb54
mov dword [esp + 0x38], eax
push 0xffffffffffffffff
mov ecx, dword [esp + 4]
mov edx, 0x14
mov eax, edi
call fcn.0057eb60
mov edx, dword [esp + 0x38]
mov eax, edi
call fcn.0057eea8
jmp 0x572f7e
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x3c], ecx
cmp dword [esp + 0x3c], 0
jne 0x572888
mov ecx, dword [esi + 4]
push ecx
push str.misuse_of_aggregate:__s__
push ebx
call fcn.00590d50
add esp, 0xc
jmp 0x572f7e
movsx eax, word [esi + 0x1e]
shl eax, 4
mov edx, dword [esp + 0x3c]
mov edx, dword [edx + 0x20]
mov eax, dword [edx + eax + 8]
mov dword [esp + 4], eax
jmp 0x572f7e
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 0xc]
xor eax, eax
mov cl, byte [edx + 0x4d]
mov byte [esp + 0x54], cl
mov dword [esp + 0x58], eax
test byte [esi + 3], 0x40
je 0x5728ca
xor ebp, ebp
jmp 0x5728cd
mov ebp, dword [esi + 0x10]
test ebp, ebp
je 0x5728d6
mov eax, dword [ebp]
jmp 0x5728d8
xor eax, eax
mov dword [esp + 0x40], eax
mov edx, dword [esi + 4]
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x4c]
call fcn.00590cc4
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x40]
push edx
mov cl, byte [esp + 0x58]
push ecx
push 0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x28]
call fcn.00552f68
mov dword [esp + 0x44], eax
cmp dword [esp + 0x44], 0
jne 0x572935
mov ecx, dword [esp + 0x4c]
push ecx
mov eax, dword [esp + 0x4c]
push eax
push str.unknown_function:__.s__
push ebx
call fcn.00590d50
add esp, 0x10
jmp 0x572f7e
mov edx, dword [esp + 0x44]
test byte [edx + 3], 0x20
je 0x5729c9
mov eax, edi
call fcn.0057ec24
mov dword [esp + 0x5c], eax
mov eax, ebx
mov edx, dword [ebp + 8]
mov ecx, dword [esp]
mov edx, dword [edx]
call fcn.00572fe4
mov esi, 1
cmp esi, dword [esp + 0x40]
jge 0x5729b9
mov eax, dword [esp + 0x5c]
mov edx, 0x4a
push eax
mov eax, edi
mov ecx, dword [esp + 4]
call fcn.0057eb60
mov ecx, 1
mov edx, dword [esp]
mov eax, ebx
call fcn.005720c0
mov eax, ebx
call fcn.00572100
lea edx, [esi + esi*4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp]
mov eax, ebx
call fcn.00572fe4
mov edx, 1
mov eax, ebx
call fcn.00572104
inc esi
cmp esi, dword [esp + 0x40]
jl 0x572968
mov edx, dword [esp + 0x5c]
mov eax, edi
call fcn.0057ec60
jmp 0x572f7e
test ebp, ebp
je 0x572a3f
mov edx, dword [esp + 0x40]
mov eax, ebx
call fcn.00573e50
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x44]
test byte [ecx + 3], 0xc0
je 0x572a1b
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dl, byte [eax]
mov byte [esp + 0x60], dl
xor ecx, ecx
mov cl, byte [esp + 0x60]
cmp ecx, 0x98
je 0x572a0c
xor eax, eax
mov al, byte [esp + 0x60]
cmp eax, 0x9a
jne 0x572a1b
mov edx, dword [esp + 0x44]
mov eax, dword [ebp + 8]
mov cl, byte [edx + 3]
mov edx, dword [eax]
mov byte [edx + 0x23], cl
mov eax, ebx
call fcn.00572100
push 1
mov ecx, dword [esp + 0x14]
mov edx, ebp
mov eax, ebx
call fcn.005731d0
mov edx, 1
mov eax, ebx
call fcn.00572104
jmp 0x572a45
xor edx, edx
mov dword [esp + 0x10], edx
cmp dword [esp + 0x40], 2
jl 0x572a70
test byte [esi + 2], 0x80
je 0x572a70
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
push ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
call fcn.005676d8
mov dword [esp + 0x44], eax
jmp 0x572a92
cmp dword [esp + 0x40], 0
jle 0x572a92
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
call fcn.005676d8
mov dword [esp + 0x44], eax
xor esi, esi
cmp esi, dword [esp + 0x40]
jge 0x572aea
cmp esi, 0x20
jge 0x572abe
lea eax, [esi + esi*4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4]
call fcn.00571338
test eax, eax
je 0x572abe
mov ecx, esi
mov edx, 1
shl edx, cl
or dword [esp + 0x50], edx
mov ecx, dword [esp + 0x44]
test byte [ecx + 3], 8
je 0x572ae3
cmp dword [esp + 0x58], 0
jne 0x572ae3
lea eax, [esi + esi*4]
mov edx, dword [ebp + 8]
mov edx, dword [edx + eax*4]
mov eax, ebx
call fcn.005700f8
mov dword [esp + 0x58], eax
inc esi
cmp esi, dword [esp + 0x40]
jl 0x572a9a
mov ecx, dword [esp + 0x44]
test byte [ecx + 3], 8
je 0x572b1f
cmp dword [esp + 0x58], 0
jne 0x572b06
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 8]
mov dword [esp + 0x58], eax
push 0
push 0
mov edx, dword [esp + 0x60]
push edx
push 0xfffffffffffffffc
xor ecx, ecx
mov edx, 0x11
mov eax, edi
call fcn.0057eb74
mov ecx, dword [esp + 0x10]
push ecx
mov eax, dword [esp + 4]
push eax
mov edx, dword [esp + 0x4c]
push edx
push 0xfffffffffffffffb
mov ecx, dword [esp + 0x60]
mov edx, 0x12
mov eax, edi
call fcn.0057eb74
mov dl, byte [esp + 0x40]
mov eax, edi
call fcn.0057ee94
cmp dword [esp + 0x40], 0
je 0x572f7e
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
mov eax, ebx
call fcn.00573e70
jmp 0x572f7e
push 0
xor ecx, ecx
mov edx, esi
mov eax, ebx
call fcn.00571894
mov dword [esp + 4], eax
jmp 0x572f7e
mov eax, edi
call fcn.0057ec24
mov dword [esp + 0x64], eax
mov eax, edi
call fcn.0057ec24
mov dword [esp + 0x68], eax
mov eax, edi
mov edx, dword [esp]
xor ecx, ecx
push edx
mov edx, 0xa
call fcn.0057eb60
mov ecx, dword [esp + 0x68]
mov edx, esi
push ecx
mov eax, ebx
mov ecx, dword [esp + 0x68]
call fcn.00571cac
mov ecx, dword [esp]
mov edx, 7
push ecx
mov ecx, 1
mov eax, edi
call fcn.0057eb60
mov edx, dword [esp + 0x64]
mov eax, edi
call fcn.0057ec60
push 0
mov ecx, dword [esp + 4]
mov edx, 0x14
mov eax, edi
call fcn.0057eb60
mov edx, dword [esp + 0x68]
mov eax, edi
call fcn.0057ec60
jmp 0x572f7e
mov ecx, dword [esi + 8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + 8]
lea ecx, [esp + 8]
mov dword [esp + 0x70], eax
mov eax, ebx
mov edx, dword [esp + 0x70]
mov esi, dword [edx]
mov edx, dword [esp + 0x6c]
call fcn.00572fa4
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xc]
mov edx, esi
mov eax, ebx
call fcn.00572fa4
mov dword [esp + 0x14], eax
mov eax, ebx
call fcn.00573df8
mov ebp, eax
mov eax, ebx
call fcn.00573df8
mov dword [esp + 0x18], eax
push 0x50
mov edx, dword [esp + 0x14]
mov eax, ebx
push edx
mov ecx, dword [esp + 0x1c]
push ecx
push ebp
push 0x10
mov ecx, esi
mov edx, dword [esp + 0x80]
call fcn.00570318
add dword [esp + 0x70], 0x14
mov ecx, dword [esp + 0x70]
mov esi, dword [ecx]
mov edx, dword [esp + 0xc]
mov eax, ebx
call fcn.00573e14
lea ecx, [esp + 0xc]
mov edx, esi
mov eax, ebx
call fcn.00572fa4
mov dword [esp + 0x14], eax
push 0x4e
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
mov eax, dword [esp + 0x24]
push eax
push 0x10
mov ecx, esi
mov edx, dword [esp + 0x80]
mov eax, ebx
call fcn.00570318
mov ecx, dword [esp + 0x18]
mov edx, 0x45
push ecx
mov ecx, ebp
mov eax, dword [esp + 4]
push eax
mov eax, edi
call fcn.0057eae4
mov edx, ebp
mov eax, ebx
call fcn.00573e14
mov edx, dword [esp + 0x18]
mov eax, ebx
call fcn.00573e14
jmp 0x572f7e
mov ecx, dword [esp]
mov edx, dword [esi + 8]
mov eax, ebx
call fcn.005722e4
mov dword [esp + 4], eax
jmp 0x572f7e
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x74]
movsx eax, word [ecx + 0x26]
inc eax
imul dword [esi + 0x18]
movsx edx, word [esi + 0x1c]
add eax, edx
mov edx, 0x74
inc eax
mov dword [esp + 0x78], eax
mov eax, edi
mov ecx, dword [esp]
push ecx
mov ecx, dword [esp + 0x7c]
call fcn.0057eb60
cmp word [esi + 0x1c], 0
jl 0x572f7e
movsx ecx, word [esi + 0x1c]
lea eax, [ecx + ecx*2]
mov edx, dword [esp + 0x74]
mov edx, dword [edx + 4]
cmp byte [edx + eax*8 + 0x15], 0x65
jne 0x572f7e
mov ecx, dword [esp]
mov edx, 0x16
mov eax, edi
call fcn.0057eb54
jmp 0x572f7e
xor ecx, ecx
mov dword [esp + 0x94], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x88], ecx
mov eax, dword [esp + 0x88]
mov edx, dword [eax + 8]
mov dword [esp + 0x8c], edx
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx]
mov dword [esp + 0x84], eax
mov eax, edi
call fcn.0057ec24
mov dword [esp + 0x7c], eax
mov edx, dword [esi + 8]
mov dword [esp + 0x90], edx
test edx, edx
je 0x572e18
mov eax, dword [esp + 0x90]
push esi
push edi
mov esi, eax
lea edi, [esp + 0xcc]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea ecx, [esp + 8]
mov edx, dword [esp + 0x90]
mov eax, ebx
call fcn.00572fa4
mov dword [esp + 0xdc], eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0xc4], 0x84
mov byte [esp + 0x98], 0x4c
mov dword [esp + 0xa0], ecx
lea eax, [esp + 0x98]
mov dword [esp + 0x94], eax
xor edx, edx
mov dword [esp + 8], edx
xor ebp, ebp
cmp ebp, dword [esp + 0x84]
jge 0x572edf
mov eax, ebx
call fcn.00572100
cmp dword [esp + 0x90], 0
je 0x572e4f
lea edx, [ebp + ebp*4]
mov ecx, dword [esp + 0x8c]
mov ecx, dword [ecx + edx*4]
mov dword [esp + 0xa4], ecx
jmp 0x572e64
lea eax, [ebp + ebp*4]
mov edx, dword [esp + 0x8c]
mov ecx, dword [edx + eax*4]
mov dword [esp + 0x94], ecx
mov eax, edi
call fcn.0057ec24
mov dword [esp + 0x80], eax
push 8
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x98]
mov eax, ebx
call fcn.00573584
lea ecx, [ebp + ebp*4]
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + ecx*4 + 0x14]
mov ecx, dword [esp]
mov eax, ebx
call fcn.00572fe4
mov edx, dword [esp + 0x7c]
xor ecx, ecx
push edx
mov edx, 1
mov eax, edi
call fcn.0057eb60
mov edx, 1
mov eax, ebx
call fcn.00572104
mov edx, dword [esp + 0x80]
mov eax, edi
call fcn.0057ec60
add ebp, 2
cmp ebp, dword [esp + 0x84]
jl 0x572e27
cmp dword [esi + 0xc], 0
je 0x572f07
mov eax, ebx
call fcn.00572100
mov ecx, dword [esp]
mov edx, dword [esi + 0xc]
mov eax, ebx
call fcn.00572fe4
mov edx, 1
mov eax, ebx
call fcn.00572104
jmp 0x572f19
mov edx, dword [esp]
xor ecx, ecx
push edx
mov edx, 0xa
mov eax, edi
call fcn.0057eb60
mov edx, dword [esp + 0x7c]
mov eax, edi
call fcn.0057ec60
jmp 0x572f7e
cmp dword [ebx + 0x1b4], 0
jne 0x572f41
push str.RAISE___may_only_be_used_within_a_trigger_program
push ebx
call fcn.00590d50
add esp, 8
xor eax, eax
jmp 0x572f98
cmp byte [esi + 1], 2
jne 0x572f4e
mov eax, ebx
call fcn.005528b0
cmp byte [esi + 1], 4
jne 0x572f6e
push 4
push 0
mov edx, dword [esi + 4]
push edx
push 0
xor ecx, ecx
mov edx, 6
mov eax, edi
call fcn.0057eb74
jmp 0x572f7e
push 0
mov eax, ebx
movsx edx, byte [esi + 1]
mov ecx, dword [esi + 4]
call fcn.005528cc
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.00573e14
mov edx, dword [esp + 0xc]
mov eax, ebx
call fcn.00573e14
mov eax, dword [esp + 4]
add esp, 0xf0
pop ebp
pop edi
pop esi
pop ebx
ret