Function at 0x59076020
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x591569d0
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x44]
push ebp
push esi
test ebx, ebx
push edi
je 0x5907630c
mov ebp, dword [esp + 0x54]
test ebp, ebp
je 0x5907630c
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x5907630c
mov eax, dword [esp + 0x60]
test eax, eax
je 0x5907630c
mov eax, dword [0x591ac718]
test eax, eax
je 0x5907608e
push str.IsEMailHtml_______
push str.Winncap
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x10
mov esi, dword [esp + 0x58]
test esi, esi
jle 0x59076cc9
push 5
push 0x5918cae4
push ebp
call fcn.590952c0
add esp, 0xc
test eax, eax
je 0x59076100
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x590760c9
push 5
push 0x5918cae4
push eax
call fcn.590952c0
add esp, 0xc
test eax, eax
je 0x59076100
push 4
push str.PUT
push ebp
call fcn.590952c0
add esp, 0xc
test eax, eax
je 0x59076100
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x5907630c
push 4
push str.PUT
push eax
call fcn.590952c0
add esp, 0xc
test eax, eax
jne 0x5907630c
mov edi, 0x591892bc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x591892bc
push esi
push ebp
call fcn.59070c00
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5907620c
push esi
lea eax, [ebx + 0x14]
push ebp
push eax
call fcn.59071770
add esp, 0xc
cmp eax, 1
mov dword [esp + 0x58], eax
jne 0x5907630e
push eax
push 0x591ad630
lea ecx, [esp + 0x1c]
call fcn.590b48a0
mov ebp, dword [0x591ad654]
xor edx, edx
or edi, 0xffffffff
cmp ebp, edx
mov dword [esp + 0x48], edx
jle 0x59076198
mov ecx, dword [0x591ad650]
mov eax, dword [ebx + 0x24]
mov esi, dword [ecx]
cmp esi, eax
jne 0x5907618c
mov eax, dword [esp + 0x60]
mov esi, dword [ecx + 8]
mov eax, dword [eax]
add eax, 0x10
cmp esi, dword [eax]
jne 0x5907618c
mov esi, dword [ecx + 0xc]
cmp esi, dword [eax + 4]
je 0x59076196
inc edx
add ecx, 0x20
cmp edx, ebp
jl 0x5907616b
jmp 0x59076198
mov edi, edx
mov esi, dword [esp + 0x60]
mov ecx, dword [esi]
add ecx, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp edi, 0xffffffff
je 0x590761db
mov edx, dword [esi]
mov esi, dword [0x591ad650]
shl edi, 5
mov ecx, dword [edx + 0x10]
mov eax, edi
mov dword [eax + esi + 8], ecx
mov ecx, dword [0x591ad650]
mov edx, dword [edx + 0x14]
mov dword [eax + ecx + 0xc], edx
mov ecx, dword [0x591ad650]
mov edx, dword [ebx + 0x1c]
mov dword [eax + ecx + 0x18], edx
lea ecx, [esp + 0x14]
call fcn.590b4950
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0xffffffff
call fcn.590b4900
mov eax, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x1c]
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
xor esi, esi
test eax, eax
mov dword [esp + 0x50], edi
je 0x5907633a
mov edx, ebp
mov ecx, edi
lea eax, [ebx + 0x14]
push edx
push ecx
push eax
call fcn.59071770
add esp, 0xc
test eax, eax
je 0x5907630c
push 1
push 0x591ad630
lea ecx, [esp + 0x1c]
call fcn.590b48a0
mov ebp, dword [0x591ad654]
or edi, 0xffffffff
xor edx, edx
mov dword [esp + 0x48], 1
test ebp, ebp
jle 0x59076299
mov ecx, dword [0x591ad650]
mov eax, dword [ebx + 0x24]
mov esi, dword [ecx]
cmp esi, eax
jne 0x5907628d
mov eax, dword [esp + 0x60]
mov esi, dword [ecx + 8]
mov eax, dword [eax]
add eax, 0x10
cmp esi, dword [eax]
jne 0x5907628d
mov esi, dword [ecx + 0xc]
cmp esi, dword [eax + 4]
je 0x59076297
inc edx
add ecx, 0x20
cmp edx, ebp
jl 0x5907626c
jmp 0x59076299
mov edi, edx
mov esi, dword [esp + 0x60]
mov ecx, dword [esi]
add ecx, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp edi, 0xffffffff
je 0x590762dc
mov edx, dword [esi]
mov esi, dword [0x591ad650]
shl edi, 5
mov ecx, dword [edx + 0x10]
mov eax, edi
mov dword [eax + esi + 8], ecx
mov ecx, dword [0x591ad650]
mov edx, dword [edx + 0x14]
mov dword [eax + ecx + 0xc], edx
mov ecx, dword [0x591ad650]
mov edx, dword [ebx + 0x1c]
mov dword [eax + ecx + 0x18], edx
lea ecx, [esp + 0x14]
call fcn.590b4950
lea ebp, [ebx + 0x14]
push ebp
call fcn.59071a70
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x50], edi
jne 0x59076321
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0xffffffff
call fcn.590b4900
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov ebp, dword [ebp]
lea ecx, [esp + 0x14]
mov esi, 1
mov dword [esp + 0x48], 0xffffffff
call fcn.590b4900
push ebp
push edi
call fcn.59071c30
add esp, 8
test eax, eax
jne 0x5907630c
push ebp
push edi
push ebx
call fcn.590751c0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59075150
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59075f80
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.590724a0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59072510
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59072660
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.590726c0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59074aa0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59074ae0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59072cd0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59074b40
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59072d90
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59072fa0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59073110
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59073250
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.590733c0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59073420
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59073e10
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59074250
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59074b80
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59074be0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59074480
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59074320
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.590746d0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59074840
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59073a60
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59073b40
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59073bb0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.590742c0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59073d50
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59073c60
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59073480
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59073560
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.590735c0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59073620
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59073ad0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59074c20
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59072920
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59074c60
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59074df0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59073a00
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59074f30
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59074f70
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59074fe0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59075050
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.590750e0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59073680
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.590736f0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59073fd0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59073990
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.590755a0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59072720
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59075650
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59075700
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59075a60
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.590757b0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.590758f0
add esp, 0xc
test eax, eax
jne 0x59076776
push ebp
push edi
push ebx
call fcn.59075230
add esp, 0xc
test eax, eax
je 0x5907630c
test esi, esi
jne 0x59076a43
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
lea eax, [ebx + 0x14]
push edx
push ecx
push eax
call fcn.59071770
add esp, 0xc
cmp eax, 1
mov dword [esp + 0x54], eax
jne 0x59076a2c
mov esi, dword [esp + 0x60]
mov edx, dword [esi]
add edx, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esi]
mov esi, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x38], esi
mov edx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor esi, esi
mov dword [esp + 0x20], ecx
cmp dword [0x591ac718], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
je 0x59076805
push eax
push ebp
push edi
push edx
push ecx
push str.IsEMailHtml_g_arrTypeAndTime.Add__Type:_04x__Time:_I64u__TimeBegin:_I64u_
push str.winncap
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x24
push 1
push 0x591ad630
lea ecx, [esp + 0x1c]
call fcn.590b48a0
mov eax, dword [0x591ad654]
mov dword [esp + 0x48], 2
mov ebp, eax
cmp ebp, eax
mov dword [esp + 0x10], ebp
jl 0x59076991
inc ebp
cmp ebp, esi
jne 0x5907685e
mov eax, dword [0x591ad650]
cmp eax, esi
je 0x5907684d
push eax
call fcn.5913d2f9
add esp, 4
mov dword [0x591ad650], esi
mov dword [0x591ad658], esi
mov dword [0x591ad654], esi
jmp 0x59076991
mov edx, dword [0x591ad650]
cmp edx, esi
jne 0x590768a1
mov esi, ebp
shl esi, 5
push esi
call fcn.5913d2d0
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [0x591ad650], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [0x591ad658], ebp
mov dword [0x591ad654], ebp
jmp 0x59076991
mov esi, dword [0x591ad658]
cmp ebp, esi
jg 0x590768d8
cmp ebp, eax
jle 0x590768cd
mov ecx, ebp
sub ecx, eax
shl eax, 5
shl ecx, 5
add eax, edx
mov edx, ecx
mov edi, eax
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [0x591ad654], ebp
jmp 0x59076991
mov ecx, dword [0x591ad65c]
test ecx, ecx
jne 0x59076906
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x590768f9
mov ecx, 4
jmp 0x59076906
cmp ecx, 0x400
jle 0x59076906
mov ecx, 0x400
lea eax, [ecx + esi]
cmp ebp, eax
mov dword [esp + 0x58], eax
jl 0x59076915
mov dword [esp + 0x58], ebp
mov eax, dword [esp + 0x58]
shl eax, 5
push eax
call fcn.5913d2d0
mov ecx, dword [0x591ad654]
mov esi, dword [0x591ad650]
shl ecx, 5
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x54], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [0x591ad654]
mov ecx, ebp
sub ecx, edx
shl edx, 5
add edx, eax
xor eax, eax
shl ecx, 5
mov edi, edx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x591ad650]
push eax
call fcn.5913d2f9
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
add esp, 8
mov dword [0x591ad650], ecx
mov dword [0x591ad654], ebp
mov dword [0x591ad658], edx
mov edi, dword [esp + 0x10]
mov esi, dword [0x591ad650]
shl edi, 5
add edi, esi
mov ecx, 8
lea esi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0xffffffff
call fcn.590b4900
lea edi, [ebx + 0x14]
push edi
call fcn.59071a70
mov esi, eax
add esp, 4
test esi, esi
je 0x5907630c
mov edi, dword [edi]
push edi
push esi
mov dword [esp + 0x60], edi
call fcn.59071190
add esp, 8
test eax, eax
je 0x59076a2c
mov eax, dword [ebx + 0x24]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
push 1
push eax
push 3
push edi
push ebp
call fcn.590773d0
add esp, 0x14
mov dword [esp + 0x54], eax
test eax, eax
jne 0x59076a25
mov ecx, dword [ebx + 0x24]
mov edx, dword [esp + 0x58]
push edi
push 1
push eax
push ecx
push 3
push edx
push esi
push ebp
call fcn.59071220
add esp, 0x20
mov dword [esp + 0x54], eax
mov dword [ebx + 0x28], 1
mov eax, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov eax, dword [esp + 0x60]
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x20], ecx
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x38], eax
mov eax, dword [0x591ac718]
test eax, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
je 0x59076a9e
mov eax, dword [esp + 0x34]
push eax
push esi
push edi
push edx
push ecx
push str.IsEMailHtml_g_arrTypeAndTime.Add_222__Type:_04x__Time:_I64u__TimeBegin:_lu_
push str.winncap
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x24
push 1
push 0x591ad630
lea ecx, [esp + 0x1c]
call fcn.590b48a0
mov edx, dword [0x591ad654]
mov dword [esp + 0x48], 3
cmp edx, edx
mov dword [esp + 0x54], edx
jl 0x59076c2d
mov eax, dword [0x591ad650]
lea esi, [edx + 1]
xor edi, edi
cmp esi, edi
jne 0x59076afa
cmp eax, edi
je 0x59076ae9
push eax
call fcn.5913d2f9
add esp, 4
mov dword [0x591ad650], edi
mov dword [0x591ad658], edi
mov dword [0x591ad654], edi
jmp 0x59076c2d
cmp eax, edi
jne 0x59076b39
mov edi, esi
shl edi, 5
push edi
call fcn.5913d2d0
mov edx, eax
mov ecx, edi
mov dword [0x591ad650], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [0x591ad658], esi
mov dword [0x591ad654], esi
jmp 0x59076c2d
mov ecx, dword [0x591ad658]
cmp esi, ecx
jg 0x59076b70
cmp esi, edx
jle 0x59076b65
mov ecx, esi
sub ecx, edx
shl edx, 5
add edx, eax
xor eax, eax
shl ecx, 5
mov edi, edx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [0x591ad654], esi
jmp 0x59076c2d
mov eax, dword [0x591ad65c]
cmp eax, edi
jne 0x59076b9c
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x59076b90
mov eax, 4
jmp 0x59076b9c
cmp eax, 0x400
jle 0x59076b9c
mov eax, 0x400
add eax, ecx
cmp esi, eax
mov dword [esp + 0x58], eax
jl 0x59076baa
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0x58]
shl eax, 5
push eax
call fcn.5913d2d0
mov ecx, dword [0x591ad654]
mov esi, dword [0x591ad650]
shl ecx, 5
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x14], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x58]
mov edx, dword [0x591ad654]
lea esi, [ecx + 1]
mov ecx, esi
sub ecx, edx
shl edx, 5
add edx, eax
xor eax, eax
shl ecx, 5
mov edi, edx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x591ad650]
push eax
call fcn.5913d2f9
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x60]
add esp, 8
mov dword [0x591ad650], ecx
mov dword [0x591ad654], esi
mov dword [0x591ad658], edx
mov edi, dword [esp + 0x54]
mov ecx, dword [0x591ad650]
mov eax, dword [esp + 0x50]
lea esi, [esp + 0x20]
shl edi, 5
add edi, ecx
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
push ebp
push eax
mov esi, 1
call fcn.59071190
add esp, 8
test eax, eax
je 0x59076ca3
mov ecx, dword [ebx + 0x24]
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push esi
push ecx
push 3
push edi
push edx
call fcn.590773d0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x59076c9c
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
push edi
push 1
push eax
mov eax, dword [ebx + 0x24]
push eax
push 3
push ebp
push ecx
push edx
call fcn.59071220
add esp, 0x20
mov esi, eax
mov dword [ebx + 0x28], 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0xffffffff
call fcn.590b4900
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret