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

Disassembly:
mov ecx, dword [0x7f7460]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c8]
cmp eax, dword [ecx + 8]
jbe 0x5bef0a
sub esp, 0x348
mov eax, dword [esp + 0x34c]
mov ecx, dword [eax + 0x138]
test ecx, ecx
je 0x5be497
mov edx, dword [eax + 0x13c]
mov dword [esp + 0x268], ecx
mov dword [esp + 0x26c], edx
mov ecx, dword [esp + 0x268]
test ecx, ecx
je 0x5be48f
movzx edx, byte [ecx + 0xf]
nop
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x5be486
or edx, 0x80
mov ebx, dword [esp + 0x26c]
jmp 0x5be49d
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x5be49d
xor edx, edx
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x258], ebx
mov dword [esp + 0x254], ecx
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x18
call fcn.00497d30
mov eax, dword [esp + 0x18]
and eax, 0x1f
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x14]
cmp eax, 9
ja 0x5be4fc
cmp eax, 7
jne 0x5be4e4
mov eax, dword [ecx]
jmp 0x5be519
cmp eax, 8
jne 0x5be4ee
movzx eax, byte [ecx]
jmp 0x5be519
cmp eax, 9
jne 0x5beecf
movzx eax, word [ecx]
jmp 0x5be519
cmp eax, 0xa
jne 0x5be505
mov eax, dword [ecx]
jmp 0x5be519
cmp eax, 0xb
jne 0x5be50e
mov eax, dword [ecx]
jmp 0x5be519
cmp eax, 0xc
jne 0x5beecf
mov eax, dword [ecx]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x254]
mov dword [esp], ecx
mov edx, dword [esp + 0x258]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x28]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x17
call fcn.00497d30
mov eax, dword [esp + 0x18]
and eax, 0x1f
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x14]
cmp eax, 9
ja 0x5be582
cmp eax, 7
jne 0x5be566
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5be5a6
cmp eax, 8
jne 0x5be572
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x5be5a6
cmp eax, 9
jne 0x5bee95
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x5be5a6
cmp eax, 0xa
jne 0x5be58d
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5be5a6
cmp eax, 0xb
jne 0x5be599
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x5be5a6
cmp eax, 0xc
jne 0x5bee95
mov eax, dword [ecx]
xor ecx, ecx
test ecx, ecx
sete dl
seta bl
test eax, eax
xchg ebp, ebx
seta bl
xchg ebp, ebx
and edx, ebp
or edx, ebx
test dl, dl
je 0x5be7ff
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x38]
and edx, 0xf0000000
mov ebx, dword [esp + 0x34c]
movzx ebp, byte [ebx + 0x294]
shr edx, 0x1c
mov dword [esp + 0x74], edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5be6ef
mov eax, dword [esp + 0x254]
mov dword [esp], eax
mov eax, dword [esp + 0x258]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x16
call fcn.00497d30
mov eax, dword [esp + 0x18]
and eax, 0x1f
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x14]
cmp eax, 9
ja 0x5be64f
cmp eax, 7
jne 0x5be637
mov ecx, dword [ecx]
jmp 0x5be66c
cmp eax, 8
jne 0x5be641
movzx ecx, byte [ecx]
jmp 0x5be66c
cmp eax, 9
jne 0x5bee5b
movzx ecx, word [ecx]
jmp 0x5be66c
cmp eax, 0xa
jne 0x5be658
mov ecx, dword [ecx]
jmp 0x5be66c
cmp eax, 0xb
jne 0x5be661
mov ecx, dword [ecx]
jmp 0x5be66c
cmp eax, 0xc
jne 0x5bee5b
mov ecx, dword [ecx]
mov dword [esp + 0x30], ecx
lea edi, [esp + 0x84]
xor eax, eax
call fcn.00467518
mov ecx, dword [esp + 0x34c]
mov edx, dword [ecx + 0x78]
lea ebx, [0x615320]
cmp edx, ebx
jne 0x5bee45
mov esi, dword [ecx + 0x7c]
lea edi, [esp + 0x84]
call fcn.00467830
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x34c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005b9930
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x34c]
mov ebp, 1
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x64], ebp
mov ebp, 1
jmp 0x5beb73
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x254]
mov dword [esp], eax
mov eax, dword [esp + 0x258]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x16
call fcn.00497d30
mov eax, dword [esp + 0x18]
and eax, 0x1f
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x14]
cmp eax, 9
ja 0x5be752
cmp eax, 7
jne 0x5be73a
mov ecx, dword [ecx]
jmp 0x5be76f
cmp eax, 8
jne 0x5be744
movzx ecx, byte [ecx]
jmp 0x5be76f
cmp eax, 9
jne 0x5beb21
movzx ecx, word [ecx]
jmp 0x5be76f
cmp eax, 0xa
jne 0x5be75b
mov ecx, dword [ecx]
jmp 0x5be76f
cmp eax, 0xb
jne 0x5be764
mov ecx, dword [ecx]
jmp 0x5be76f
cmp eax, 0xc
jne 0x5beb21
mov ecx, dword [ecx]
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x164]
xor eax, eax
call fcn.00467514
mov ecx, dword [esp + 0x34c]
mov edx, dword [ecx + 0x78]
lea ebx, [0x614fa0]
cmp edx, ebx
jne 0x5beb0b
mov esi, dword [ecx + 0x7c]
lea edi, [esp + 0x164]
call fcn.00467808
mov eax, dword [esp + 0x17c]
mov ecx, dword [esp + 0x34c]
mov dword [esp], ecx
mov edx, dword [esp + 0x2c]
sub edx, eax
mov dword [esp + 4], edx
call fcn.005b9930
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x34c]
mov ebp, dword [esp + 0x74]
xor esi, esi
mov edi, 1
xor esi, esi
mov dword [esp + 0x68], esi
xor esi, esi
mov dword [esp + 0x264], esi
xor esi, esi
mov dword [esp + 0x64], esi
xor esi, esi
jmp 0x5be842
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x350], edx
mov dword [esp + 0x354], ecx
mov dword [esp + 0x358], eax
add esp, 0x348
ret
mov ecx, dword [esp + 0x25c]
mov dword [ebx + edx + 8], ecx
mov esi, dword [esp + 0x50]
adc esi, 0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x34c]
mov dword [esp + 0x50], esi
cmp esi, ecx
sete cl
xchg esi, ebx
setb bl
xchg esi, ebx
cmp edi, edx
setbe dl
and edx, ecx
or esi, edx
xchg esi, eax
test al, al
xchg esi, eax
je 0x5bea6c
mov byte [esp + 0x25], 0
mov edx, dword [ebx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5be881
mov edx, dword [0x7c3d28]
xor esi, esi
jmp 0x5be8b4
mov ecx, dword [ebx + 0x28c]
cmp eax, ecx
ja 0x5beb06
mov edx, dword [ebx + 0x290]
sub ecx, eax
sub edx, eax
neg edx
sar edx, 0x1f
and edx, eax
cmp ecx, 3
jbe 0x5beafc
mov esi, dword [ebx + 0x288]
mov esi, dword [edx + esi]
xor edx, edx
test edx, edx
jne 0x5bea41
mov dword [esp + 0x4c], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x44], eax
test ebp, ebp
seta dl
and edx, 1
test dl, dl
jne 0x5be8e5
xor edx, edx
xor ecx, ecx
xor ecx, ecx
mov dword [esp + 0x5c], ecx
xor ecx, ecx
jmp 0x5be96a
mov dword [esp], ebx
lea ecx, [0x5e2d60]
mov dword [esp + 4], ecx
lea edx, [esp + 0x25]
mov dword [esp + 8], edx
lea edx, [eax + 4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.005ba620
movzx eax, byte [esp + 0x25]
cmp al, 1
je 0x5be919
cmp al, 2
jne 0x5be949
mov byte [esp + 0x27], al
lea edi, [esp + 0x270]
xor eax, eax
call fcn.00467547
mov ecx, dword [esp + 0x34c]
mov edx, dword [ecx + 0xb8]
mov ebx, dword [ecx + 0xbc]
mov ebp, dword [esp + 0x58]
xor esi, esi
jmp 0x5bea91
xor ecx, ecx
xor edx, edx
mov ebx, dword [esp + 0x34c]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x5c], ecx
mov ecx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x25c], edx
mov ebx, dword [esp + 0x64]
inc ebx
mov edx, dword [esp + 0x68]
cmp edx, ebx
jae 0x5be9d5
mov byte [esp + 0x23], cl
mov eax, dword [esp + 0x264]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x600c80]
mov dword [esp + 0x10], eax
call fcn.0044d830
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x264], eax
mov edx, ecx
mov eax, dword [esp + 0x44]
movzx ecx, byte [esp + 0x23]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edx
lea edx, [ebx - 1]
shl edx, 4
mov ebx, dword [esp + 0x264]
mov dword [ebx + edx], esi
mov byte [ebx + edx + 4], cl
mov esi, dword [esp + 0x5c]
mov dword [ebx + edx + 0xc], esi
mov esi, dword [0x7f7690]
lea eax, [eax + ebp + 4]
mov ecx, edi
add edi, 1
test esi, esi
jne 0x5bea14
add ecx, 1
jmp 0x5be821
mov dword [esp + 0x70], eax
mov esi, edi
call fcn.004672b0
mov ebp, dword [esp + 0x25c]
mov dword [edi], ebp
mov eax, dword [ebx + edx + 8]
mov dword [edi + 4], eax
add ecx, 1
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
mov edi, esi
jmp 0x5be821
mov eax, dword [esp + 0x264]
mov dword [esp + 0x350], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x354], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x358], eax
add esp, 0x348
ret
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x264]
jmp 0x5be805
add edx, 0x24
mov ecx, dword [esp + 0x6c]
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x34c]
cmp esi, ebx
jge 0x5beac5
mov dword [esp + 0x6c], esi
lea edi, [esp + 0x300]
mov esi, edx
call fcn.00467a06
cmp dword [esp + 0x304], ebp
jne 0x5bea80
lea edi, [esp + 0x270]
lea esi, [esp + 0x300]
call fcn.00467a06
jmp 0x5bead1
lea edi, [esp + 0x270]
call fcn.00467547
lea edi, [esp + 0x2b8]
lea esi, [esp + 0x270]
call fcn.00467a06
mov edx, dword [esp + 0x2c8]
mov ecx, dword [esp + 0x2cc]
movzx eax, byte [esp + 0x27]
jmp 0x5be94d
mov eax, 3
call fcn.00467310
call fcn.00467380
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x5efca0]
mov dword [esp + 8], eax
call fcn.00409960
lea eax, [0x5fd2c0]
mov dword [esp], eax
call fcn.0040c490
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x620706]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 8], ecx
lea ecx, [0x5f5020]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00437cb0
mov dword [edi + ebx + 8], ecx
inc ebp
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x34c]
mov esi, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
cmp ebp, ecx
ja 0x5beda4
mov dword [esp + 0x54], ebp
mov byte [esp + 0x26], 0
mov ecx, dword [ebx + 0x2ac]
add ecx, 0xfffffffc
cmp eax, ecx
jbe 0x5beba7
mov ecx, dword [0x7c3d28]
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x7c]
jmp 0x5bebe7
mov ecx, dword [ebx + 0x28c]
cmp eax, ecx
ja 0x5bee40
mov ebp, dword [ebx + 0x290]
sub ecx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
cmp ecx, 3
jbe 0x5bee36
mov ecx, dword [ebx + 0x288]
mov ebp, dword [ebp + ecx]
xor ecx, ecx
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x54]
test ecx, ecx
jne 0x5bed84
mov dword [esp + 0x48], eax
test edx, edx
seta cl
and ecx, 1
test cl, cl
jne 0x5bec14
xor ecx, ecx
xor ecx, ecx
mov byte [esp + 0x24], cl
xor ecx, ecx
mov dword [esp + 0x60], ecx
xor ecx, ecx
jmp 0x5becb5
mov dword [esp + 0x68], esi
mov dword [esp + 0x264], edi
mov dword [esp], ebx
lea ecx, [0x5e2d60]
mov dword [esp + 4], ecx
lea ebp, [esp + 0x26]
mov dword [esp + 8], ebp
lea ebp, [eax + 4]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.005ba620
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5bed59
movzx edx, byte [esp + 0x26]
cmp dl, 1
je 0x5bec5f
cmp dl, 2
jne 0x5bec8b
lea edi, [esp + 0x294]
xor eax, eax
call fcn.00467547
mov ecx, dword [esp + 0x34c]
mov ebx, dword [ecx + 0xb8]
mov ebp, dword [ecx + 0xbc]
mov esi, dword [esp + 0x40]
xor edi, edi
jmp 0x5bedc6
xor eax, eax
xor ecx, ecx
mov ebx, dword [esp + 0x34c]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x264]
mov byte [esp + 0x24], dl
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x64]
inc ebx
cmp esi, ebx
jae 0x5bed06
mov dword [esp + 0x260], ecx
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x600c80]
mov dword [esp + 0x10], eax
call fcn.0044d830
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x260]
mov edx, dword [esp + 0x74]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x6c], esi
dec ebx
shl ebx, 4
mov esi, dword [esp + 0x40]
mov dword [edi + ebx], esi
movzx esi, byte [esp + 0x24]
xchg esi, eax
mov byte [edi + ebx + 4], al
xchg esi, eax
mov esi, dword [esp + 0x60]
mov dword [edi + ebx + 0xc], esi
mov esi, dword [0x7f7690]
lea eax, [eax + edx + 4]
test esi, esi
je 0x5beb5b
mov esi, edi
call fcn.004672b0
mov dword [edi], ecx
mov edx, dword [esi + ebx + 8]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x74]
mov edi, esi
jmp 0x5beb5b
mov eax, dword [esp + 0x264]
mov dword [esp + 0x350], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x354], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x358], eax
add esp, 0x348
ret
mov dword [esp + 0x350], edi
mov eax, dword [esp + 0x64]
mov dword [esp + 0x354], eax
mov dword [esp + 0x358], esi
add esp, 0x348
ret
mov eax, esi
mov ecx, dword [esp + 0x64]
mov edx, edi
jmp 0x5be805
add ebx, 0x24
mov esi, dword [esp + 0x6c]
lea edi, [esi + 1]
mov ecx, dword [esp + 0x34c]
mov esi, dword [esp + 0x40]
cmp edi, ebp
jge 0x5bee02
mov dword [esp + 0x6c], edi
lea edi, [esp + 0x324]
mov esi, ebx
call fcn.00467a06
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x328], ecx
jne 0x5bedb1
lea edi, [esp + 0x294]
lea esi, [esp + 0x324]
call fcn.00467a06
mov esi, dword [esp + 0x40]
jmp 0x5bee0e
lea edi, [esp + 0x294]
call fcn.00467547
lea edi, [esp + 0x2dc]
lea esi, [esp + 0x294]
call fcn.00467a06
mov ecx, dword [esp + 0x2ec]
mov ebx, dword [esp + 0x2f0]
mov eax, ebx
jmp 0x5bec8f
mov eax, 3
call fcn.00467310
call fcn.00467380
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x5efca0]
mov dword [esp + 8], eax
call fcn.00409960
lea eax, [0x5fd2c0]
mov dword [esp], eax
call fcn.0040c490
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x620706]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 8], ecx
lea ecx, [0x5f5020]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00437cb0
lea eax, [0x5fd2c0]
mov dword [esp], eax
call fcn.0040c490
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x620706]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 8], ecx
lea ecx, [0x5f5020]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00437cb0
lea eax, [0x5fd2c0]
mov dword [esp], eax
call fcn.0040c490
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x620706]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 8], ecx
lea ecx, [0x5f5020]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00437cb0
nop
call fcn.00465ea0
jmp fcn.005be420