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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x6585b03d
sub esp, 0xa0
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x9c], ecx
lea edx, [0x658d3fe0]
mov dword [esp], edx
mov ebx, dword [esp + 0xac]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x98]
mov dword [esp + 8], ebp
call fcn.6580c890
movzx eax, byte [esp + 0x10]
test al, al
jne 0x6585a9c1
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x9c], ecx
lea edx, [0x658d3fe0]
mov dword [esp], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 4], edx
lea ebx, [esp + 0x98]
mov dword [esp + 8], ebx
call fcn.6580cc10
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
cmp eax, ecx
je 0x6585a9b2
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
movzx ebp, byte [eax + 0xf]
and ebp, 0x1f
xchg ebp, eax
cmp al, dl
xchg ebp, eax
jne 0x6585a9a3
mov byte [esp + 0x17], bl
mov byte [esp + 0x16], dl
mov dword [esp], ecx
call fcn.65859090
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
call fcn.65859090
mov eax, dword [esp + 0x44]
cmp dword [esp + 8], eax
jne 0x6585a49b
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.65802fc0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6585a4aa
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call fcn.65859120
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
call fcn.65859120
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x6585a4e8
test eax, eax
je 0x6585a580
test ecx, ecx
je 0x6585a4ec
test eax, eax
jne 0x6585a4fb
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
mov dword [esp + 0x64], eax
mov eax, dword [ecx]
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.658592b0
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.65859a80
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov ecx, dword [esp + 4]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0xa8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.658592b0
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.65859a80
mov eax, dword [esp + 0x28]
cmp dword [esp + 8], eax
jne 0x6585a994
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.65802fc0
movzx eax, byte [esp + 0xc]
test al, al
je 0x6585a994
movzx ebx, byte [esp + 0x16]
lea ebp, [ebx - 1]
xchg ebp, eax
cmp al, 0xf
xchg ebp, eax
jbe 0x6585a985
cmp bl, 0x15
ja 0x6585a82b
cmp bl, 0x12
jbe 0x6585a776
cmp bl, 0x13
jne 0x6585a65b
mov ebx, dword [esp + 0xa4]
movzx ebp, word [ebx + 0x22]
mov esi, dword [esp + 0xa8]
cmp word [esi + 0x22], bp
jne 0x6585a64c
movzx ebp, word [ebx + 0x20]
movzx edi, word [esi + 0x20]
cmp di, bp
jne 0x6585a64c
nop
mov eax, edi
movzx edi, byte [ebx + 0xc]
xchg edi, eax
test al, 1
xchg edi, eax
je 0x6585a5ec
mov ecx, 0x34
jmp 0x6585a5f1
mov ecx, 0x24
movzx ebp, bp
lea edi, [ecx + ebx]
cmp ebp, 0x100000
ja 0x6585b030
nop
mov ecx, ebx
movzx ebx, byte [esi + 0xc]
test bl, 1
je 0x6585a616
mov edx, 0x34
jmp 0x6585a61b
mov edx, 0x24
mov dword [esp + 0x5c], edi
mov dword [esp + 0x24], ebp
movzx ebx, ax
mov dword [esp + 0x20], ebx
mov eax, esi
add esi, edx
mov dword [esp + 0x58], esi
mov edx, dword [esp + 0xac]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
jmp 0x6585ae5e
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
cmp bl, 0x14
jne 0x6585a700
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x20]
mov dword [esp], ecx
call fcn.65859a80
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0xa8]
mov ebx, dword [edx + 0x20]
mov dword [esp], ebx
call fcn.65859a80
mov eax, dword [esp + 0x44]
cmp dword [esp + 8], eax
jne 0x6585a6f1
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.65802fc0
movzx eax, byte [esp + 0xc]
test al, al
je 0x6585a6f1
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 0x28]
mov ebp, dword [esp + 0xa8]
cmp dword [ebp + 0x28], ebx
jne 0x6585a6e2
mov dword [esp + 0x44], ebx
xor eax, eax
jmp 0x6585ac3b
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0xa8]
mov ebx, dword [edx + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0xac]
mov dword [esp + 8], ecx
call fcn.6585a360
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6585a738
xor eax, eax
jmp 0x6585a768
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0xa8]
mov ecx, dword [ecx + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
call fcn.6585a360
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xb0], al
add esp, 0xa0
ret
cmp bl, 0x11
je 0x6585a7ce
cmp bl, 0x12
jne 0x6585a9d0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0xa8]
cmp dword [edx + 0x24], ecx
je 0x6585a79e
xor eax, eax
jmp 0x6585a7c0
mov eax, dword [eax + 0x20]
mov ecx, dword [edx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
call fcn.6585a360
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xb0], al
add esp, 0xa0
ret
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0xa8]
mov ebx, dword [edx + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0xac]
mov dword [esp + 8], ecx
call fcn.6585a360
movzx eax, byte [esp + 0xc]
test al, al
je 0x6585a81b
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0xa8]
cmp dword [ecx + 0x28], eax
sete al
jmp 0x6585a81d
xor eax, eax
mov byte [esp + 0xb0], al
add esp, 0xa0
ret
cmp bl, 0x17
ja 0x6585a8b5
cmp bl, 0x16
jne 0x6585a877
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0xa8]
mov ecx, dword [ecx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
call fcn.6585a360
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xb0], al
add esp, 0xa0
ret
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0xa8]
mov ecx, dword [ecx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
call fcn.6585a360
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xb0], al
add esp, 0xa0
ret
cmp bl, 0x18
je 0x6585a976
cmp bl, 0x19
jne 0x6585a971
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0xa4]
cmp dword [edx + 0x28], ecx
jne 0x6585a962
mov eax, dword [edx + 0x20]
mov dword [esp], eax
call fcn.65859a80
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0xa8]
mov ebx, dword [edx + 0x20]
mov dword [esp], ebx
call fcn.65859a80
mov eax, dword [esp + 0x44]
cmp dword [esp + 8], eax
jne 0x6585a953
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.65802fc0
movzx eax, byte [esp + 0xc]
test al, al
je 0x6585a953
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 0x28]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0xa8]
xor eax, eax
jmp 0x6585aa3c
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
cmp bl, 0x1a
jne 0x6585a9d0
mov byte [esp + 0xb0], 1
add esp, 0xa0
ret
mov byte [esp + 0xb0], 1
add esp, 0xa0
ret
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
mov byte [esp + 0xb0], 1
add esp, 0xa0
ret
mov byte [esp + 0xb0], 1
add esp, 0xa0
ret
call fcn.65837610
lea eax, [0x658e84ac]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.65837ef0
mov dword [esp + 4], 0
movzx eax, byte [esp + 0x17]
and eax, 0x1f
mov dword [esp], eax
call fcn.65837b90
call fcn.65837830
call fcn.65837680
lea eax, [0x658e8009]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.65835ef0
mov esi, dword [esp + 0x2c]
lea eax, [esi + 1]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
cmp eax, ebx
jge 0x6585ac07
mov esi, dword [edx + 0x24]
mov ecx, dword [edx + 0x28]
cmp eax, ecx
jae 0x6585ac1d
lea edi, [eax + eax*2]
mov edx, dword [ebp + 0x24]
mov ebp, dword [ebp + 0x28]
cmp eax, ebp
jae 0x6585ac16
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], edi
mov eax, dword [esi + edi*4]
mov dword [esp], eax
call fcn.65859a80
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x90]
mov ebp, dword [ebx + edx*4]
mov dword [esp], ebp
call fcn.65859a80
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x6585abf8
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.65802fc0
movzx eax, byte [esp + 0xc]
test al, al
je 0x6585abf8
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + eax*4 + 4]
mov ebx, dword [esp + 0x90]
mov ebp, dword [ebx + eax*4 + 4]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
call fcn.6585a360
movzx eax, byte [esp + 0xc]
test al, al
je 0x6585abe9
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + eax*4]
mov dword [esp], edx
call fcn.65859b50
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x90]
mov ebp, dword [ebx + edx*4]
mov dword [esp], ebp
call fcn.65859b50
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x6585abda
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.65802fc0
movzx eax, byte [esp + 0xc]
test al, al
je 0x6585abda
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + edx*4 + 8]
mov esi, dword [esp + 0x90]
lea edi, [esi + edx*4 + 8]
cmp dword [edi], ebp
jne 0x6585abcb
mov ebx, dword [ebx + edx*4]
mov edx, dword [esi + edx*4]
movzx ebx, byte [ebx]
test bl, 8
setne bl
movzx edx, byte [edx]
test dl, 8
setne dl
cmp dl, bl
je 0x6585aa23
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
mov byte [esp + 0xb0], 1
add esp, 0xa0
ret
mov ecx, ebp
call fcn.6585fb90
call fcn.6585fb90
mov esi, dword [esp + 0x30]
lea eax, [esi + 1]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
cmp eax, ebx
jge 0x6585ae15
mov esi, dword [edx + 0x24]
mov ecx, dword [edx + 0x28]
cmp eax, ecx
jae 0x6585ae2b
lea edi, [esi + eax*8]
mov edx, dword [ebp + 0x24]
mov ebp, dword [ebp + 0x28]
cmp eax, ebp
jae 0x6585ae24
mov dword [esp + 0x88], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x84], esi
lea ecx, [esi + eax*8]
mov ecx, dword [ecx]
mov dword [esp], edi
mov dword [esp + 4], ecx
call fcn.658592b0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x88]
lea edx, [ecx + eax*8]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x80], ebx
lea ebp, [ecx + eax*8]
mov ebp, dword [ebp]
mov dword [esp], edx
mov dword [esp + 4], ebp
call fcn.658592b0
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
call fcn.65859a80
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call fcn.65859a80
mov eax, dword [esp + 0x40]
cmp dword [esp + 8], eax
jne 0x6585ae06
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.65802fc0
movzx eax, byte [esp + 0xc]
test al, al
je 0x6585ae06
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.65859c70
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call fcn.65859c70
mov eax, dword [esp + 0x40]
cmp dword [esp + 8], eax
jne 0x6585adf7
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.65802fc0
movzx eax, byte [esp + 0xc]
test al, al
je 0x6585adf7
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x84]
lea ecx, [ecx + eax*8 + 4]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.65859570
mov eax, dword [esp + 8]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x88]
lea edx, [edx + ecx*8 + 4]
mov edx, dword [edx]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.65859570
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
call fcn.6585a360
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6585ac22
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
mov byte [esp + 0xb0], 1
add esp, 0xa0
ret
mov ecx, ebp
call fcn.6585fb90
call fcn.6585fb90
mov eax, dword [esp + 0x38]
inc eax
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0x38]
cmp esi, ebp
jge 0x6585aea6
jae 0x6585b027
mov edi, dword [edi + esi*4]
cmp esi, ebx
jae 0x6585b01e
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + esi*4]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.6585a360
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6585ae30
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
nop
movzx ebx, byte [ecx + 0xc]
test bl, 1
je 0x6585aeb7
mov ebx, 0x34
jmp 0x6585aebc
mov ebx, 0x24
movzx ebp, word [ecx + 0x22]
and ebp, 0x7fff
movzx esi, word [ecx + 0x20]
add ebp, esi
movzx ebp, bp
add ebx, ecx
cmp ebp, 0x100000
ja 0x6585b012
movzx esi, si
cmp esi, ebp
ja 0x6585b009
nop
sub ebp, esi
lea edi, [esi - 0x100000]
xchg edi, ebx
neg ebx
xchg edi, ebx
xchg edi, ebx
neg ebx
xchg edi, ebx
shl esi, 2
sar edi, 0x1f
and esi, edi
add ebx, esi
movzx esi, byte [eax + 0xc]
xchg esi, eax
test al, 1
xchg esi, eax
je 0x6585af19
mov ecx, 0x34
jmp 0x6585af1e
mov ecx, 0x24
mov dword [esp + 0x54], ebx
movzx esi, word [eax + 0x22]
and esi, 0x7fff
movzx edi, word [eax + 0x20]
add esi, edi
movzx esi, si
lea ebx, [ecx + eax]
cmp esi, 0x100000
ja 0x6585affd
movzx eax, di
cmp eax, esi
ja 0x6585aff6
mov dword [esp + 0x1c], ebp
sub esi, eax
mov dword [esp + 0x18], esi
lea edi, [eax - 0x100000]
xchg edi, ebx
neg ebx
xchg edi, ebx
xchg edi, ebx
neg ebx
xchg edi, ebx
shl eax, 2
sar edi, 0x1f
and eax, edi
add ebx, eax
mov dword [esp + 0x50], ebx
mov edi, dword [esp + 0x54]
xor eax, eax
jmp 0x6585af9d
mov eax, dword [esp + 0x34]
inc eax
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0xac]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
cmp eax, ebp
jge 0x6585afd9
jae 0x6585afef
mov edi, dword [edi + eax*4]
cmp eax, esi
jae 0x6585afe8
mov dword [esp + 0x34], eax
mov ecx, dword [ebx + eax*4]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.6585a360
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6585af81
mov byte [esp + 0xb0], 0
add esp, 0xa0
ret
mov byte [esp + 0xb0], 1
add esp, 0xa0
ret
mov ecx, esi
call fcn.6585fb90
mov ecx, ebp
call fcn.6585fb90
mov ecx, esi
call fcn.6585fbf0
mov ecx, esi
mov edx, 0x100000
call fcn.6585fbb0
mov eax, esi
mov ecx, ebp
call fcn.6585fbf0
mov ecx, ebp
mov edx, 0x100000
call fcn.6585fbb0
mov eax, esi
mov ecx, ebx
call fcn.6585fb90
mov eax, esi
mov ecx, ebp
call fcn.6585fb90
mov ecx, ebp
mov edx, 0x100000
call fcn.6585fbb0
nop
call fcn.6585e6e0
jmp fcn.6585a360